diff --git a/openpype/pipeline/lib/attribute_definitions.py b/openpype/pipeline/lib/attribute_definitions.py index 7a310c824e..efcb8f6d2b 100644 --- a/openpype/pipeline/lib/attribute_definitions.py +++ b/openpype/pipeline/lib/attribute_definitions.py @@ -1,5 +1,6 @@ import re import collections +import uuid from abc import ABCMeta, abstractmethod import six @@ -43,9 +44,14 @@ class AbtractAttrDef: self.key = key self.label = label self.tooltip = tooltip + self._id = uuid.uuid4() self.__init__class__ = AbtractAttrDef + @property + def id(self): + return self._id + def __eq__(self, other): if not isinstance(other, self.__class__): return False