gazu 0.10.6__tar.gz → 0.10.7__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.6 → gazu-0.10.7}/PKG-INFO +1 -1
  2. gazu-0.10.7/gazu/__version__.py +1 -0
  3. {gazu-0.10.6 → gazu-0.10.7}/gazu/sync.py +6 -5
  4. {gazu-0.10.6 → gazu-0.10.7}/gazu.egg-info/PKG-INFO +1 -1
  5. gazu-0.10.6/gazu/__version__.py +0 -1
  6. {gazu-0.10.6 → gazu-0.10.7}/LICENSE +0 -0
  7. {gazu-0.10.6 → gazu-0.10.7}/README.rst +0 -0
  8. {gazu-0.10.6 → gazu-0.10.7}/gazu/__init__.py +0 -0
  9. {gazu-0.10.6 → gazu-0.10.7}/gazu/asset.py +0 -0
  10. {gazu-0.10.6 → gazu-0.10.7}/gazu/cache.py +0 -0
  11. {gazu-0.10.6 → gazu-0.10.7}/gazu/casting.py +0 -0
  12. {gazu-0.10.6 → gazu-0.10.7}/gazu/client.py +0 -0
  13. {gazu-0.10.6 → gazu-0.10.7}/gazu/concept.py +0 -0
  14. {gazu-0.10.6 → gazu-0.10.7}/gazu/context.py +0 -0
  15. {gazu-0.10.6 → gazu-0.10.7}/gazu/edit.py +0 -0
  16. {gazu-0.10.6 → gazu-0.10.7}/gazu/encoder.py +0 -0
  17. {gazu-0.10.6 → gazu-0.10.7}/gazu/entity.py +0 -0
  18. {gazu-0.10.6 → gazu-0.10.7}/gazu/events.py +0 -0
  19. {gazu-0.10.6 → gazu-0.10.7}/gazu/exception.py +0 -0
  20. {gazu-0.10.6 → gazu-0.10.7}/gazu/files.py +0 -0
  21. {gazu-0.10.6 → gazu-0.10.7}/gazu/helpers.py +0 -0
  22. {gazu-0.10.6 → gazu-0.10.7}/gazu/person.py +0 -0
  23. {gazu-0.10.6 → gazu-0.10.7}/gazu/playlist.py +0 -0
  24. {gazu-0.10.6 → gazu-0.10.7}/gazu/project.py +0 -0
  25. {gazu-0.10.6 → gazu-0.10.7}/gazu/scene.py +0 -0
  26. {gazu-0.10.6 → gazu-0.10.7}/gazu/shot.py +0 -0
  27. {gazu-0.10.6 → gazu-0.10.7}/gazu/sorting.py +0 -0
  28. {gazu-0.10.6 → gazu-0.10.7}/gazu/task.py +0 -0
  29. {gazu-0.10.6 → gazu-0.10.7}/gazu/user.py +0 -0
  30. {gazu-0.10.6 → gazu-0.10.7}/gazu.egg-info/SOURCES.txt +0 -0
  31. {gazu-0.10.6 → gazu-0.10.7}/gazu.egg-info/dependency_links.txt +0 -0
  32. {gazu-0.10.6 → gazu-0.10.7}/gazu.egg-info/not-zip-safe +0 -0
  33. {gazu-0.10.6 → gazu-0.10.7}/gazu.egg-info/requires.txt +0 -0
  34. {gazu-0.10.6 → gazu-0.10.7}/gazu.egg-info/top_level.txt +0 -0
  35. {gazu-0.10.6 → gazu-0.10.7}/pyproject.toml +0 -0
  36. {gazu-0.10.6 → gazu-0.10.7}/setup.cfg +0 -0
  37. {gazu-0.10.6 → gazu-0.10.7}/setup.py +0 -0
  38. {gazu-0.10.6 → gazu-0.10.7}/tests/test_asset.py +0 -0
  39. {gazu-0.10.6 → gazu-0.10.7}/tests/test_cache.py +0 -0
  40. {gazu-0.10.6 → gazu-0.10.7}/tests/test_casting.py +0 -0
  41. {gazu-0.10.6 → gazu-0.10.7}/tests/test_client.py +0 -0
  42. {gazu-0.10.6 → gazu-0.10.7}/tests/test_concept.py +0 -0
  43. {gazu-0.10.6 → gazu-0.10.7}/tests/test_context.py +0 -0
  44. {gazu-0.10.6 → gazu-0.10.7}/tests/test_edit.py +0 -0
  45. {gazu-0.10.6 → gazu-0.10.7}/tests/test_entity.py +0 -0
  46. {gazu-0.10.6 → gazu-0.10.7}/tests/test_files.py +0 -0
  47. {gazu-0.10.6 → gazu-0.10.7}/tests/test_helpers.py +0 -0
  48. {gazu-0.10.6 → gazu-0.10.7}/tests/test_person.py +0 -0
  49. {gazu-0.10.6 → gazu-0.10.7}/tests/test_playlist.py +0 -0
  50. {gazu-0.10.6 → gazu-0.10.7}/tests/test_project.py +0 -0
  51. {gazu-0.10.6 → gazu-0.10.7}/tests/test_scene.py +0 -0
  52. {gazu-0.10.6 → gazu-0.10.7}/tests/test_shot.py +0 -0
  53. {gazu-0.10.6 → gazu-0.10.7}/tests/test_sync.py +0 -0
  54. {gazu-0.10.6 → gazu-0.10.7}/tests/test_task.py +0 -0
  55. {gazu-0.10.6 → gazu-0.10.7}/tests/test_user.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gazu
3
- Version: 0.10.6
3
+ Version: 0.10.7
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
@@ -0,0 +1 @@
1
+ __version__ = "0.10.7"
@@ -541,6 +541,7 @@ def push_task_comment(
541
541
  client_source,
542
542
  client_target,
543
543
  author_id=None,
544
+ tmp_path="/tmp/zou/sync/",
544
545
  ):
545
546
  """
546
547
  Create a new comment into target api for each comment in source task
@@ -562,7 +563,7 @@ def push_task_comment(
562
563
  attachment_file = files_module.get_attachment_file(
563
564
  attachment_id, client=client_source
564
565
  )
565
- file_path = "/tmp/zou/sync/" + attachment_file["name"]
566
+ file_path = os.path.join(tmp_path, attachment_file["name"])
566
567
  files_module.download_attachment_file(
567
568
  attachment_file, file_path, client=client_source
568
569
  )
@@ -581,11 +582,11 @@ def push_task_comment(
581
582
  preview_file["original_name"] is not None
582
583
  and preview_file["extension"] is not None
583
584
  ):
584
- file_path = (
585
- "/tmp/zou/sync/"
586
- + preview_file["original_name"]
585
+ file_path = os.path.join(
586
+ tmp_path,
587
+ preview_file["original_name"]
587
588
  + "."
588
- + preview_file["extension"]
589
+ + preview_file["extension"],
589
590
  )
590
591
  files_module.download_preview_file(
591
592
  preview_file, file_path, client=client_source
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gazu
3
- Version: 0.10.6
3
+ Version: 0.10.7
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 +0,0 @@
1
- __version__ = "0.10.6"
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes