mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
don't set version if is not available
This commit is contained in:
parent
5de5a8bd18
commit
ee53add80f
1 changed files with 0 additions and 9 deletions
|
|
@ -399,15 +399,6 @@ class CreatedInstance:
|
|||
self._data["active"] = data.get("active", True)
|
||||
self._data["creator_identifier"] = creator.identifier
|
||||
|
||||
# QUESTION handle version of instance here or in creator?
|
||||
version = None
|
||||
if not new:
|
||||
version = data.get("version")
|
||||
|
||||
if version is None:
|
||||
version = 1
|
||||
self._data["version"] = version
|
||||
|
||||
# Pop from source data all keys that are defined in `_data` before
|
||||
# this moment and through their values away
|
||||
# - they should be the same and if are not then should not change
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue