mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
_id is filled with uuid4 if not set yet
This commit is contained in:
parent
9e04212380
commit
c33c8bbc36
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ class PypeModule:
|
|||
|
||||
@property
|
||||
def id(self):
|
||||
if self._id is None:
|
||||
self._id = uuid4()
|
||||
return self._id
|
||||
|
||||
@abstractmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue