Closed teddyrendahl closed 6 years ago
Describe the bug
There is a function named group() on the factory but self.group is overwritten in __init__. Seems to work fine, but slightly confusing that this is a method overwritten as an attribute
group()
self.group
__init__
https://github.com/slaclab/pydm/blob/837f8d546c06cc390e5d05fca418eb9ea552db68/pydm/widgets/qtplugin_base.py#L128
Expected behavior
def group(self): return self._group
Solved by #423
Describe the bug
There is a function named
group()
on the factory butself.group
is overwritten in__init__
. Seems to work fine, but slightly confusing that this is a method overwritten as an attributehttps://github.com/slaclab/pydm/blob/837f8d546c06cc390e5d05fca418eb9ea552db68/pydm/widgets/qtplugin_base.py#L128
Expected behavior