zou 0.20.83__py3-none-any.whl → 0.20.84__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/comments/resources.py +32 -35
- zou/app/blueprints/concepts/resources.py +23 -8
- zou/app/blueprints/crud/asset_instance.py +272 -0
- zou/app/blueprints/crud/attachment_file.py +263 -0
- zou/app/blueprints/crud/base.py +176 -69
- zou/app/blueprints/crud/budget.py +278 -0
- zou/app/blueprints/crud/budget_entry.py +269 -0
- zou/app/blueprints/crud/chat.py +282 -0
- zou/app/blueprints/crud/chat_message.py +286 -0
- zou/app/blueprints/crud/comments.py +312 -1
- zou/app/blueprints/crud/custom_action.py +268 -0
- zou/app/blueprints/crud/day_off.py +298 -0
- zou/app/blueprints/crud/department.py +268 -0
- zou/app/blueprints/crud/entity.py +297 -3
- zou/app/blueprints/crud/entity_link.py +303 -0
- zou/app/blueprints/crud/entity_type.py +269 -0
- zou/app/blueprints/crud/event.py +197 -0
- zou/app/blueprints/crud/file_status.py +268 -0
- zou/app/blueprints/crud/hardware_item.py +268 -0
- zou/app/blueprints/crud/metadata_descriptor.py +312 -0
- zou/app/blueprints/crud/milestone.py +302 -1
- zou/app/blueprints/crud/news.py +285 -0
- zou/app/blueprints/crud/notification.py +287 -0
- zou/app/blueprints/crud/organisation.py +269 -0
- zou/app/blueprints/crud/output_file.py +34 -10
- zou/app/blueprints/crud/output_type.py +30 -10
- zou/app/blueprints/crud/person.py +407 -2
- zou/app/blueprints/crud/playlist.py +322 -4
- zou/app/blueprints/crud/plugin.py +269 -0
- zou/app/blueprints/crud/preview_background_file.py +272 -0
- zou/app/blueprints/crud/preview_file.py +280 -9
- zou/app/blueprints/crud/production_schedule_version.py +569 -0
- zou/app/blueprints/crud/project.py +440 -0
- zou/app/blueprints/crud/project_status.py +268 -0
- zou/app/blueprints/crud/salary_scale.py +185 -5
- zou/app/blueprints/crud/schedule_item.py +305 -0
- zou/app/blueprints/crud/search_filter.py +302 -0
- zou/app/blueprints/crud/search_filter_group.py +270 -0
- zou/app/blueprints/crud/software.py +30 -10
- zou/app/blueprints/crud/status_automation.py +296 -2
- zou/app/blueprints/crud/studio.py +268 -0
- zou/app/blueprints/crud/subscription.py +279 -0
- zou/app/blueprints/crud/task.py +325 -5
- zou/app/blueprints/crud/task_status.py +301 -0
- zou/app/blueprints/crud/task_type.py +283 -0
- zou/app/blueprints/crud/time_spent.py +327 -0
- zou/app/blueprints/crud/working_file.py +273 -10
- zou/app/blueprints/export/csv/assets.py +15 -5
- zou/app/blueprints/export/csv/base.py +12 -3
- zou/app/blueprints/export/csv/casting.py +32 -5
- zou/app/blueprints/export/csv/edits.py +15 -5
- zou/app/blueprints/export/csv/persons.py +24 -0
- zou/app/blueprints/export/csv/playlists.py +16 -5
- zou/app/blueprints/export/csv/projects.py +23 -0
- zou/app/blueprints/export/csv/shots.py +15 -5
- zou/app/blueprints/export/csv/task_types.py +23 -0
- zou/app/blueprints/export/csv/tasks.py +24 -0
- zou/app/blueprints/export/csv/time_spents.py +24 -0
- zou/app/blueprints/files/resources.py +928 -377
- zou/app/blueprints/news/resources.py +7 -5
- zou/app/blueprints/persons/resources.py +644 -271
- zou/app/blueprints/playlists/resources.py +154 -72
- zou/app/blueprints/previews/resources.py +473 -228
- zou/app/blueprints/projects/__init__.py +5 -0
- zou/app/blueprints/projects/resources.py +987 -420
- zou/app/blueprints/search/resources.py +44 -32
- zou/app/blueprints/shots/resources.py +1338 -88
- zou/app/blueprints/source/csv/assets.py +44 -6
- zou/app/blueprints/source/csv/casting.py +43 -6
- zou/app/blueprints/source/csv/edits.py +47 -9
- zou/app/blueprints/source/csv/persons.py +43 -4
- zou/app/blueprints/source/csv/shots.py +47 -6
- zou/app/blueprints/source/csv/task_type_estimations.py +95 -35
- zou/app/blueprints/source/kitsu.py +433 -11
- zou/app/blueprints/source/otio.py +215 -20
- zou/app/blueprints/source/shotgun/assets.py +146 -0
- zou/app/blueprints/source/shotgun/base.py +85 -14
- zou/app/blueprints/source/shotgun/episode.py +124 -0
- zou/app/blueprints/source/shotgun/import_errors.py +105 -14
- zou/app/blueprints/source/shotgun/notes.py +132 -0
- zou/app/blueprints/source/shotgun/person.py +163 -0
- zou/app/blueprints/source/shotgun/project.py +120 -0
- zou/app/blueprints/source/shotgun/scene.py +120 -0
- zou/app/blueprints/source/shotgun/sequence.py +134 -0
- zou/app/blueprints/source/shotgun/shot.py +166 -0
- zou/app/blueprints/source/shotgun/status.py +129 -0
- zou/app/blueprints/source/shotgun/steps.py +138 -0
- zou/app/blueprints/source/shotgun/tasks.py +199 -0
- zou/app/blueprints/source/shotgun/team.py +132 -0
- zou/app/blueprints/source/shotgun/versions.py +155 -0
- zou/app/blueprints/tasks/resources.py +1197 -308
- zou/app/models/metadata_descriptor.py +1 -0
- zou/app/services/persons_service.py +1 -1
- zou/app/services/projects_service.py +45 -1
- zou/app/services/time_spents_service.py +1 -1
- zou/migrations/versions/a1b2c3d4e5f6_add_position_to_metadata_descriptor.py +32 -0
- {zou-0.20.83.dist-info → zou-0.20.84.dist-info}/METADATA +18 -18
- {zou-0.20.83.dist-info → zou-0.20.84.dist-info}/RECORD +103 -102
- {zou-0.20.83.dist-info → zou-0.20.84.dist-info}/WHEEL +0 -0
- {zou-0.20.83.dist-info → zou-0.20.84.dist-info}/entry_points.txt +0 -0
- {zou-0.20.83.dist-info → zou-0.20.84.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.83.dist-info → zou-0.20.84.dist-info}/top_level.txt +0 -0
|
@@ -11,8 +11,11 @@ class SearchResource(Resource, ArgsMixin):
|
|
|
11
11
|
@jwt_required()
|
|
12
12
|
def post(self):
|
|
13
13
|
"""
|
|
14
|
-
Search
|
|
14
|
+
Search entities
|
|
15
15
|
---
|
|
16
|
+
description: Search across indexes for persons, assets and shots.
|
|
17
|
+
Use optional filters to limit results to a project and specific
|
|
18
|
+
indexes. Results are paginated with limit and offset.
|
|
16
19
|
tags:
|
|
17
20
|
- Search
|
|
18
21
|
requestBody:
|
|
@@ -26,58 +29,67 @@ class SearchResource(Resource, ArgsMixin):
|
|
|
26
29
|
properties:
|
|
27
30
|
query:
|
|
28
31
|
type: string
|
|
29
|
-
example: test will search for test
|
|
30
32
|
description: Search query string (minimum 3 characters)
|
|
33
|
+
example: "kitsu"
|
|
31
34
|
project_id:
|
|
32
35
|
type: string
|
|
33
36
|
format: uuid
|
|
34
|
-
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
35
37
|
description: Filter search results by project ID
|
|
38
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
36
39
|
limit:
|
|
37
40
|
type: integer
|
|
38
41
|
default: 3
|
|
39
|
-
example: 3
|
|
40
42
|
description: Maximum number of results per index
|
|
43
|
+
example: 3
|
|
41
44
|
offset:
|
|
42
45
|
type: integer
|
|
43
46
|
default: 0
|
|
44
|
-
example: 0
|
|
45
47
|
description: Number of results to skip
|
|
48
|
+
example: 0
|
|
46
49
|
index_names:
|
|
47
50
|
type: array
|
|
48
51
|
items:
|
|
49
52
|
type: string
|
|
50
53
|
enum: ["assets", "shots", "persons"]
|
|
51
54
|
default: ["assets", "shots", "persons"]
|
|
52
|
-
example: ["assets"]
|
|
53
55
|
description: List of index names to search in
|
|
56
|
+
example: ["assets"]
|
|
54
57
|
responses:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
58
|
+
200:
|
|
59
|
+
description: List of entities that contain the query
|
|
60
|
+
content:
|
|
61
|
+
application/json:
|
|
62
|
+
schema:
|
|
63
|
+
type: object
|
|
64
|
+
properties:
|
|
65
|
+
persons:
|
|
66
|
+
type: array
|
|
67
|
+
description: List of matching persons
|
|
68
|
+
example: [{
|
|
69
|
+
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
|
|
70
|
+
"name": "John Doe",
|
|
71
|
+
...
|
|
72
|
+
}]
|
|
73
|
+
assets:
|
|
74
|
+
type: array
|
|
75
|
+
description: List of matching assets
|
|
76
|
+
example: [{
|
|
77
|
+
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
|
|
78
|
+
"name": "Chair prop CHR_001",
|
|
79
|
+
...
|
|
80
|
+
}]
|
|
81
|
+
description: List of matching assets
|
|
82
|
+
example: []
|
|
83
|
+
shots:
|
|
84
|
+
type: array
|
|
85
|
+
description: List of matching shots
|
|
86
|
+
example: [{
|
|
87
|
+
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
|
|
88
|
+
"name": "Shot 001",
|
|
89
|
+
...
|
|
90
|
+
}]
|
|
91
|
+
400:
|
|
92
|
+
description: Bad request
|
|
81
93
|
"""
|
|
82
94
|
args = self.get_args(
|
|
83
95
|
[
|