zou 0.20.66__py3-none-any.whl → 0.20.68__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.
- zou/__init__.py +1 -1
- zou/app/blueprints/assets/resources.py +134 -91
- zou/app/blueprints/auth/resources.py +6 -6
- zou/app/blueprints/breakdown/resources.py +47 -47
- zou/app/blueprints/chats/resources.py +8 -8
- zou/app/blueprints/comments/resources.py +41 -41
- zou/app/blueprints/concepts/resources.py +23 -23
- zou/app/blueprints/crud/base.py +6 -6
- zou/app/blueprints/crud/output_file.py +2 -2
- zou/app/blueprints/crud/output_type.py +2 -2
- zou/app/blueprints/crud/preview_file.py +2 -2
- zou/app/blueprints/crud/software.py +2 -2
- zou/app/blueprints/crud/working_file.py +2 -2
- zou/app/blueprints/departments/resources.py +20 -20
- zou/app/blueprints/edits/resources.py +33 -33
- zou/app/blueprints/entities/resources.py +9 -9
- zou/app/blueprints/events/resources.py +7 -7
- zou/app/blueprints/export/csv/assets.py +2 -2
- zou/app/blueprints/export/csv/casting.py +2 -2
- zou/app/blueprints/export/csv/edits.py +2 -2
- zou/app/blueprints/export/csv/playlists.py +2 -2
- zou/app/blueprints/export/csv/shots.py +2 -2
- zou/app/blueprints/files/resources.py +123 -123
- zou/app/blueprints/news/resources.py +28 -28
- zou/app/blueprints/persons/resources.py +75 -75
- zou/app/blueprints/playlists/resources.py +37 -37
- zou/app/blueprints/previews/resources.py +37 -37
- zou/app/blueprints/projects/resources.py +159 -159
- zou/app/blueprints/search/resources.py +3 -3
- zou/app/blueprints/shots/resources.py +143 -143
- zou/app/blueprints/source/csv/assets.py +2 -2
- zou/app/blueprints/source/csv/casting.py +2 -2
- zou/app/blueprints/source/csv/edits.py +2 -2
- zou/app/blueprints/source/csv/shots.py +2 -2
- zou/app/blueprints/source/csv/task_type_estimations.py +10 -10
- zou/app/blueprints/source/otio.py +6 -6
- zou/app/blueprints/source/shotgun/import_errors.py +2 -2
- zou/app/blueprints/tasks/resources.py +135 -135
- zou/app/blueprints/user/resources.py +87 -87
- zou/app/swagger.py +4 -3
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/METADATA +5 -5
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/RECORD +46 -46
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/WHEEL +0 -0
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/entry_points.txt +0 -0
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.20.
|
|
1
|
+
__version__ = "0.20.68"
|
|
@@ -41,8 +41,8 @@ class AssetResource(Resource, ArgsMixin):
|
|
|
41
41
|
- in: path
|
|
42
42
|
name: asset_id
|
|
43
43
|
type: string
|
|
44
|
-
format:
|
|
45
|
-
|
|
44
|
+
format: uuid
|
|
45
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
46
46
|
required: True
|
|
47
47
|
responses:
|
|
48
48
|
200:
|
|
@@ -64,8 +64,8 @@ class AssetResource(Resource, ArgsMixin):
|
|
|
64
64
|
- in: path
|
|
65
65
|
name: asset_id
|
|
66
66
|
type: string
|
|
67
|
-
format:
|
|
68
|
-
|
|
67
|
+
format: uuid
|
|
68
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
69
69
|
required: True
|
|
70
70
|
responses:
|
|
71
71
|
204:
|
|
@@ -155,8 +155,8 @@ class AssetTypeResource(Resource):
|
|
|
155
155
|
- in: path
|
|
156
156
|
name: asset_type_id
|
|
157
157
|
type: string
|
|
158
|
-
format:
|
|
159
|
-
|
|
158
|
+
format: uuid
|
|
159
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
160
160
|
required: True
|
|
161
161
|
responses:
|
|
162
162
|
200:
|
|
@@ -195,8 +195,8 @@ class ProjectAssetTypesResource(Resource):
|
|
|
195
195
|
- in: path
|
|
196
196
|
name: project_id
|
|
197
197
|
type: string
|
|
198
|
-
format:
|
|
199
|
-
|
|
198
|
+
format: uuid
|
|
199
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
200
200
|
required: True
|
|
201
201
|
responses:
|
|
202
202
|
200:
|
|
@@ -219,8 +219,8 @@ class ShotAssetTypesResource(Resource):
|
|
|
219
219
|
- in: path
|
|
220
220
|
name: shot_id
|
|
221
221
|
type: string
|
|
222
|
-
format:
|
|
223
|
-
|
|
222
|
+
format: uuid
|
|
223
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
224
224
|
required: True
|
|
225
225
|
responses:
|
|
226
226
|
200:
|
|
@@ -244,8 +244,8 @@ class ProjectAssetsResource(Resource):
|
|
|
244
244
|
- in: path
|
|
245
245
|
name: project_id
|
|
246
246
|
type: string
|
|
247
|
-
format:
|
|
248
|
-
|
|
247
|
+
format: uuid
|
|
248
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
249
249
|
required: True
|
|
250
250
|
responses:
|
|
251
251
|
200:
|
|
@@ -275,14 +275,14 @@ class ProjectAssetTypeAssetsResource(Resource):
|
|
|
275
275
|
name: project_id
|
|
276
276
|
required: True
|
|
277
277
|
type: string
|
|
278
|
-
format:
|
|
279
|
-
|
|
278
|
+
format: uuid
|
|
279
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
280
280
|
- in: path
|
|
281
281
|
name: asset_type_id
|
|
282
282
|
required: True
|
|
283
283
|
type: string
|
|
284
|
-
format:
|
|
285
|
-
|
|
284
|
+
format: uuid
|
|
285
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
286
286
|
responses:
|
|
287
287
|
200:
|
|
288
288
|
description: All assets for given project and asset type
|
|
@@ -312,8 +312,8 @@ class AssetAssetsResource(Resource):
|
|
|
312
312
|
name: asset_id
|
|
313
313
|
required: True
|
|
314
314
|
type: string
|
|
315
|
-
format:
|
|
316
|
-
|
|
315
|
+
format: uuid
|
|
316
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
317
317
|
responses:
|
|
318
318
|
200:
|
|
319
319
|
description: All assets linked to given asset
|
|
@@ -338,8 +338,8 @@ class AssetTasksResource(Resource, ArgsMixin):
|
|
|
338
338
|
name: asset_id
|
|
339
339
|
required: True
|
|
340
340
|
type: string
|
|
341
|
-
format:
|
|
342
|
-
|
|
341
|
+
format: uuid
|
|
342
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
343
343
|
responses:
|
|
344
344
|
200:
|
|
345
345
|
description: All tasks related to given asset
|
|
@@ -365,8 +365,8 @@ class AssetTaskTypesResource(Resource):
|
|
|
365
365
|
name: asset_id
|
|
366
366
|
required: True
|
|
367
367
|
type: string
|
|
368
|
-
format:
|
|
369
|
-
|
|
368
|
+
format: uuid
|
|
369
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
370
370
|
responses:
|
|
371
371
|
200:
|
|
372
372
|
description: All task types of tasks related to given asset
|
|
@@ -390,18 +390,19 @@ class NewAssetResource(Resource, ArgsMixin):
|
|
|
390
390
|
name: project_id
|
|
391
391
|
required: True
|
|
392
392
|
type: string
|
|
393
|
-
format:
|
|
394
|
-
|
|
393
|
+
format: uuid
|
|
394
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
395
395
|
- in: path
|
|
396
396
|
name: asset_type_id
|
|
397
397
|
required: True
|
|
398
398
|
type: string
|
|
399
|
-
format:
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
399
|
+
format: uuid
|
|
400
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
401
|
+
requestBody:
|
|
402
|
+
required: true
|
|
403
|
+
content:
|
|
404
|
+
application/json:
|
|
405
|
+
schema:
|
|
405
406
|
type: object
|
|
406
407
|
required:
|
|
407
408
|
- name
|
|
@@ -412,15 +413,19 @@ class NewAssetResource(Resource, ArgsMixin):
|
|
|
412
413
|
properties:
|
|
413
414
|
name:
|
|
414
415
|
type: string
|
|
416
|
+
example: "Character Name"
|
|
415
417
|
description:
|
|
416
418
|
type: string
|
|
419
|
+
example: "Main character"
|
|
417
420
|
data:
|
|
418
421
|
type: string
|
|
422
|
+
example: "{}"
|
|
419
423
|
is_shared:
|
|
420
424
|
type: boolean
|
|
425
|
+
example: false
|
|
421
426
|
source_id:
|
|
422
427
|
type: string
|
|
423
|
-
format:
|
|
428
|
+
format: uuid
|
|
424
429
|
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
425
430
|
responses:
|
|
426
431
|
201:
|
|
@@ -484,8 +489,8 @@ class AssetCastingResource(Resource):
|
|
|
484
489
|
name: asset_id
|
|
485
490
|
required: True
|
|
486
491
|
type: string
|
|
487
|
-
format:
|
|
488
|
-
|
|
492
|
+
format: uuid
|
|
493
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
489
494
|
responses:
|
|
490
495
|
200:
|
|
491
496
|
description: Casting of given asset
|
|
@@ -507,8 +512,15 @@ class AssetCastingResource(Resource):
|
|
|
507
512
|
name: asset_id
|
|
508
513
|
required: True
|
|
509
514
|
type: string
|
|
510
|
-
format:
|
|
511
|
-
|
|
515
|
+
format: uuid
|
|
516
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
517
|
+
requestBody:
|
|
518
|
+
required: true
|
|
519
|
+
content:
|
|
520
|
+
application/json:
|
|
521
|
+
schema:
|
|
522
|
+
type: object
|
|
523
|
+
description: Casting data to update
|
|
512
524
|
responses:
|
|
513
525
|
200:
|
|
514
526
|
description: Modification of assets linked to given asset
|
|
@@ -533,8 +545,8 @@ class AssetCastInResource(Resource):
|
|
|
533
545
|
name: asset_id
|
|
534
546
|
required: True
|
|
535
547
|
type: string
|
|
536
|
-
format:
|
|
537
|
-
|
|
548
|
+
format: uuid
|
|
549
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
538
550
|
responses:
|
|
539
551
|
200:
|
|
540
552
|
description: List of shots that cast given asset
|
|
@@ -559,8 +571,8 @@ class AssetShotAssetInstancesResource(Resource):
|
|
|
559
571
|
name: asset_id
|
|
560
572
|
required: True
|
|
561
573
|
type: string
|
|
562
|
-
format:
|
|
563
|
-
|
|
574
|
+
format: uuid
|
|
575
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
564
576
|
responses:
|
|
565
577
|
200:
|
|
566
578
|
description: All shot asset instances linked to given asset
|
|
@@ -583,8 +595,8 @@ class AssetSceneAssetInstancesResource(Resource):
|
|
|
583
595
|
name: asset_id
|
|
584
596
|
required: True
|
|
585
597
|
type: string
|
|
586
|
-
format:
|
|
587
|
-
|
|
598
|
+
format: uuid
|
|
599
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
588
600
|
responses:
|
|
589
601
|
200:
|
|
590
602
|
description: All scene asset instances linked to given asset
|
|
@@ -607,8 +619,8 @@ class AssetAssetInstancesResource(Resource, ArgsMixin):
|
|
|
607
619
|
name: asset_id
|
|
608
620
|
required: True
|
|
609
621
|
type: string
|
|
610
|
-
format:
|
|
611
|
-
|
|
622
|
+
format: uuid
|
|
623
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
612
624
|
responses:
|
|
613
625
|
200:
|
|
614
626
|
description: All asset instances instantiated inside given asset
|
|
@@ -629,8 +641,26 @@ class AssetAssetInstancesResource(Resource, ArgsMixin):
|
|
|
629
641
|
name: asset_id
|
|
630
642
|
required: True
|
|
631
643
|
type: string
|
|
632
|
-
format:
|
|
633
|
-
|
|
644
|
+
format: uuid
|
|
645
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
646
|
+
requestBody:
|
|
647
|
+
required: true
|
|
648
|
+
content:
|
|
649
|
+
application/json:
|
|
650
|
+
schema:
|
|
651
|
+
type: object
|
|
652
|
+
properties:
|
|
653
|
+
asset_to_instantiate_id:
|
|
654
|
+
type: string
|
|
655
|
+
format: uuid
|
|
656
|
+
required: true
|
|
657
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
658
|
+
description:
|
|
659
|
+
type: string
|
|
660
|
+
required: false
|
|
661
|
+
example: "Asset instance description"
|
|
662
|
+
required:
|
|
663
|
+
- asset_to_instantiate_id
|
|
634
664
|
responses:
|
|
635
665
|
201:
|
|
636
666
|
description: Asset instance created inside given asset
|
|
@@ -681,27 +711,31 @@ class SetSharedProjectAssetsResource(BaseSetSharedAssetsResource):
|
|
|
681
711
|
---
|
|
682
712
|
tags:
|
|
683
713
|
- Assets
|
|
684
|
-
consumes:
|
|
685
|
-
- multipart/form-data
|
|
686
714
|
parameters:
|
|
687
715
|
- in: path
|
|
688
716
|
name: project_id
|
|
689
717
|
required: True
|
|
690
718
|
type: string
|
|
691
|
-
format:
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
type:
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
719
|
+
format: uuid
|
|
720
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
721
|
+
requestBody:
|
|
722
|
+
required: false
|
|
723
|
+
content:
|
|
724
|
+
application/json:
|
|
725
|
+
schema:
|
|
726
|
+
type: object
|
|
727
|
+
properties:
|
|
728
|
+
asset_ids:
|
|
729
|
+
type: array
|
|
730
|
+
items:
|
|
731
|
+
type: string
|
|
732
|
+
format: uuid
|
|
733
|
+
default: null
|
|
734
|
+
example: ["a24a6ea4-ce75-4665-a070-57453082c25"]
|
|
735
|
+
is_shared:
|
|
736
|
+
type: boolean
|
|
737
|
+
default: true
|
|
738
|
+
example: true
|
|
705
739
|
responses:
|
|
706
740
|
201:
|
|
707
741
|
description: All assets modified.
|
|
@@ -737,19 +771,25 @@ class SetSharedProjectAssetTypeAssetsResource(BaseSetSharedAssetsResource):
|
|
|
737
771
|
name: project_id
|
|
738
772
|
required: True
|
|
739
773
|
type: string
|
|
740
|
-
format:
|
|
741
|
-
|
|
774
|
+
format: uuid
|
|
775
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
742
776
|
- in: path
|
|
743
777
|
name: asset_type_id
|
|
744
778
|
required: True
|
|
745
779
|
type: string
|
|
746
|
-
format:
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
780
|
+
format: uuid
|
|
781
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
782
|
+
requestBody:
|
|
783
|
+
required: false
|
|
784
|
+
content:
|
|
785
|
+
application/json:
|
|
786
|
+
schema:
|
|
787
|
+
type: object
|
|
788
|
+
properties:
|
|
789
|
+
is_shared:
|
|
790
|
+
type: boolean
|
|
791
|
+
default: true
|
|
792
|
+
example: true
|
|
753
793
|
responses:
|
|
754
794
|
201:
|
|
755
795
|
description: All assets modified.
|
|
@@ -767,21 +807,24 @@ class SetSharedAssetsResource(BaseSetSharedAssetsResource):
|
|
|
767
807
|
---
|
|
768
808
|
tags:
|
|
769
809
|
- Assets
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
810
|
+
requestBody:
|
|
811
|
+
required: false
|
|
812
|
+
content:
|
|
813
|
+
application/json:
|
|
814
|
+
schema:
|
|
815
|
+
type: object
|
|
816
|
+
properties:
|
|
817
|
+
asset_ids:
|
|
818
|
+
type: array
|
|
819
|
+
items:
|
|
820
|
+
type: string
|
|
821
|
+
format: uuid
|
|
822
|
+
default: null
|
|
823
|
+
example: ["a24a6ea4-ce75-4665-a070-57453082c25"]
|
|
824
|
+
is_shared:
|
|
825
|
+
type: boolean
|
|
826
|
+
default: true
|
|
827
|
+
example: true
|
|
785
828
|
responses:
|
|
786
829
|
201:
|
|
787
830
|
description: All assets modified.
|
|
@@ -819,8 +862,8 @@ class ProjectAssetsSharedUsedResource(Resource):
|
|
|
819
862
|
name: project_id
|
|
820
863
|
required: True
|
|
821
864
|
type: string
|
|
822
|
-
format:
|
|
823
|
-
|
|
865
|
+
format: uuid
|
|
866
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
824
867
|
responses:
|
|
825
868
|
200:
|
|
826
869
|
description: All shared assets used in project
|
|
@@ -843,14 +886,14 @@ class ProjectEpisodeAssetsSharedUsedResource(Resource):
|
|
|
843
886
|
name: project_id
|
|
844
887
|
required: True
|
|
845
888
|
type: string
|
|
846
|
-
format:
|
|
847
|
-
|
|
889
|
+
format: uuid
|
|
890
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
848
891
|
- in: path
|
|
849
892
|
name: episode_id
|
|
850
893
|
required: True
|
|
851
894
|
type: string
|
|
852
|
-
format:
|
|
853
|
-
|
|
895
|
+
format: uuid
|
|
896
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
854
897
|
responses:
|
|
855
898
|
200:
|
|
856
899
|
description: All shared assets used in project episode
|
|
@@ -153,19 +153,19 @@ class LoginResource(Resource, ArgsMixin):
|
|
|
153
153
|
required: True
|
|
154
154
|
type: string
|
|
155
155
|
format: email
|
|
156
|
-
|
|
156
|
+
example: admin@example.com
|
|
157
157
|
- in: formData
|
|
158
158
|
name: password
|
|
159
159
|
required: True
|
|
160
160
|
type: string
|
|
161
161
|
format: password
|
|
162
|
-
|
|
162
|
+
example: mysecretpassword
|
|
163
163
|
- in: formData
|
|
164
164
|
name: otp
|
|
165
165
|
required: False
|
|
166
166
|
type: string
|
|
167
167
|
format: password
|
|
168
|
-
|
|
168
|
+
example: 123456
|
|
169
169
|
responses:
|
|
170
170
|
200:
|
|
171
171
|
description: Login successful
|
|
@@ -412,7 +412,7 @@ class RegistrationResource(Resource, ArgsMixin):
|
|
|
412
412
|
required: True
|
|
413
413
|
type: string
|
|
414
414
|
format: email
|
|
415
|
-
|
|
415
|
+
example: admin@example.com
|
|
416
416
|
- in: formData
|
|
417
417
|
name: password
|
|
418
418
|
required: True
|
|
@@ -647,7 +647,7 @@ class ResetPasswordResource(Resource, ArgsMixin):
|
|
|
647
647
|
required: True
|
|
648
648
|
type: string
|
|
649
649
|
format: email
|
|
650
|
-
|
|
650
|
+
example: admin@example.com
|
|
651
651
|
- in: formData
|
|
652
652
|
name: token
|
|
653
653
|
required: True
|
|
@@ -726,7 +726,7 @@ class ResetPasswordResource(Resource, ArgsMixin):
|
|
|
726
726
|
required: True
|
|
727
727
|
type: string
|
|
728
728
|
format: email
|
|
729
|
-
|
|
729
|
+
example: admin@example.com
|
|
730
730
|
responses:
|
|
731
731
|
200:
|
|
732
732
|
description: Reset token sent
|