gazu 0.10.27__py2.py3-none-any.whl → 0.10.28__py2.py3-none-any.whl
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.
- gazu/__version__.py +1 -1
- gazu/task.py +21 -0
- {gazu-0.10.27.dist-info → gazu-0.10.28.dist-info}/METADATA +1 -1
- {gazu-0.10.27.dist-info → gazu-0.10.28.dist-info}/RECORD +7 -7
- {gazu-0.10.27.dist-info → gazu-0.10.28.dist-info}/LICENSE +0 -0
- {gazu-0.10.27.dist-info → gazu-0.10.28.dist-info}/WHEEL +0 -0
- {gazu-0.10.27.dist-info → gazu-0.10.28.dist-info}/top_level.txt +0 -0
gazu/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.10.
|
|
1
|
+
__version__ = "0.10.28"
|
gazu/task.py
CHANGED
|
@@ -471,6 +471,27 @@ def get_task_type_by_name(
|
|
|
471
471
|
return raw.fetch_first("task-types", params, client=client)
|
|
472
472
|
|
|
473
473
|
|
|
474
|
+
@cache
|
|
475
|
+
def get_task_type_by_short_name(
|
|
476
|
+
task_type_short_name, for_entity=None, department=None, client=default
|
|
477
|
+
):
|
|
478
|
+
"""
|
|
479
|
+
Args:
|
|
480
|
+
task_type_short_name (str): Short name of claimed task type.
|
|
481
|
+
for_entity (str): The entity type for which the task type is created.
|
|
482
|
+
department (str): The department for which the task type is created.
|
|
483
|
+
|
|
484
|
+
Returns:
|
|
485
|
+
dict: Task type object for given name.
|
|
486
|
+
"""
|
|
487
|
+
params = {"short_name": task_type_short_name}
|
|
488
|
+
if for_entity is not None:
|
|
489
|
+
params["for_entity"] = for_entity
|
|
490
|
+
if department is not None:
|
|
491
|
+
params["department_id"] = normalize_model_parameter(department)["id"]
|
|
492
|
+
return raw.fetch_first("task-types", params, client=client)
|
|
493
|
+
|
|
494
|
+
|
|
474
495
|
@cache
|
|
475
496
|
def get_task_by_path(project, file_path, entity_type="shot", client=default):
|
|
476
497
|
"""
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
gazu/__init__.py,sha256=KPAVnFOSbzZnd24ItkZEOv7yQ5w0Pv7k1TFmL8saiqY,2594
|
|
2
|
-
gazu/__version__.py,sha256=
|
|
2
|
+
gazu/__version__.py,sha256=tSZZU-8sK-qpbXeRSFzt4sAk3MkGsXB2Vnh3aMuNrWo,24
|
|
3
3
|
gazu/asset.py,sha256=ZAc8F-7GPQTU_nVcUpH_xSVf58k6TXudlP6XnFc_LJk,14686
|
|
4
4
|
gazu/cache.py,sha256=MnxrnfYN7wHNTTL7qzkEpYCYzWcolT56fqQ0_RegMbE,5879
|
|
5
5
|
gazu/casting.py,sha256=0LTdsHaCTHSKEflBWFeuraSaYNYetGkMHAIdg6Lv81U,5059
|
|
@@ -20,10 +20,10 @@ gazu/scene.py,sha256=Q4AVmiMfGhSZfaXwOceyR-taTlpx1WCELe0UBSiHm8o,5357
|
|
|
20
20
|
gazu/shot.py,sha256=mHg-8B7xk3PXMqbPo0oCx2X7br2sGCBmuM7hEhpXRas,18942
|
|
21
21
|
gazu/sorting.py,sha256=qSIO0pOHkj0Tl4gm9BJrYrcifWGGGmsW68Pl86zB_bg,266
|
|
22
22
|
gazu/sync.py,sha256=3clThVFC9pSIQiCyVkNRPnlbYQDA2kfR-lxaWxHbeUk,21611
|
|
23
|
-
gazu/task.py,sha256=
|
|
23
|
+
gazu/task.py,sha256=CsWS5II9b4Pbe4fcLt3HmUTvUD1hvZw7Uulqcp4W2_Y,38645
|
|
24
24
|
gazu/user.py,sha256=GyJf6mrynHvLllw3Hsiv-6wjaYTHO_PBNkJzyJjJA1A,9556
|
|
25
|
-
gazu-0.10.
|
|
26
|
-
gazu-0.10.
|
|
27
|
-
gazu-0.10.
|
|
28
|
-
gazu-0.10.
|
|
29
|
-
gazu-0.10.
|
|
25
|
+
gazu-0.10.28.dist-info/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
|
|
26
|
+
gazu-0.10.28.dist-info/METADATA,sha256=vAVOrU7LQ3XdFre-8rZUd-RzN2xB7V5UWoLrqsVKPMM,5471
|
|
27
|
+
gazu-0.10.28.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
|
|
28
|
+
gazu-0.10.28.dist-info/top_level.txt,sha256=nv7fRIVpYYyIlk_66hBmMyvWcSC7UU-r-GE8uC1u1Go,5
|
|
29
|
+
gazu-0.10.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|