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,20 +1,6 @@
1
1
  {
2
2
  "name": "credential_parameter",
3
3
  "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
4
  {
19
5
  "name": "name",
20
6
  "type": "string",
@@ -108,16 +94,6 @@
108
94
  "id": true,
109
95
  "generated": false
110
96
  },
111
- "secureId": {
112
- "kind": "field",
113
- "column": "secure_id",
114
- "type": "string",
115
- "nullable": false,
116
- "unique": false,
117
- "id": false,
118
- "generated": false,
119
- "length": 255
120
- },
121
97
  "name": {
122
98
  "kind": "field",
123
99
  "column": "name",
@@ -1,20 +1,6 @@
1
1
  {
2
2
  "name": "dashboard",
3
3
  "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
4
  {
19
5
  "name": "title",
20
6
  "type": "string",
@@ -135,16 +121,6 @@
135
121
  "id": true,
136
122
  "generated": false
137
123
  },
138
- "secureId": {
139
- "kind": "field",
140
- "column": "secure_id",
141
- "type": "string",
142
- "nullable": false,
143
- "unique": false,
144
- "id": false,
145
- "generated": false,
146
- "length": 255
147
- },
148
124
  "title": {
149
125
  "kind": "field",
150
126
  "column": "title",
@@ -1,20 +1,6 @@
1
1
  {
2
2
  "name": "directory",
3
3
  "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
4
  {
19
5
  "name": "name",
20
6
  "type": "string",
@@ -84,16 +70,6 @@
84
70
  "id": true,
85
71
  "generated": false
86
72
  },
87
- "secureId": {
88
- "kind": "field",
89
- "column": "secure_id",
90
- "type": "string",
91
- "nullable": false,
92
- "unique": false,
93
- "id": false,
94
- "generated": false,
95
- "length": 255
96
- },
97
73
  "name": {
98
74
  "kind": "field",
99
75
  "column": "name",
@@ -0,0 +1,482 @@
1
+ {
2
+ "name": "evaluation",
3
+ "description": "A request judged by a scenario — its evaluator —, apart from the request\nand whenever asked: the evaluator handed what the request received and\nwhat it gave, in a session of its own, and its `core/evaluation` message\nread back as the verdict, the score, the criteria.\nWaiting while the request judged still runs — a case played —, pending\nwhile the evaluator runs; done once read. A verdict `error` says\nthe request could not be judged — the evaluator refused what it was handed,\nor said nothing —, which is not a failure.",
4
+ "properties": [
5
+ {
6
+ "name": "id",
7
+ "type": "Symfony\\Component\\Uid\\Uuid",
8
+ "orm": {
9
+ "kind": "field",
10
+ "column": "id",
11
+ "type": "uuid",
12
+ "nullable": false,
13
+ "unique": true,
14
+ "id": true,
15
+ "generated": false
16
+ }
17
+ },
18
+ {
19
+ "name": "request",
20
+ "type": "relation",
21
+ "nullable": true,
22
+ "default": null,
23
+ "target": "request",
24
+ "orm": {
25
+ "kind": "association",
26
+ "association_type": "many_to_one",
27
+ "target_entity": "App\\Entity\\Request",
28
+ "target": "request",
29
+ "mapped_by": null,
30
+ "inversed_by": null,
31
+ "is_owning_side": true,
32
+ "orphan_removal": false,
33
+ "cascade": {},
34
+ "fetch": 2,
35
+ "join_columns": [
36
+ {
37
+ "name": "request_id",
38
+ "referenced_column_name": "id",
39
+ "nullable": false,
40
+ "unique": false,
41
+ "on_delete": "CASCADE"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "evaluator",
48
+ "type": "relation",
49
+ "nullable": true,
50
+ "default": null,
51
+ "target": "scenario",
52
+ "orm": {
53
+ "kind": "association",
54
+ "association_type": "many_to_one",
55
+ "target_entity": "App\\Entity\\Scenario",
56
+ "target": "scenario",
57
+ "mapped_by": null,
58
+ "inversed_by": null,
59
+ "is_owning_side": true,
60
+ "orphan_removal": false,
61
+ "cascade": {},
62
+ "fetch": 2,
63
+ "join_columns": [
64
+ {
65
+ "name": "evaluator_id",
66
+ "referenced_column_name": "id",
67
+ "nullable": false,
68
+ "unique": false,
69
+ "on_delete": "CASCADE"
70
+ }
71
+ ]
72
+ }
73
+ },
74
+ {
75
+ "name": "evaluatorRequest",
76
+ "type": "relation",
77
+ "nullable": true,
78
+ "default": null,
79
+ "target": "request",
80
+ "orm": {
81
+ "kind": "association",
82
+ "association_type": "many_to_one",
83
+ "target_entity": "App\\Entity\\Request",
84
+ "target": "request",
85
+ "mapped_by": null,
86
+ "inversed_by": null,
87
+ "is_owning_side": true,
88
+ "orphan_removal": false,
89
+ "cascade": {},
90
+ "fetch": 2,
91
+ "join_columns": [
92
+ {
93
+ "name": "evaluator_request_id",
94
+ "referenced_column_name": "id",
95
+ "nullable": true,
96
+ "unique": false,
97
+ "on_delete": "SET NULL"
98
+ }
99
+ ]
100
+ }
101
+ },
102
+ {
103
+ "name": "evaluationCase",
104
+ "type": "relation",
105
+ "nullable": true,
106
+ "default": null,
107
+ "target": "evaluation_case",
108
+ "orm": {
109
+ "kind": "association",
110
+ "association_type": "many_to_one",
111
+ "target_entity": "App\\Entity\\EvaluationCase",
112
+ "target": "evaluation_case",
113
+ "mapped_by": null,
114
+ "inversed_by": null,
115
+ "is_owning_side": true,
116
+ "orphan_removal": false,
117
+ "cascade": {},
118
+ "fetch": 2,
119
+ "join_columns": [
120
+ {
121
+ "name": "evaluation_case_id",
122
+ "referenced_column_name": "id",
123
+ "nullable": true,
124
+ "unique": false,
125
+ "on_delete": "SET NULL"
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ {
131
+ "name": "evaluationRun",
132
+ "type": "relation",
133
+ "nullable": true,
134
+ "default": null,
135
+ "target": "evaluation_run",
136
+ "orm": {
137
+ "kind": "association",
138
+ "association_type": "many_to_one",
139
+ "target_entity": "App\\Entity\\EvaluationRun",
140
+ "target": "evaluation_run",
141
+ "mapped_by": null,
142
+ "inversed_by": null,
143
+ "is_owning_side": true,
144
+ "orphan_removal": false,
145
+ "cascade": {},
146
+ "fetch": 2,
147
+ "join_columns": [
148
+ {
149
+ "name": "evaluation_run_id",
150
+ "referenced_column_name": "id",
151
+ "nullable": true,
152
+ "unique": false,
153
+ "on_delete": "SET NULL"
154
+ }
155
+ ]
156
+ }
157
+ },
158
+ {
159
+ "name": "user",
160
+ "type": "relation",
161
+ "nullable": true,
162
+ "default": null,
163
+ "target": "user",
164
+ "orm": {
165
+ "kind": "association",
166
+ "association_type": "many_to_one",
167
+ "target_entity": "App\\Entity\\User",
168
+ "target": "user",
169
+ "mapped_by": null,
170
+ "inversed_by": null,
171
+ "is_owning_side": true,
172
+ "orphan_removal": false,
173
+ "cascade": {},
174
+ "fetch": 2,
175
+ "join_columns": [
176
+ {
177
+ "name": "user_id",
178
+ "referenced_column_name": "id",
179
+ "nullable": true,
180
+ "unique": false,
181
+ "on_delete": "SET NULL"
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ {
187
+ "name": "status",
188
+ "type": "string",
189
+ "default": null,
190
+ "orm": {
191
+ "kind": "field",
192
+ "column": "status",
193
+ "type": "string",
194
+ "nullable": false,
195
+ "unique": false,
196
+ "id": false,
197
+ "generated": false,
198
+ "length": 16
199
+ }
200
+ },
201
+ {
202
+ "name": "verdict",
203
+ "type": "string",
204
+ "nullable": true,
205
+ "default": null,
206
+ "orm": {
207
+ "kind": "field",
208
+ "column": "verdict",
209
+ "type": "string",
210
+ "nullable": true,
211
+ "unique": false,
212
+ "id": false,
213
+ "generated": false,
214
+ "length": 16
215
+ }
216
+ },
217
+ {
218
+ "name": "score",
219
+ "type": "float",
220
+ "nullable": true,
221
+ "default": null,
222
+ "orm": {
223
+ "kind": "field",
224
+ "column": "score",
225
+ "type": "float",
226
+ "nullable": true,
227
+ "unique": false,
228
+ "id": false,
229
+ "generated": false
230
+ }
231
+ },
232
+ {
233
+ "name": "data",
234
+ "type": "array",
235
+ "nullable": true,
236
+ "default": null,
237
+ "orm": {
238
+ "kind": "field",
239
+ "column": "data",
240
+ "type": "json",
241
+ "nullable": true,
242
+ "unique": false,
243
+ "id": false,
244
+ "generated": false
245
+ }
246
+ },
247
+ {
248
+ "name": "dateCreated",
249
+ "type": "relation",
250
+ "target": "date_time_immutable",
251
+ "orm": {
252
+ "kind": "field",
253
+ "column": "date_created",
254
+ "type": "datetime_immutable",
255
+ "nullable": false,
256
+ "unique": false,
257
+ "id": false,
258
+ "generated": false
259
+ }
260
+ },
261
+ {
262
+ "name": "dateCompleted",
263
+ "type": "relation",
264
+ "nullable": true,
265
+ "default": null,
266
+ "target": "date_time_immutable",
267
+ "orm": {
268
+ "kind": "field",
269
+ "column": "date_completed",
270
+ "type": "datetime_immutable",
271
+ "nullable": true,
272
+ "unique": false,
273
+ "id": false,
274
+ "generated": false
275
+ }
276
+ }
277
+ ],
278
+ "orm": {
279
+ "class": "App\\Entity\\Evaluation",
280
+ "table": "evaluation",
281
+ "identifier": [
282
+ "id"
283
+ ],
284
+ "indexes": {},
285
+ "unique_constraints": {},
286
+ "fields": {
287
+ "id": {
288
+ "kind": "field",
289
+ "column": "id",
290
+ "type": "uuid",
291
+ "nullable": false,
292
+ "unique": true,
293
+ "id": true,
294
+ "generated": false
295
+ },
296
+ "status": {
297
+ "kind": "field",
298
+ "column": "status",
299
+ "type": "string",
300
+ "nullable": false,
301
+ "unique": false,
302
+ "id": false,
303
+ "generated": false,
304
+ "length": 16
305
+ },
306
+ "verdict": {
307
+ "kind": "field",
308
+ "column": "verdict",
309
+ "type": "string",
310
+ "nullable": true,
311
+ "unique": false,
312
+ "id": false,
313
+ "generated": false,
314
+ "length": 16
315
+ },
316
+ "score": {
317
+ "kind": "field",
318
+ "column": "score",
319
+ "type": "float",
320
+ "nullable": true,
321
+ "unique": false,
322
+ "id": false,
323
+ "generated": false
324
+ },
325
+ "data": {
326
+ "kind": "field",
327
+ "column": "data",
328
+ "type": "json",
329
+ "nullable": true,
330
+ "unique": false,
331
+ "id": false,
332
+ "generated": false
333
+ },
334
+ "dateCreated": {
335
+ "kind": "field",
336
+ "column": "date_created",
337
+ "type": "datetime_immutable",
338
+ "nullable": false,
339
+ "unique": false,
340
+ "id": false,
341
+ "generated": false
342
+ },
343
+ "dateCompleted": {
344
+ "kind": "field",
345
+ "column": "date_completed",
346
+ "type": "datetime_immutable",
347
+ "nullable": true,
348
+ "unique": false,
349
+ "id": false,
350
+ "generated": false
351
+ }
352
+ },
353
+ "associations": {
354
+ "request": {
355
+ "kind": "association",
356
+ "association_type": "many_to_one",
357
+ "target_entity": "App\\Entity\\Request",
358
+ "target": "request",
359
+ "mapped_by": null,
360
+ "inversed_by": null,
361
+ "is_owning_side": true,
362
+ "orphan_removal": false,
363
+ "cascade": {},
364
+ "fetch": 2,
365
+ "join_columns": [
366
+ {
367
+ "name": "request_id",
368
+ "referenced_column_name": "id",
369
+ "nullable": false,
370
+ "unique": false,
371
+ "on_delete": "CASCADE"
372
+ }
373
+ ]
374
+ },
375
+ "evaluator": {
376
+ "kind": "association",
377
+ "association_type": "many_to_one",
378
+ "target_entity": "App\\Entity\\Scenario",
379
+ "target": "scenario",
380
+ "mapped_by": null,
381
+ "inversed_by": null,
382
+ "is_owning_side": true,
383
+ "orphan_removal": false,
384
+ "cascade": {},
385
+ "fetch": 2,
386
+ "join_columns": [
387
+ {
388
+ "name": "evaluator_id",
389
+ "referenced_column_name": "id",
390
+ "nullable": false,
391
+ "unique": false,
392
+ "on_delete": "CASCADE"
393
+ }
394
+ ]
395
+ },
396
+ "evaluatorRequest": {
397
+ "kind": "association",
398
+ "association_type": "many_to_one",
399
+ "target_entity": "App\\Entity\\Request",
400
+ "target": "request",
401
+ "mapped_by": null,
402
+ "inversed_by": null,
403
+ "is_owning_side": true,
404
+ "orphan_removal": false,
405
+ "cascade": {},
406
+ "fetch": 2,
407
+ "join_columns": [
408
+ {
409
+ "name": "evaluator_request_id",
410
+ "referenced_column_name": "id",
411
+ "nullable": true,
412
+ "unique": false,
413
+ "on_delete": "SET NULL"
414
+ }
415
+ ]
416
+ },
417
+ "evaluationCase": {
418
+ "kind": "association",
419
+ "association_type": "many_to_one",
420
+ "target_entity": "App\\Entity\\EvaluationCase",
421
+ "target": "evaluation_case",
422
+ "mapped_by": null,
423
+ "inversed_by": null,
424
+ "is_owning_side": true,
425
+ "orphan_removal": false,
426
+ "cascade": {},
427
+ "fetch": 2,
428
+ "join_columns": [
429
+ {
430
+ "name": "evaluation_case_id",
431
+ "referenced_column_name": "id",
432
+ "nullable": true,
433
+ "unique": false,
434
+ "on_delete": "SET NULL"
435
+ }
436
+ ]
437
+ },
438
+ "evaluationRun": {
439
+ "kind": "association",
440
+ "association_type": "many_to_one",
441
+ "target_entity": "App\\Entity\\EvaluationRun",
442
+ "target": "evaluation_run",
443
+ "mapped_by": null,
444
+ "inversed_by": null,
445
+ "is_owning_side": true,
446
+ "orphan_removal": false,
447
+ "cascade": {},
448
+ "fetch": 2,
449
+ "join_columns": [
450
+ {
451
+ "name": "evaluation_run_id",
452
+ "referenced_column_name": "id",
453
+ "nullable": true,
454
+ "unique": false,
455
+ "on_delete": "SET NULL"
456
+ }
457
+ ]
458
+ },
459
+ "user": {
460
+ "kind": "association",
461
+ "association_type": "many_to_one",
462
+ "target_entity": "App\\Entity\\User",
463
+ "target": "user",
464
+ "mapped_by": null,
465
+ "inversed_by": null,
466
+ "is_owning_side": true,
467
+ "orphan_removal": false,
468
+ "cascade": {},
469
+ "fetch": 2,
470
+ "join_columns": [
471
+ {
472
+ "name": "user_id",
473
+ "referenced_column_name": "id",
474
+ "nullable": true,
475
+ "unique": false,
476
+ "on_delete": "SET NULL"
477
+ }
478
+ ]
479
+ }
480
+ }
481
+ }
482
+ }