Ayon-Python-Api 1.0.0rc1__tar.gz → 1.0.0rc2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/PKG-INFO +1 -1
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/entity_hub.py +19 -4
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/version.py +1 -1
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/PKG-INFO +1 -1
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/pyproject.toml +1 -1
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/LICENSE +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/README.md +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/__init__.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/_api.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/constants.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/events.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/exceptions.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/graphql.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/graphql_queries.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/operations.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/server_api.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_api/utils.py +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/SOURCES.txt +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/dependency_links.txt +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/requires.txt +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/top_level.txt +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/setup.cfg +0 -0
- {ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/setup.py +0 -0
|
@@ -7,9 +7,21 @@ import six
|
|
|
7
7
|
from ._api import get_server_api_connection
|
|
8
8
|
from .utils import create_entity_id, convert_entity_id, slugify_string
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
|
|
11
|
+
class _CustomNone(object):
|
|
12
|
+
def __init__(self, name=None):
|
|
13
|
+
self._name = name or "CustomNone"
|
|
14
|
+
|
|
15
|
+
def __repr__(self):
|
|
16
|
+
return "<{}>".format(self._name)
|
|
17
|
+
|
|
18
|
+
def __bool__(self):
|
|
19
|
+
return False
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
UNKNOWN_VALUE = _CustomNone("UNKNOWN_VALUE")
|
|
23
|
+
PROJECT_PARENT_ID = _CustomNone("PROJECT_PARENT_ID")
|
|
24
|
+
_NOT_SET = _CustomNone("_NOT_SET")
|
|
13
25
|
|
|
14
26
|
|
|
15
27
|
class EntityHub(object):
|
|
@@ -1284,7 +1296,10 @@ class BaseEntity(object):
|
|
|
1284
1296
|
changes["name"] = self._name
|
|
1285
1297
|
|
|
1286
1298
|
if self._entity_hub.allow_data_changes:
|
|
1287
|
-
if
|
|
1299
|
+
if (
|
|
1300
|
+
self._data is not UNKNOWN_VALUE
|
|
1301
|
+
and self._orig_data != self._data
|
|
1302
|
+
):
|
|
1288
1303
|
changes["data"] = self._data
|
|
1289
1304
|
|
|
1290
1305
|
if self._orig_thumbnail_id != self._thumbnail_id:
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""Package declaring Python API for Ayon server."""
|
|
2
|
-
__version__ = "1.0.0-rc.
|
|
2
|
+
__version__ = "1.0.0-rc.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{ayon-python-api-1.0.0rc1 → ayon-python-api-1.0.0rc2}/ayon_python_api.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|