zou 0.20.67__py3-none-any.whl → 0.20.69__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.
Files changed (49) hide show
  1. zou/__init__.py +1 -1
  2. zou/app/blueprints/assets/resources.py +134 -91
  3. zou/app/blueprints/auth/resources.py +6 -6
  4. zou/app/blueprints/breakdown/resources.py +47 -47
  5. zou/app/blueprints/chats/resources.py +8 -8
  6. zou/app/blueprints/comments/resources.py +62 -49
  7. zou/app/blueprints/concepts/resources.py +23 -23
  8. zou/app/blueprints/crud/base.py +6 -6
  9. zou/app/blueprints/crud/output_file.py +2 -2
  10. zou/app/blueprints/crud/output_type.py +2 -2
  11. zou/app/blueprints/crud/preview_file.py +2 -2
  12. zou/app/blueprints/crud/software.py +2 -2
  13. zou/app/blueprints/crud/working_file.py +2 -2
  14. zou/app/blueprints/departments/resources.py +20 -20
  15. zou/app/blueprints/edits/resources.py +33 -33
  16. zou/app/blueprints/entities/resources.py +8 -8
  17. zou/app/blueprints/events/resources.py +7 -7
  18. zou/app/blueprints/export/csv/assets.py +2 -2
  19. zou/app/blueprints/export/csv/casting.py +2 -2
  20. zou/app/blueprints/export/csv/edits.py +2 -2
  21. zou/app/blueprints/export/csv/playlists.py +2 -2
  22. zou/app/blueprints/export/csv/shots.py +2 -2
  23. zou/app/blueprints/files/resources.py +123 -123
  24. zou/app/blueprints/news/resources.py +28 -28
  25. zou/app/blueprints/persons/resources.py +75 -75
  26. zou/app/blueprints/playlists/resources.py +37 -37
  27. zou/app/blueprints/previews/resources.py +36 -36
  28. zou/app/blueprints/projects/resources.py +159 -159
  29. zou/app/blueprints/search/resources.py +3 -3
  30. zou/app/blueprints/shots/resources.py +250 -198
  31. zou/app/blueprints/source/csv/assets.py +2 -2
  32. zou/app/blueprints/source/csv/casting.py +2 -2
  33. zou/app/blueprints/source/csv/edits.py +2 -2
  34. zou/app/blueprints/source/csv/shots.py +2 -2
  35. zou/app/blueprints/source/csv/task_type_estimations.py +10 -10
  36. zou/app/blueprints/source/otio.py +6 -6
  37. zou/app/blueprints/source/shotgun/import_errors.py +2 -2
  38. zou/app/blueprints/tasks/resources.py +135 -135
  39. zou/app/blueprints/user/resources.py +87 -87
  40. zou/app/models/attachment_file.py +4 -0
  41. zou/app/services/comments_service.py +41 -9
  42. zou/app/services/tasks_service.py +1 -0
  43. zou/migrations/versions/1b0ab951adca_add_reply_id_to_attachments.py +44 -0
  44. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/METADATA +5 -5
  45. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/RECORD +49 -48
  46. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/WHEEL +0 -0
  47. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/entry_points.txt +0 -0
  48. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/licenses/LICENSE +0 -0
  49. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/top_level.txt +0 -0
@@ -40,23 +40,23 @@ class ProjectPlaylistsResource(Resource, ArgsMixin):
40
40
  name: project_id
41
41
  required: True
42
42
  type: string
43
- format: UUID
44
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
43
+ format: uuid
44
+ example: a24a6ea4-ce75-4665-a070-57453082c25
45
45
  - in: query
46
46
  name: page
47
47
  required: False
48
48
  type: integer
49
- x-example: 1
49
+ example: 1
50
50
  - in: query
51
51
  name: sort_by
52
52
  required: False
53
53
  type: string
54
- x-example: udpdated_at
54
+ example: udpdated_at
55
55
  - in: query
56
56
  name: task_type_id
57
57
  required: False
58
58
  type: string
59
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
59
+ example: a24a6ea4-ce75-4665-a070-57453082c25
60
60
  responses:
61
61
  200:
62
62
  description: All playlists related to given project
@@ -94,14 +94,14 @@ class EpisodePlaylistsResource(Resource, ArgsMixin):
94
94
  name: project_id
95
95
  required: True
96
96
  type: string
97
- format: UUID
98
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
97
+ format: uuid
98
+ example: a24a6ea4-ce75-4665-a070-57453082c25
99
99
  - in: path
100
100
  name: episode_id
101
101
  required: True
102
102
  type: string
103
- format: UUID
104
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
103
+ format: uuid
104
+ example: a24a6ea4-ce75-4665-a070-57453082c25
105
105
  responses:
106
106
  200:
107
107
  description: All playlists related to given episode
@@ -140,14 +140,14 @@ class ProjectPlaylistResource(Resource):
140
140
  name: project_id
141
141
  required: True
142
142
  type: string
143
- format: UUID
144
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
143
+ format: uuid
144
+ example: a24a6ea4-ce75-4665-a070-57453082c25
145
145
  - in: path
146
146
  name: playlist_id
147
147
  required: True
148
148
  type: string
149
- format: UUID
150
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
149
+ format: uuid
150
+ example: a24a6ea4-ce75-4665-a070-57453082c25
151
151
  responses:
152
152
  200:
153
153
  description: All playlists related to given project
@@ -180,8 +180,8 @@ class EntityPreviewsResource(Resource):
180
180
  name: entity_id
181
181
  required: True
182
182
  type: string
183
- format: UUID
184
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
183
+ format: uuid
184
+ example: a24a6ea4-ce75-4665-a070-57453082c25
185
185
  responses:
186
186
  200:
187
187
  description: All previews related to given entity
@@ -210,14 +210,14 @@ class PlaylistDownloadResource(Resource):
210
210
  name: playlist_id
211
211
  required: True
212
212
  type: string
213
- format: UUID
214
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
213
+ format: uuid
214
+ example: a24a6ea4-ce75-4665-a070-57453082c25
215
215
  - in: path
216
216
  name: build_job_id
217
217
  required: True
218
218
  type: string
219
- format: UUID
220
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
219
+ format: uuid
220
+ example: a24a6ea4-ce75-4665-a070-57453082c25
221
221
  responses:
222
222
  200:
223
223
  description: Given playlist build downloaded as .mp4
@@ -289,8 +289,8 @@ class BuildPlaylistMovieResource(Resource, ArgsMixin):
289
289
  name: playlist_id
290
290
  required: True
291
291
  type: string
292
- format: UUID
293
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
292
+ format: uuid
293
+ example: a24a6ea4-ce75-4665-a070-57453082c25
294
294
  responses:
295
295
  200:
296
296
  description: Given playlist built as mp4 movie
@@ -358,8 +358,8 @@ class PlaylistZipDownloadResource(Resource):
358
358
  name: playlist_id
359
359
  required: True
360
360
  type: string
361
- format: UUID
362
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
361
+ format: uuid
362
+ example: a24a6ea4-ce75-4665-a070-57453082c25
363
363
  responses:
364
364
  200:
365
365
  description: Given playlist downloaded as zip
@@ -416,14 +416,14 @@ class BuildJobResource(Resource):
416
416
  name: playlist_id
417
417
  required: True
418
418
  type: string
419
- format: UUID
420
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
419
+ format: uuid
420
+ example: a24a6ea4-ce75-4665-a070-57453082c25
421
421
  - in: path
422
422
  name: build_job_id
423
423
  required: True
424
424
  type: string
425
- format: UUID
426
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
425
+ format: uuid
426
+ example: a24a6ea4-ce75-4665-a070-57453082c25
427
427
  responses:
428
428
  200:
429
429
  description: Build job related to given playlist
@@ -445,14 +445,14 @@ class BuildJobResource(Resource):
445
445
  name: playlist_id
446
446
  required: True
447
447
  type: string
448
- format: UUID
449
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
448
+ format: uuid
449
+ example: a24a6ea4-ce75-4665-a070-57453082c25
450
450
  - in: path
451
451
  name: build_job_id
452
452
  required: True
453
453
  type: string
454
- format: UUID
455
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
454
+ format: uuid
455
+ example: a24a6ea4-ce75-4665-a070-57453082c25
456
456
  responses:
457
457
  204:
458
458
  description: Given build job removed
@@ -483,8 +483,8 @@ class ProjectBuildJobsResource(Resource):
483
483
  name: project_id
484
484
  required: True
485
485
  type: string
486
- format: UUID
487
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
486
+ format: uuid
487
+ example: a24a6ea4-ce75-4665-a070-57453082c25
488
488
  responses:
489
489
  200:
490
490
  description: All build jobs related to given project
@@ -513,8 +513,8 @@ class ProjectAllPlaylistsResource(Resource, ArgsMixin):
513
513
  name: project_id
514
514
  required: True
515
515
  type: string
516
- format: UUID
517
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
516
+ format: uuid
517
+ example: a24a6ea4-ce75-4665-a070-57453082c25
518
518
  responses:
519
519
  200:
520
520
  description: All playlists related to given project
@@ -544,8 +544,8 @@ class TempPlaylistResource(Resource, ArgsMixin):
544
544
  name: project_id
545
545
  required: True
546
546
  type: string
547
- format: UUID
548
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
547
+ format: uuid
548
+ example: a24a6ea4-ce75-4665-a070-57453082c25
549
549
  responses:
550
550
  200:
551
551
  description: All playlists related to given project
@@ -389,8 +389,8 @@ class CreatePreviewFilePictureResource(
389
389
  name: instance_id
390
390
  required: True
391
391
  type: string
392
- format: UUID
393
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
392
+ format: uuid
393
+ example: a24a6ea4-ce75-4665-a070-57453082c25
394
394
  - in: formData
395
395
  name: file
396
396
  required: True
@@ -546,8 +546,8 @@ class AddTaskBatchCommentResource(BaseBatchComment, Resource):
546
546
  name: task_id
547
547
  required: True
548
548
  type: string
549
- format: UUID
550
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
549
+ format: uuid
550
+ example: a24a6ea4-ce75-4665-a070-57453082c25
551
551
  - in: body
552
552
  name: Comment
553
553
  description: person ID, name, comment, revision and change status of task
@@ -635,8 +635,8 @@ class PreviewFileMovieResource(BasePreviewFileResource):
635
635
  name: instance_id
636
636
  required: True
637
637
  type: string
638
- format: UUID
639
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
638
+ format: uuid
639
+ example: a24a6ea4-ce75-4665-a070-57453082c25
640
640
  responses:
641
641
  200:
642
642
  description: Movie preview downloaded
@@ -676,8 +676,8 @@ class PreviewFileLowMovieResource(BasePreviewFileResource):
676
676
  name: instance_id
677
677
  required: True
678
678
  type: string
679
- format: UUID
680
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
679
+ format: uuid
680
+ example: a24a6ea4-ce75-4665-a070-57453082c25
681
681
  responses:
682
682
  200:
683
683
  description: Lowdef movie preview downloaded
@@ -722,8 +722,8 @@ class PreviewFileMovieDownloadResource(BasePreviewFileResource):
722
722
  name: instance_id
723
723
  required: True
724
724
  type: string
725
- format: UUID
726
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
725
+ format: uuid
726
+ example: a24a6ea4-ce75-4665-a070-57453082c25
727
727
  responses:
728
728
  200:
729
729
  description: Movie preview downloaded
@@ -765,13 +765,13 @@ class PreviewFileResource(BasePreviewFileResource):
765
765
  name: instance_id
766
766
  required: True
767
767
  type: string
768
- format: UUID
769
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
768
+ format: uuid
769
+ example: a24a6ea4-ce75-4665-a070-57453082c25
770
770
  - in: path
771
771
  name: extension
772
772
  required: True
773
773
  type: string
774
- x-example: png, pdf, jpg, jpeg, ...
774
+ example: png, pdf, jpg, jpeg, ...
775
775
  responses:
776
776
  200:
777
777
  description: Generic file preview downloaded
@@ -826,8 +826,8 @@ class PreviewFileDownloadResource(BasePreviewFileResource):
826
826
  name: instance_id
827
827
  required: True
828
828
  type: string
829
- format: UUID
830
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
829
+ format: uuid
830
+ example: a24a6ea4-ce75-4665-a070-57453082c25
831
831
  responses:
832
832
  200:
833
833
  description: Generic file preview downloaded as attachment
@@ -918,8 +918,8 @@ class AttachmentThumbnailResource(Resource):
918
918
  name: attachment_file_id
919
919
  required: True
920
920
  type: string
921
- format: UUID
922
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
921
+ format: uuid
922
+ example: a24a6ea4-ce75-4665-a070-57453082c25
923
923
  responses:
924
924
  200:
925
925
  description: Thumbnail downloaded
@@ -968,8 +968,8 @@ class BasePreviewPictureResource(BasePreviewFileResource):
968
968
  name: instance_id
969
969
  required: True
970
970
  type: string
971
- format: UUID
972
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
971
+ format: uuid
972
+ example: a24a6ea4-ce75-4665-a070-57453082c25
973
973
  responses:
974
974
  200:
975
975
  description: Thumbnail downloaded
@@ -1101,8 +1101,8 @@ class BaseThumbnailResource(Resource):
1101
1101
  name: instance_id
1102
1102
  required: True
1103
1103
  type: string
1104
- format: UUID
1105
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1104
+ format: uuid
1105
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1106
1106
  - in: formData
1107
1107
  name: file
1108
1108
  required: True
@@ -1150,8 +1150,8 @@ class BaseThumbnailResource(Resource):
1150
1150
  name: instance_id
1151
1151
  required: True
1152
1152
  type: string
1153
- format: UUID
1154
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1153
+ format: uuid
1154
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1155
1155
  responses:
1156
1156
  200:
1157
1157
  description: Thumbnail downloaded
@@ -1264,8 +1264,8 @@ class SetMainPreviewResource(Resource, ArgsMixin):
1264
1264
  name: preview_file_id
1265
1265
  required: True
1266
1266
  type: string
1267
- format: UUID
1268
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1267
+ format: uuid
1268
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1269
1269
  responses:
1270
1270
  200:
1271
1271
  description: Given preview set as main preview
@@ -1309,8 +1309,8 @@ class UpdatePreviewPositionResource(Resource, ArgsMixin):
1309
1309
  name: preview_file_id
1310
1310
  required: True
1311
1311
  type: string
1312
- format: UUID
1313
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1312
+ format: uuid
1313
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1314
1314
  responses:
1315
1315
  200:
1316
1316
  description: Orders of previews changed for a single revision
@@ -1351,8 +1351,8 @@ class UpdateAnnotationsResource(Resource, ArgsMixin):
1351
1351
  name: preview_file_id
1352
1352
  required: True
1353
1353
  type: string
1354
- format: UUID
1355
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1354
+ format: uuid
1355
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1356
1356
  responses:
1357
1357
  200:
1358
1358
  description: Orders of previews changed for a single revision
@@ -1432,8 +1432,8 @@ class ExtractFrameFromPreview(Resource, ArgsMixin):
1432
1432
  name: preview_file_id
1433
1433
  required: True
1434
1434
  type: string
1435
- format: UUID
1436
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1435
+ format: uuid
1436
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1437
1437
  responses:
1438
1438
  200:
1439
1439
  description: Extracted frame
@@ -1505,8 +1505,8 @@ class CreatePreviewBackgroundFileResource(Resource):
1505
1505
  name: instance_id
1506
1506
  required: True
1507
1507
  type: string
1508
- format: UUID
1509
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1508
+ format: uuid
1509
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1510
1510
  - in: formData
1511
1511
  name: file
1512
1512
  required: True
@@ -1648,14 +1648,14 @@ class PreviewBackgroundFileResource(Resource):
1648
1648
  name: instance_id
1649
1649
  required: True
1650
1650
  type: string
1651
- format: UUID
1652
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1651
+ format: uuid
1652
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1653
1653
  - in: path
1654
1654
  name: extension
1655
1655
  required: True
1656
1656
  type: string
1657
1657
  format: extension
1658
- x-example: hdr
1658
+ example: hdr
1659
1659
  responses:
1660
1660
  200:
1661
1661
  description: Preview background file downloaded