syrtis-python-client-internal 2.2.0__py3-none-any.whl → 2.3.0__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 (76) hide show
  1. syrtis_python_client_internal/common/generated_entities.py +10 -0
  2. syrtis_python_client_internal/common/generated_entity_schemas.py +5 -0
  3. syrtis_python_client_internal/common/generated_external_relations.py +1 -2
  4. syrtis_python_client_internal/common/generated_repositories.py +10 -0
  5. syrtis_python_client_internal/data/entity/artifact.json +209 -119
  6. syrtis_python_client_internal/data/entity/content_type.json +0 -24
  7. syrtis_python_client_internal/data/entity/credential.json +0 -24
  8. syrtis_python_client_internal/data/entity/credential_parameter.json +0 -24
  9. syrtis_python_client_internal/data/entity/dashboard.json +0 -24
  10. syrtis_python_client_internal/data/entity/directory.json +0 -24
  11. syrtis_python_client_internal/data/entity/evaluation.json +482 -0
  12. syrtis_python_client_internal/data/entity/evaluation_case.json +268 -0
  13. syrtis_python_client_internal/data/entity/evaluation_run.json +186 -0
  14. syrtis_python_client_internal/data/entity/extension.json +0 -24
  15. syrtis_python_client_internal/data/entity/log.json +0 -24
  16. syrtis_python_client_internal/data/entity/model.json +0 -24
  17. syrtis_python_client_internal/data/entity/model_provider.json +0 -24
  18. syrtis_python_client_internal/data/entity/panel.json +0 -24
  19. syrtis_python_client_internal/data/entity/pipeline.json +165 -149
  20. syrtis_python_client_internal/data/entity/pipeline_run.json +263 -0
  21. syrtis_python_client_internal/data/entity/project.json +49 -24
  22. syrtis_python_client_internal/data/entity/projection.json +121 -109
  23. syrtis_python_client_internal/data/entity/projection_config.json +11 -83
  24. syrtis_python_client_internal/data/entity/projection_relation.json +44 -111
  25. syrtis_python_client_internal/data/entity/slot_filter.json +189 -0
  26. syrtis_python_client_internal/data/entity/source.json +21 -20
  27. syrtis_python_client_internal/data/entity/storage.json +0 -24
  28. syrtis_python_client_internal/database/generated_repositories.py +10 -0
  29. syrtis_python_client_internal/database/repository/evaluation_case_repository.py +11 -0
  30. syrtis_python_client_internal/database/repository/evaluation_repository.py +11 -0
  31. syrtis_python_client_internal/database/repository/evaluation_run_repository.py +11 -0
  32. syrtis_python_client_internal/database/repository/generated/evaluation_case_repository_generated.py +11 -0
  33. syrtis_python_client_internal/database/repository/generated/evaluation_repository_generated.py +11 -0
  34. syrtis_python_client_internal/database/repository/generated/evaluation_run_repository_generated.py +11 -0
  35. syrtis_python_client_internal/database/repository/generated/pipeline_run_repository_generated.py +11 -0
  36. syrtis_python_client_internal/database/repository/generated/slot_filter_repository_generated.py +11 -0
  37. syrtis_python_client_internal/database/repository/pipeline_run_repository.py +11 -0
  38. syrtis_python_client_internal/database/repository/slot_filter_repository.py +11 -0
  39. syrtis_python_client_internal/entity/evaluation.py +13 -0
  40. syrtis_python_client_internal/entity/evaluation_case.py +13 -0
  41. syrtis_python_client_internal/entity/evaluation_run.py +13 -0
  42. syrtis_python_client_internal/entity/generated/artifact_generated.py +26 -17
  43. syrtis_python_client_internal/entity/generated/content_type_generated.py +0 -3
  44. syrtis_python_client_internal/entity/generated/credential_generated.py +0 -3
  45. syrtis_python_client_internal/entity/generated/credential_parameter_generated.py +0 -3
  46. syrtis_python_client_internal/entity/generated/dashboard_generated.py +0 -3
  47. syrtis_python_client_internal/entity/generated/directory_generated.py +0 -3
  48. syrtis_python_client_internal/entity/generated/evaluation_case_generated.py +37 -0
  49. syrtis_python_client_internal/entity/generated/evaluation_generated.py +64 -0
  50. syrtis_python_client_internal/entity/generated/evaluation_run_generated.py +28 -0
  51. syrtis_python_client_internal/entity/generated/extension_generated.py +0 -3
  52. syrtis_python_client_internal/entity/generated/log_generated.py +0 -3
  53. syrtis_python_client_internal/entity/generated/model_generated.py +0 -3
  54. syrtis_python_client_internal/entity/generated/model_provider_generated.py +0 -3
  55. syrtis_python_client_internal/entity/generated/panel_generated.py +0 -3
  56. syrtis_python_client_internal/entity/generated/pipeline_generated.py +20 -20
  57. syrtis_python_client_internal/entity/generated/pipeline_projection_generated.py +1 -1
  58. syrtis_python_client_internal/entity/generated/pipeline_run_generated.py +37 -0
  59. syrtis_python_client_internal/entity/generated/project_generated.py +6 -3
  60. syrtis_python_client_internal/entity/generated/projection_config_generated.py +0 -9
  61. syrtis_python_client_internal/entity/generated/projection_generated.py +13 -13
  62. syrtis_python_client_internal/entity/generated/projection_relation_generated.py +5 -14
  63. syrtis_python_client_internal/entity/generated/slot_filter_generated.py +28 -0
  64. syrtis_python_client_internal/entity/generated/source_generated.py +4 -4
  65. syrtis_python_client_internal/entity/generated/storage_generated.py +0 -3
  66. syrtis_python_client_internal/entity/pipeline_run.py +13 -0
  67. syrtis_python_client_internal/entity/slot_filter.py +13 -0
  68. syrtis_python_client_internal/repository/evaluation_case_repository.py +8 -0
  69. syrtis_python_client_internal/repository/evaluation_repository.py +8 -0
  70. syrtis_python_client_internal/repository/evaluation_run_repository.py +8 -0
  71. syrtis_python_client_internal/repository/pipeline_run_repository.py +8 -0
  72. syrtis_python_client_internal/repository/slot_filter_repository.py +8 -0
  73. {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/METADATA +3 -3
  74. {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/RECORD +76 -46
  75. {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/WHEEL +0 -0
  76. {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/entry_points.txt +0 -0
@@ -1,71 +1,7 @@
1
1
  {
2
2
  "name": "pipeline",
3
+ "description": "A project's pipeline: projections reading one another from the sources\ndown, each computed by an operator (syrtis-python-dataflow, run by the\ncore). What each of its projections computes is kept in a storage, the\nprojection's own or its project's; a run of it is a\nPipelineRun.\nKept in versions, as a scenario is (VersionedEntityTrait): each version a\nwhole copy — its projections, their configs, their links — with ids of\nits own, so that what asks for a version keeps it; a published version is\nno longer changed. A version starts with no run and nothing computed: what\nthe version before computed stays with it.",
3
4
  "properties": [
4
- {
5
- "name": "secureId",
6
- "type": "string",
7
- "orm": {
8
- "kind": "field",
9
- "column": "secure_id",
10
- "type": "string",
11
- "nullable": false,
12
- "unique": false,
13
- "id": false,
14
- "generated": false,
15
- "length": 255
16
- }
17
- },
18
- {
19
- "name": "versionMajor",
20
- "type": "int",
21
- "default": 0,
22
- "orm": {
23
- "kind": "field",
24
- "column": "version_major",
25
- "type": "integer",
26
- "nullable": false,
27
- "unique": false,
28
- "id": false,
29
- "generated": false,
30
- "options": {
31
- "default": 0
32
- }
33
- }
34
- },
35
- {
36
- "name": "versionMinor",
37
- "type": "int",
38
- "default": 0,
39
- "orm": {
40
- "kind": "field",
41
- "column": "version_minor",
42
- "type": "integer",
43
- "nullable": false,
44
- "unique": false,
45
- "id": false,
46
- "generated": false,
47
- "options": {
48
- "default": 0
49
- }
50
- }
51
- },
52
- {
53
- "name": "versionPatch",
54
- "type": "int",
55
- "default": 0,
56
- "orm": {
57
- "kind": "field",
58
- "column": "version_patch",
59
- "type": "integer",
60
- "nullable": false,
61
- "unique": false,
62
- "id": false,
63
- "generated": false,
64
- "options": {
65
- "default": 0
66
- }
67
- }
68
- },
69
5
  {
70
6
  "name": "title",
71
7
  "type": "string",
@@ -109,16 +45,28 @@
109
45
  }
110
46
  },
111
47
  {
112
- "name": "environment",
113
- "type": "relation",
48
+ "name": "lineage",
49
+ "type": "Symfony\\Component\\Uid\\Uuid",
50
+ "orm": {
51
+ "kind": "field",
52
+ "column": "lineage",
53
+ "type": "uuid",
54
+ "nullable": false,
55
+ "unique": false,
56
+ "id": false,
57
+ "generated": false
58
+ }
59
+ },
60
+ {
61
+ "name": "previousVersion",
62
+ "type": "self",
114
63
  "nullable": true,
115
64
  "default": null,
116
- "target": "environment",
117
65
  "orm": {
118
66
  "kind": "association",
119
67
  "association_type": "many_to_one",
120
- "target_entity": "App\\Entity\\Environment",
121
- "target": "environment",
68
+ "target_entity": "App\\Entity\\Pipeline",
69
+ "target": "pipeline",
122
70
  "mapped_by": null,
123
71
  "inversed_by": null,
124
72
  "is_owning_side": true,
@@ -127,15 +75,82 @@
127
75
  "fetch": 2,
128
76
  "join_columns": [
129
77
  {
130
- "name": "environment_id",
78
+ "name": "previous_version_id",
131
79
  "referenced_column_name": "id",
132
- "nullable": false,
80
+ "nullable": true,
133
81
  "unique": false,
134
- "on_delete": null
82
+ "on_delete": "SET NULL"
135
83
  }
136
84
  ]
137
85
  }
138
86
  },
87
+ {
88
+ "name": "datePublished",
89
+ "type": "relation",
90
+ "nullable": true,
91
+ "default": null,
92
+ "target": "date_time_immutable",
93
+ "orm": {
94
+ "kind": "field",
95
+ "column": "date_published",
96
+ "type": "datetime_immutable",
97
+ "nullable": true,
98
+ "unique": false,
99
+ "id": false,
100
+ "generated": false
101
+ }
102
+ },
103
+ {
104
+ "name": "archived",
105
+ "type": "bool",
106
+ "default": false,
107
+ "orm": {
108
+ "kind": "field",
109
+ "column": "archived",
110
+ "type": "boolean",
111
+ "nullable": false,
112
+ "unique": false,
113
+ "id": false,
114
+ "generated": false,
115
+ "options": {
116
+ "default": false
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "name": "versionMajor",
122
+ "type": "int",
123
+ "default": 0,
124
+ "orm": {
125
+ "kind": "field",
126
+ "column": "version_major",
127
+ "type": "integer",
128
+ "nullable": false,
129
+ "unique": false,
130
+ "id": false,
131
+ "generated": false,
132
+ "options": {
133
+ "default": 0
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "name": "versionMinor",
139
+ "type": "int",
140
+ "default": 0,
141
+ "orm": {
142
+ "kind": "field",
143
+ "column": "version_minor",
144
+ "type": "integer",
145
+ "nullable": false,
146
+ "unique": false,
147
+ "id": false,
148
+ "generated": false,
149
+ "options": {
150
+ "default": 0
151
+ }
152
+ }
153
+ },
139
154
  {
140
155
  "name": "id",
141
156
  "type": "Symfony\\Component\\Uid\\Uuid",
@@ -151,51 +166,44 @@
151
166
  "default": null
152
167
  },
153
168
  {
154
- "name": "pipelineOperators",
169
+ "name": "projections",
155
170
  "type": "collection",
156
- "description": "PipelineProjection>",
157
- "target": "pipeline_projection",
171
+ "description": "Projection>",
172
+ "target": "projection",
158
173
  "orm": {
159
174
  "kind": "association",
160
175
  "association_type": "one_to_many",
161
- "target_entity": "App\\Entity\\PipelineProjection",
162
- "target": "pipeline_projection",
176
+ "target_entity": "App\\Entity\\Projection",
177
+ "target": "projection",
163
178
  "mapped_by": "pipeline",
164
179
  "inversed_by": null,
165
180
  "is_owning_side": false,
166
181
  "orphan_removal": true,
167
182
  "cascade": [
183
+ "persist",
168
184
  "remove"
169
185
  ],
170
186
  "fetch": 2
171
187
  }
172
188
  },
173
189
  {
174
- "name": "entrypoint",
175
- "type": "relation",
176
- "nullable": true,
177
- "default": null,
178
- "target": "projection",
190
+ "name": "runs",
191
+ "type": "collection",
192
+ "description": "PipelineRun>",
193
+ "target": "pipeline_run",
179
194
  "orm": {
180
195
  "kind": "association",
181
- "association_type": "many_to_one",
182
- "target_entity": "App\\Entity\\Projection",
183
- "target": "projection",
184
- "mapped_by": null,
185
- "inversed_by": "entrypointForScenarios",
186
- "is_owning_side": true,
187
- "orphan_removal": false,
188
- "cascade": {},
189
- "fetch": 2,
190
- "join_columns": [
191
- {
192
- "name": "entrypoint_id",
193
- "referenced_column_name": "id",
194
- "nullable": true,
195
- "unique": false,
196
- "on_delete": "SET NULL"
197
- }
198
- ]
196
+ "association_type": "one_to_many",
197
+ "target_entity": "App\\Entity\\PipelineRun",
198
+ "target": "pipeline_run",
199
+ "mapped_by": "pipeline",
200
+ "inversed_by": null,
201
+ "is_owning_side": false,
202
+ "orphan_removal": true,
203
+ "cascade": [
204
+ "remove"
205
+ ],
206
+ "fetch": 2
199
207
  }
200
208
  }
201
209
  ],
@@ -205,7 +213,13 @@
205
213
  "identifier": [
206
214
  "id"
207
215
  ],
208
- "indexes": {},
216
+ "indexes": {
217
+ "pipeline_lineage": {
218
+ "columns": [
219
+ "lineage"
220
+ ]
221
+ }
222
+ },
209
223
  "unique_constraints": {},
210
224
  "fields": {
211
225
  "id": {
@@ -217,9 +231,9 @@
217
231
  "id": true,
218
232
  "generated": false
219
233
  },
220
- "secureId": {
234
+ "title": {
221
235
  "kind": "field",
222
- "column": "secure_id",
236
+ "column": "title",
223
237
  "type": "string",
224
238
  "nullable": false,
225
239
  "unique": false,
@@ -227,33 +241,39 @@
227
241
  "generated": false,
228
242
  "length": 255
229
243
  },
230
- "versionMajor": {
244
+ "lineage": {
231
245
  "kind": "field",
232
- "column": "version_major",
233
- "type": "integer",
246
+ "column": "lineage",
247
+ "type": "uuid",
234
248
  "nullable": false,
235
249
  "unique": false,
236
250
  "id": false,
237
- "generated": false,
238
- "options": {
239
- "default": 0
240
- }
251
+ "generated": false
241
252
  },
242
- "versionMinor": {
253
+ "datePublished": {
243
254
  "kind": "field",
244
- "column": "version_minor",
245
- "type": "integer",
255
+ "column": "date_published",
256
+ "type": "datetime_immutable",
257
+ "nullable": true,
258
+ "unique": false,
259
+ "id": false,
260
+ "generated": false
261
+ },
262
+ "archived": {
263
+ "kind": "field",
264
+ "column": "archived",
265
+ "type": "boolean",
246
266
  "nullable": false,
247
267
  "unique": false,
248
268
  "id": false,
249
269
  "generated": false,
250
270
  "options": {
251
- "default": 0
271
+ "default": false
252
272
  }
253
273
  },
254
- "versionPatch": {
274
+ "versionMajor": {
255
275
  "kind": "field",
256
- "column": "version_patch",
276
+ "column": "version_major",
257
277
  "type": "integer",
258
278
  "nullable": false,
259
279
  "unique": false,
@@ -263,52 +283,48 @@
263
283
  "default": 0
264
284
  }
265
285
  },
266
- "title": {
286
+ "versionMinor": {
267
287
  "kind": "field",
268
- "column": "title",
269
- "type": "string",
288
+ "column": "version_minor",
289
+ "type": "integer",
270
290
  "nullable": false,
271
291
  "unique": false,
272
292
  "id": false,
273
293
  "generated": false,
274
- "length": 255
294
+ "options": {
295
+ "default": 0
296
+ }
275
297
  }
276
298
  },
277
299
  "associations": {
278
- "pipelineOperators": {
300
+ "projections": {
279
301
  "kind": "association",
280
302
  "association_type": "one_to_many",
281
- "target_entity": "App\\Entity\\PipelineProjection",
282
- "target": "pipeline_projection",
303
+ "target_entity": "App\\Entity\\Projection",
304
+ "target": "projection",
283
305
  "mapped_by": "pipeline",
284
306
  "inversed_by": null,
285
307
  "is_owning_side": false,
286
308
  "orphan_removal": true,
287
309
  "cascade": [
310
+ "persist",
288
311
  "remove"
289
312
  ],
290
313
  "fetch": 2
291
314
  },
292
- "entrypoint": {
315
+ "runs": {
293
316
  "kind": "association",
294
- "association_type": "many_to_one",
295
- "target_entity": "App\\Entity\\Projection",
296
- "target": "projection",
297
- "mapped_by": null,
298
- "inversed_by": "entrypointForScenarios",
299
- "is_owning_side": true,
300
- "orphan_removal": false,
301
- "cascade": {},
302
- "fetch": 2,
303
- "join_columns": [
304
- {
305
- "name": "entrypoint_id",
306
- "referenced_column_name": "id",
307
- "nullable": true,
308
- "unique": false,
309
- "on_delete": "SET NULL"
310
- }
311
- ]
317
+ "association_type": "one_to_many",
318
+ "target_entity": "App\\Entity\\PipelineRun",
319
+ "target": "pipeline_run",
320
+ "mapped_by": "pipeline",
321
+ "inversed_by": null,
322
+ "is_owning_side": false,
323
+ "orphan_removal": true,
324
+ "cascade": [
325
+ "remove"
326
+ ],
327
+ "fetch": 2
312
328
  },
313
329
  "project": {
314
330
  "kind": "association",
@@ -331,11 +347,11 @@
331
347
  }
332
348
  ]
333
349
  },
334
- "environment": {
350
+ "previousVersion": {
335
351
  "kind": "association",
336
352
  "association_type": "many_to_one",
337
- "target_entity": "App\\Entity\\Environment",
338
- "target": "environment",
353
+ "target_entity": "App\\Entity\\Pipeline",
354
+ "target": "pipeline",
339
355
  "mapped_by": null,
340
356
  "inversed_by": null,
341
357
  "is_owning_side": true,
@@ -344,11 +360,11 @@
344
360
  "fetch": 2,
345
361
  "join_columns": [
346
362
  {
347
- "name": "environment_id",
363
+ "name": "previous_version_id",
348
364
  "referenced_column_name": "id",
349
- "nullable": false,
365
+ "nullable": true,
350
366
  "unique": false,
351
- "on_delete": null
367
+ "on_delete": "SET NULL"
352
368
  }
353
369
  ]
354
370
  }