gazu 0.10.11__py2.py3-none-any.whl → 0.10.12__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "0.10.11"
1
+ __version__ = "0.10.12"
gazu/task.py CHANGED
@@ -582,6 +582,40 @@ def remove_task_status(task_status, client=default):
582
582
  )
583
583
 
584
584
 
585
+ def update_task_type(task_type, client=default):
586
+ """
587
+ Update given task type into the API.
588
+
589
+ Args:
590
+ task_type (dict): The task type dict to update.
591
+
592
+ Returns:
593
+ dict: Updated task type.
594
+ """
595
+ return raw.put(
596
+ "data/task-types/%s" % task_type["id"],
597
+ task_type,
598
+ client=client,
599
+ )
600
+
601
+
602
+ def update_task_status(task_status, client=default):
603
+ """
604
+ Update given task status into the API.
605
+
606
+ Args:
607
+ task_status (dict): The task status dict to update.
608
+
609
+ Returns:
610
+ dict: Updated task status.
611
+ """
612
+ return raw.put(
613
+ "data/task-status/%s" % task_status["id"],
614
+ task_status,
615
+ client=client,
616
+ )
617
+
618
+
585
619
  @cache
586
620
  def get_task(task_id, client=default):
587
621
  """
@@ -1166,7 +1200,7 @@ def new_task_status(name, short_name, color, client=default):
1166
1200
 
1167
1201
  def update_task(task, client=default):
1168
1202
  """
1169
- Save given task data into the API. Metadata are fully replaced by the ones
1203
+ Update given task into the API. Metadata are fully replaced by the ones
1170
1204
  set on given task.
1171
1205
 
1172
1206
  Args:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gazu
3
- Version: 0.10.11
3
+ Version: 0.10.12
4
4
  Summary: Gazu is a client for Zou, the API to store the data of your CG production.
5
5
  Home-page: https://gazu.cg-wire.com/
6
6
  Author: CG Wire
@@ -1,5 +1,5 @@
1
1
  gazu/__init__.py,sha256=gVhtpZsvDiPuqvsEbCrgm6fKw8hluUhqspmlgGNIAvQ,3020
2
- gazu/__version__.py,sha256=M7u29cHvlThjTPUSkxLqaH6Hz32KmXoaVMrUQFdaDB8,24
2
+ gazu/__version__.py,sha256=8HmqcalKYluoRM1nCmpntcjsFDeqXAb5Cl0wcMuiFY0,24
3
3
  gazu/asset.py,sha256=GWwam0yqHna_b9_5g5r0-O2zhMb7KlhfbIC17IOXKkY,14488
4
4
  gazu/cache.py,sha256=MnxrnfYN7wHNTTL7qzkEpYCYzWcolT56fqQ0_RegMbE,5879
5
5
  gazu/casting.py,sha256=5xmGMoU3MFgv1br8_5xyTx-Z7wo9r51wRisiblqcr94,3945
@@ -20,10 +20,10 @@ gazu/scene.py,sha256=bYsy7zKdQfDTfeqNAlgaqGMs2Hhxdy40NGt6TX_FBdA,5307
20
20
  gazu/shot.py,sha256=4fmMj4vWb4VMg92tfRDP5lqjSwip3Yv9lPrKerv_oUM,18850
21
21
  gazu/sorting.py,sha256=qSIO0pOHkj0Tl4gm9BJrYrcifWGGGmsW68Pl86zB_bg,266
22
22
  gazu/sync.py,sha256=OMsbQDROTdEwlukazUXPGnlC29QcaaHvsmqv3WsSexo,21582
23
- gazu/task.py,sha256=4aO8Ggk4lagVaNkFIdFE0-HnCcWg6d38BTFuwlqbyRY,35193
23
+ gazu/task.py,sha256=7A3A_Zms4WlFl72Jqi2u8dWcoVY3d81leFWAE8wOdQQ,35883
24
24
  gazu/user.py,sha256=GyJf6mrynHvLllw3Hsiv-6wjaYTHO_PBNkJzyJjJA1A,9556
25
- gazu-0.10.11.dist-info/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
26
- gazu-0.10.11.dist-info/METADATA,sha256=BQV--VEHiV6rO50gZi2ZOA3y_kUHHERy3_Z2aQqvMdc,5182
27
- gazu-0.10.11.dist-info/WHEEL,sha256=pWvVuNuBTVmNV7Lp2jMAgt1NplTICeFdl1SW8U3MWN4,109
28
- gazu-0.10.11.dist-info/top_level.txt,sha256=nv7fRIVpYYyIlk_66hBmMyvWcSC7UU-r-GE8uC1u1Go,5
29
- gazu-0.10.11.dist-info/RECORD,,
25
+ gazu-0.10.12.dist-info/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
26
+ gazu-0.10.12.dist-info/METADATA,sha256=khWS9mumUPINWXh353r625F8C_Z-xgmro-Jrk0KZ2v4,5182
27
+ gazu-0.10.12.dist-info/WHEEL,sha256=XRxW4r1PNiVhMpP4bT9oWtu3HyndxpJ84SkubFgzp_Y,109
28
+ gazu-0.10.12.dist-info/top_level.txt,sha256=nv7fRIVpYYyIlk_66hBmMyvWcSC7UU-r-GE8uC1u1Go,5
29
+ gazu-0.10.12.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.3.0)
2
+ Generator: setuptools (72.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any