[graph] default uidIndex value for Attribute.uid method

This index only makes sense on ListAttributes and GroupAttributes
This commit is contained in:
Yann Lanthony 2017-10-31 19:50:29 +01:00
parent 16e8037fd7
commit fbebecd463

View file

@ -172,6 +172,8 @@ class Attribute(BaseObject):
@property
def isInput(self):
return not self._isOutput
def uid(self, uidIndex=-1):
"""
"""
# 'uidIndex' should be in 'self.desc.uid' but in the case of linked attribute