mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
added id attribute to CreateInstance
This commit is contained in:
parent
3c448429b0
commit
c07dc2da86
1 changed files with 4 additions and 0 deletions
|
|
@ -285,6 +285,10 @@ class CreatedInstance:
|
|||
if not self._data.get("uuid"):
|
||||
self._data["uuid"] = str(uuid4())
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
return self._data["uuid"]
|
||||
|
||||
@property
|
||||
def data(self):
|
||||
return self._data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue