fix(device base): added missing property to BECDeviceBase
This commit is contained in:
parent
2e8ddbb1ad
commit
cc0e26a91a
@ -125,6 +125,16 @@ class BECDeviceBase:
|
|||||||
return root
|
return root
|
||||||
root = root.parent
|
root = root.parent
|
||||||
|
|
||||||
|
@property
|
||||||
|
def dotted_name(self):
|
||||||
|
"""Return the dotted name"""
|
||||||
|
names = []
|
||||||
|
obj = self
|
||||||
|
while obj.parent is not None:
|
||||||
|
names.append(obj.name)
|
||||||
|
obj = obj.parent
|
||||||
|
return ".".join(names[::-1])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hints(self) -> dict:
|
def hints(self) -> dict:
|
||||||
"""hints property"""
|
"""hints property"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user