Hi!
Yes, I see that is a problem. Sorry.
If I create an attribute “foo” with label “FOO_LABEL” I get this (using Pogo 9.10.4):
@attribute(
label='foo',
dtype='DevDouble',
label="FOO_LABEL",
)
def foo(self):
# PROTECTED REGION ID(PyLabel.foo_read) ENABLED START #
"""Return the foo attribute."""
return self._foo
# PROTECTED REGION END # // PyLabel.foo_read
It looks like the issue has been reported on the repo: Generated Python code error: keyword argument repeated: label (#186) · Issues · tango-controls / pogo · GitLab.
Hopefully, it can be fixed soon.
Regards,
/Anton