gazu 0.10.30__tar.gz → 0.10.33__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.
Files changed (55) hide show
  1. {gazu-0.10.30 → gazu-0.10.33}/PKG-INFO +4 -3
  2. gazu-0.10.33/gazu/__version__.py +1 -0
  3. {gazu-0.10.30 → gazu-0.10.33}/gazu/shot.py +3 -3
  4. {gazu-0.10.30 → gazu-0.10.33}/gazu/user.py +1 -1
  5. {gazu-0.10.30 → gazu-0.10.33}/gazu.egg-info/PKG-INFO +4 -3
  6. {gazu-0.10.30 → gazu-0.10.33}/gazu.egg-info/requires.txt +1 -1
  7. {gazu-0.10.30 → gazu-0.10.33}/setup.cfg +1 -1
  8. {gazu-0.10.30 → gazu-0.10.33}/tests/test_shot.py +1 -1
  9. {gazu-0.10.30 → gazu-0.10.33}/tests/test_user.py +1 -1
  10. gazu-0.10.30/gazu/__version__.py +0 -1
  11. {gazu-0.10.30 → gazu-0.10.33}/LICENSE +0 -0
  12. {gazu-0.10.30 → gazu-0.10.33}/README.rst +0 -0
  13. {gazu-0.10.30 → gazu-0.10.33}/gazu/__init__.py +0 -0
  14. {gazu-0.10.30 → gazu-0.10.33}/gazu/asset.py +0 -0
  15. {gazu-0.10.30 → gazu-0.10.33}/gazu/cache.py +0 -0
  16. {gazu-0.10.30 → gazu-0.10.33}/gazu/casting.py +0 -0
  17. {gazu-0.10.30 → gazu-0.10.33}/gazu/client.py +0 -0
  18. {gazu-0.10.30 → gazu-0.10.33}/gazu/concept.py +0 -0
  19. {gazu-0.10.30 → gazu-0.10.33}/gazu/context.py +0 -0
  20. {gazu-0.10.30 → gazu-0.10.33}/gazu/edit.py +0 -0
  21. {gazu-0.10.30 → gazu-0.10.33}/gazu/encoder.py +0 -0
  22. {gazu-0.10.30 → gazu-0.10.33}/gazu/entity.py +0 -0
  23. {gazu-0.10.30 → gazu-0.10.33}/gazu/events.py +0 -0
  24. {gazu-0.10.30 → gazu-0.10.33}/gazu/exception.py +0 -0
  25. {gazu-0.10.30 → gazu-0.10.33}/gazu/files.py +0 -0
  26. {gazu-0.10.30 → gazu-0.10.33}/gazu/helpers.py +0 -0
  27. {gazu-0.10.30 → gazu-0.10.33}/gazu/person.py +0 -0
  28. {gazu-0.10.30 → gazu-0.10.33}/gazu/playlist.py +0 -0
  29. {gazu-0.10.30 → gazu-0.10.33}/gazu/project.py +0 -0
  30. {gazu-0.10.30 → gazu-0.10.33}/gazu/scene.py +0 -0
  31. {gazu-0.10.30 → gazu-0.10.33}/gazu/sorting.py +0 -0
  32. {gazu-0.10.30 → gazu-0.10.33}/gazu/sync.py +0 -0
  33. {gazu-0.10.30 → gazu-0.10.33}/gazu/task.py +0 -0
  34. {gazu-0.10.30 → gazu-0.10.33}/gazu.egg-info/SOURCES.txt +0 -0
  35. {gazu-0.10.30 → gazu-0.10.33}/gazu.egg-info/dependency_links.txt +0 -0
  36. {gazu-0.10.30 → gazu-0.10.33}/gazu.egg-info/not-zip-safe +0 -0
  37. {gazu-0.10.30 → gazu-0.10.33}/gazu.egg-info/top_level.txt +0 -0
  38. {gazu-0.10.30 → gazu-0.10.33}/pyproject.toml +0 -0
  39. {gazu-0.10.30 → gazu-0.10.33}/setup.py +0 -0
  40. {gazu-0.10.30 → gazu-0.10.33}/tests/test_asset.py +0 -0
  41. {gazu-0.10.30 → gazu-0.10.33}/tests/test_cache.py +0 -0
  42. {gazu-0.10.30 → gazu-0.10.33}/tests/test_casting.py +0 -0
  43. {gazu-0.10.30 → gazu-0.10.33}/tests/test_client.py +0 -0
  44. {gazu-0.10.30 → gazu-0.10.33}/tests/test_concept.py +0 -0
  45. {gazu-0.10.30 → gazu-0.10.33}/tests/test_context.py +0 -0
  46. {gazu-0.10.30 → gazu-0.10.33}/tests/test_edit.py +0 -0
  47. {gazu-0.10.30 → gazu-0.10.33}/tests/test_entity.py +0 -0
  48. {gazu-0.10.30 → gazu-0.10.33}/tests/test_files.py +0 -0
  49. {gazu-0.10.30 → gazu-0.10.33}/tests/test_helpers.py +0 -0
  50. {gazu-0.10.30 → gazu-0.10.33}/tests/test_person.py +0 -0
  51. {gazu-0.10.30 → gazu-0.10.33}/tests/test_playlist.py +0 -0
  52. {gazu-0.10.30 → gazu-0.10.33}/tests/test_project.py +0 -0
  53. {gazu-0.10.30 → gazu-0.10.33}/tests/test_scene.py +0 -0
  54. {gazu-0.10.30 → gazu-0.10.33}/tests/test_sync.py +0 -0
  55. {gazu-0.10.30 → gazu-0.10.33}/tests/test_task.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: gazu
3
- Version: 0.10.30
3
+ Version: 0.10.33
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
@@ -40,7 +40,8 @@ Requires-Dist: multipart; python_version >= "3.13" and extra == "test"
40
40
  Provides-Extra: lint
41
41
  Requires-Dist: autoflake==2.3.1; python_version >= "3.8" and extra == "lint"
42
42
  Requires-Dist: black==25.1.0; python_version >= "3.9" and extra == "lint"
43
- Requires-Dist: pre-commit==4.1.0; python_version >= "3.9" and extra == "lint"
43
+ Requires-Dist: pre-commit==4.2.0; python_version >= "3.9" and extra == "lint"
44
+ Dynamic: license-file
44
45
  Dynamic: requires-python
45
46
 
46
47
  .. figure:: https://zou.cg-wire.com/kitsu.png
@@ -0,0 +1 @@
1
+ __version__ = "0.10.33"
@@ -68,7 +68,7 @@ def all_shots_for_sequence(sequence, client=default):
68
68
  def all_sequences_for_project(project, client=default):
69
69
  """
70
70
  Args:
71
- sequence (str / dict): The sequence dict or the sequence ID.
71
+ sequence (str / dict): The project dict or the project ID.
72
72
 
73
73
  Returns:
74
74
  list: Sequences from database for given project.
@@ -83,7 +83,7 @@ def all_sequences_for_project(project, client=default):
83
83
  def all_sequences_for_episode(episode, client=default):
84
84
  """
85
85
  Args:
86
- sequence (str / dict): The sequence dict or the sequence ID.
86
+ sequence (str / dict): The episode dict or the episode ID.
87
87
 
88
88
  Returns:
89
89
  list: Sequences which are children of given episode.
@@ -515,7 +515,7 @@ def update_episode_data(episode, data={}, client=default):
515
515
  dict: Updated episode.
516
516
  """
517
517
  episode = normalize_model_parameter(episode)
518
- current_episode = get_sequence(episode["id"], client=client)
518
+ current_episode = get_episode(episode["id"], client=client)
519
519
  updated_episode = {
520
520
  "id": current_episode["id"],
521
521
  "data": current_episode["data"],
@@ -98,7 +98,7 @@ def all_tasks_for_scene(scene, client=default):
98
98
  list: Tasks assigned to current user for given scene.
99
99
  """
100
100
  scene = normalize_model_parameter(scene)
101
- path = "user/scene/%s/tasks" % scene["id"]
101
+ path = "user/scenes/%s/tasks" % scene["id"]
102
102
  tasks = raw.fetch_all(path, client=client)
103
103
  return sort_by_name(tasks)
104
104
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: gazu
3
- Version: 0.10.30
3
+ Version: 0.10.33
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
@@ -40,7 +40,8 @@ Requires-Dist: multipart; python_version >= "3.13" and extra == "test"
40
40
  Provides-Extra: lint
41
41
  Requires-Dist: autoflake==2.3.1; python_version >= "3.8" and extra == "lint"
42
42
  Requires-Dist: black==25.1.0; python_version >= "3.9" and extra == "lint"
43
- Requires-Dist: pre-commit==4.1.0; python_version >= "3.9" and extra == "lint"
43
+ Requires-Dist: pre-commit==4.2.0; python_version >= "3.9" and extra == "lint"
44
+ Dynamic: license-file
44
45
  Dynamic: requires-python
45
46
 
46
47
  .. figure:: https://zou.cg-wire.com/kitsu.png
@@ -17,7 +17,7 @@ autoflake==2.3.1
17
17
 
18
18
  [lint:python_version >= "3.9"]
19
19
  black==25.1.0
20
- pre-commit==4.1.0
20
+ pre-commit==4.2.0
21
21
 
22
22
  [test]
23
23
  pytest
@@ -50,7 +50,7 @@ test =
50
50
  lint =
51
51
  autoflake==2.3.1; python_version >= '3.8'
52
52
  black==25.1.0; python_version >= '3.9'
53
- pre-commit==4.1.0; python_version >= '3.9'
53
+ pre-commit==4.2.0; python_version >= '3.9'
54
54
 
55
55
  [bdist_wheel]
56
56
  universal = 1
@@ -642,7 +642,7 @@ class ShotTestCase(unittest.TestCase):
642
642
  with requests_mock.mock() as mock:
643
643
  mock.get(
644
644
  gazu.client.get_full_url(
645
- "data/sequences/%s" % fakeid("episode-1")
645
+ "data/episodes/%s" % fakeid("episode-1")
646
646
  ),
647
647
  text=json.dumps({"id": fakeid("episode-1"), "data": {}}),
648
648
  )
@@ -231,7 +231,7 @@ class ProjectTestCase(unittest.TestCase):
231
231
  with requests_mock.mock() as mock:
232
232
  mock.get(
233
233
  gazu.client.get_full_url(
234
- "data/user/scene/%s/tasks" % fakeid("scene-1")
234
+ "data/user/scenes/%s/tasks" % fakeid("scene-1")
235
235
  ),
236
236
  text=json.dumps(
237
237
  [
@@ -1 +0,0 @@
1
- __version__ = "0.10.30"
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
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
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
File without changes
File without changes
File without changes