gazu 0.10.12__py2.py3-none-any.whl → 0.10.13__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.12"
1
+ __version__ = "0.10.13"
gazu/shot.py CHANGED
@@ -404,7 +404,8 @@ def update_shot_data(shot, data={}, client=default):
404
404
  """
405
405
  shot = normalize_model_parameter(shot)
406
406
  current_shot = get_shot(shot["id"], client=client)
407
- updated_shot = {"id": current_shot["id"], "data": current_shot["data"]}
407
+ current_data = current_shot["data"] if current_shot["data"] is not None else {}
408
+ updated_shot = {"id": current_shot["id"], "data": current_data}
408
409
  updated_shot["data"].update(data)
409
410
  return update_shot(updated_shot, client=client)
410
411
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gazu
3
- Version: 0.10.12
3
+ Version: 0.10.13
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
@@ -32,7 +32,7 @@ Provides-Extra: dev
32
32
  Requires-Dist: wheel ; extra == 'dev'
33
33
  Provides-Extra: lint
34
34
  Requires-Dist: black ==24.4.2 ; (python_version >= "3.8") and extra == 'lint'
35
- Requires-Dist: pre-commit ==3.7.1 ; (python_version >= "3.9") and extra == 'lint'
35
+ Requires-Dist: pre-commit ==3.8.0 ; (python_version >= "3.9") and extra == 'lint'
36
36
  Provides-Extra: test
37
37
  Requires-Dist: pytest ; extra == 'test'
38
38
  Requires-Dist: pytest-cov ; extra == 'test'
@@ -1,5 +1,5 @@
1
1
  gazu/__init__.py,sha256=gVhtpZsvDiPuqvsEbCrgm6fKw8hluUhqspmlgGNIAvQ,3020
2
- gazu/__version__.py,sha256=8HmqcalKYluoRM1nCmpntcjsFDeqXAb5Cl0wcMuiFY0,24
2
+ gazu/__version__.py,sha256=y79JESzBvOjH_pWmT5Lt7k2s_slwZkMdVXCrdwe-NFY,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
@@ -17,13 +17,13 @@ gazu/person.py,sha256=9w85iUDzXne0JFsmpmXLVuUrgvDceCza14HBGrpJx84,9862
17
17
  gazu/playlist.py,sha256=n7LwOF5ZvHDzP_fng-soYUESfb-S2ATmZJHGBh8cRLo,3739
18
18
  gazu/project.py,sha256=fssI_Bf5UqqRd9bfM68oyfkhjxwWvjdiAcYvvUhI5LY,12649
19
19
  gazu/scene.py,sha256=bYsy7zKdQfDTfeqNAlgaqGMs2Hhxdy40NGt6TX_FBdA,5307
20
- gazu/shot.py,sha256=4fmMj4vWb4VMg92tfRDP5lqjSwip3Yv9lPrKerv_oUM,18850
20
+ gazu/shot.py,sha256=wFTvSmofrZOBS3O5IGR6wzpS5OLTTnpXofL5IT_j-fo,18926
21
21
  gazu/sorting.py,sha256=qSIO0pOHkj0Tl4gm9BJrYrcifWGGGmsW68Pl86zB_bg,266
22
22
  gazu/sync.py,sha256=OMsbQDROTdEwlukazUXPGnlC29QcaaHvsmqv3WsSexo,21582
23
23
  gazu/task.py,sha256=7A3A_Zms4WlFl72Jqi2u8dWcoVY3d81leFWAE8wOdQQ,35883
24
24
  gazu/user.py,sha256=GyJf6mrynHvLllw3Hsiv-6wjaYTHO_PBNkJzyJjJA1A,9556
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,,
25
+ gazu-0.10.13.dist-info/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
26
+ gazu-0.10.13.dist-info/METADATA,sha256=UKJevIpMML_auKqcK0wevYoZMi9mPHTkjTNwDZjmRi0,5182
27
+ gazu-0.10.13.dist-info/WHEEL,sha256=XRxW4r1PNiVhMpP4bT9oWtu3HyndxpJ84SkubFgzp_Y,109
28
+ gazu-0.10.13.dist-info/top_level.txt,sha256=nv7fRIVpYYyIlk_66hBmMyvWcSC7UU-r-GE8uC1u1Go,5
29
+ gazu-0.10.13.dist-info/RECORD,,
File without changes