pogo-9.9.1-snapshot: mandatory property in python-HL server
|
|
---|---|
defining a device property with a documentation text (property description) and 'mandatory in database' produces a faulty python code: a comma (,) is missing after the defintion of the property description: my_property = device_property( dtype='float' doc="my property description" mandatory=True ) By inserting a comma by hand the code is correct: my_property = device_property( dtype='float' doc="my property description", mandatory=True ) But of when the code is regenerated with pogo you must fix it by hane again |
|
|
---|---|
Hi, I had an associated bug report, I think its fixed now as I tried just today. Could you check it? |
|
|
---|---|
Hi, I just build pogo-9.9.1-SNAPSHOT from the lastest git main branch. It seems that the problem is still present. I attach the xmi file I use for the tests and the generated python HL server. Best regards. Claudio |
|
|
---|---|
Hi, sorry about that, there was indeed still another issue, I pushed a fix in main. Could you please confirm it's ok, and I'll release a 9.9.2 with the fix. |
|
|
---|---|
Great! works! Thanks a lot. Claudio |