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,7 @@
1
1
  {
2
2
  "name": "projection_relation",
3
+ "description": "What a projection reads: an output port of another, into one of its\noperator's input ports. The ports are named as the operators declare them\n(App\\Operator); `default` for most.",
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
5
  {
19
6
  "name": "id",
20
7
  "type": "Symfony\\Component\\Uid\\Uuid",
@@ -32,6 +19,8 @@
32
19
  {
33
20
  "name": "projectionSource",
34
21
  "type": "relation",
22
+ "nullable": true,
23
+ "default": null,
35
24
  "target": "projection",
36
25
  "orm": {
37
26
  "kind": "association",
@@ -53,13 +42,13 @@
53
42
  "on_delete": "CASCADE"
54
43
  }
55
44
  ]
56
- },
57
- "nullable": true,
58
- "default": null
45
+ }
59
46
  },
60
47
  {
61
48
  "name": "projectionTarget",
62
49
  "type": "relation",
50
+ "nullable": true,
51
+ "default": null,
63
52
  "target": "projection",
64
53
  "orm": {
65
54
  "kind": "association",
@@ -81,65 +70,41 @@
81
70
  "on_delete": "CASCADE"
82
71
  }
83
72
  ]
84
- },
85
- "nullable": true,
86
- "default": null
73
+ }
87
74
  },
88
75
  {
89
76
  "name": "portSource",
90
- "type": "relation",
91
- "target": "operator_port",
77
+ "type": "string",
78
+ "default": "default",
92
79
  "orm": {
93
- "kind": "association",
94
- "association_type": "many_to_one",
95
- "target_entity": "App\\Entity\\OperatorPort",
96
- "target": "operator_port",
97
- "mapped_by": null,
98
- "inversed_by": null,
99
- "is_owning_side": true,
100
- "orphan_removal": false,
101
- "cascade": {},
102
- "fetch": 2,
103
- "join_columns": [
104
- {
105
- "name": "port_source_id",
106
- "referenced_column_name": "id",
107
- "nullable": false,
108
- "unique": false,
109
- "on_delete": "CASCADE"
110
- }
111
- ]
80
+ "kind": "field",
81
+ "column": "port_source",
82
+ "type": "string",
83
+ "nullable": false,
84
+ "unique": false,
85
+ "id": false,
86
+ "generated": false,
87
+ "length": 64
112
88
  },
113
- "nullable": true,
114
- "default": null
89
+ "target": "operator_port",
90
+ "nullable": true
115
91
  },
116
92
  {
117
93
  "name": "portTarget",
118
- "type": "relation",
119
- "target": "operator_port",
94
+ "type": "string",
95
+ "default": "default",
120
96
  "orm": {
121
- "kind": "association",
122
- "association_type": "many_to_one",
123
- "target_entity": "App\\Entity\\OperatorPort",
124
- "target": "operator_port",
125
- "mapped_by": null,
126
- "inversed_by": null,
127
- "is_owning_side": true,
128
- "orphan_removal": false,
129
- "cascade": {},
130
- "fetch": 2,
131
- "join_columns": [
132
- {
133
- "name": "port_target_id",
134
- "referenced_column_name": "id",
135
- "nullable": false,
136
- "unique": false,
137
- "on_delete": "CASCADE"
138
- }
139
- ]
97
+ "kind": "field",
98
+ "column": "port_target",
99
+ "type": "string",
100
+ "nullable": false,
101
+ "unique": false,
102
+ "id": false,
103
+ "generated": false,
104
+ "length": 64
140
105
  },
141
- "nullable": true,
142
- "default": null
106
+ "target": "operator_port",
107
+ "nullable": true
143
108
  }
144
109
  ],
145
110
  "orm": {
@@ -160,15 +125,25 @@
160
125
  "id": true,
161
126
  "generated": false
162
127
  },
163
- "secureId": {
128
+ "portSource": {
164
129
  "kind": "field",
165
- "column": "secure_id",
130
+ "column": "port_source",
166
131
  "type": "string",
167
132
  "nullable": false,
168
133
  "unique": false,
169
134
  "id": false,
170
135
  "generated": false,
171
- "length": 255
136
+ "length": 64
137
+ },
138
+ "portTarget": {
139
+ "kind": "field",
140
+ "column": "port_target",
141
+ "type": "string",
142
+ "nullable": false,
143
+ "unique": false,
144
+ "id": false,
145
+ "generated": false,
146
+ "length": 64
172
147
  }
173
148
  },
174
149
  "associations": {
@@ -213,48 +188,6 @@
213
188
  "on_delete": "CASCADE"
214
189
  }
215
190
  ]
216
- },
217
- "portSource": {
218
- "kind": "association",
219
- "association_type": "many_to_one",
220
- "target_entity": "App\\Entity\\OperatorPort",
221
- "target": "operator_port",
222
- "mapped_by": null,
223
- "inversed_by": null,
224
- "is_owning_side": true,
225
- "orphan_removal": false,
226
- "cascade": {},
227
- "fetch": 2,
228
- "join_columns": [
229
- {
230
- "name": "port_source_id",
231
- "referenced_column_name": "id",
232
- "nullable": false,
233
- "unique": false,
234
- "on_delete": "CASCADE"
235
- }
236
- ]
237
- },
238
- "portTarget": {
239
- "kind": "association",
240
- "association_type": "many_to_one",
241
- "target_entity": "App\\Entity\\OperatorPort",
242
- "target": "operator_port",
243
- "mapped_by": null,
244
- "inversed_by": null,
245
- "is_owning_side": true,
246
- "orphan_removal": false,
247
- "cascade": {},
248
- "fetch": 2,
249
- "join_columns": [
250
- {
251
- "name": "port_target_id",
252
- "referenced_column_name": "id",
253
- "nullable": false,
254
- "unique": false,
255
- "on_delete": "CASCADE"
256
- }
257
- ]
258
191
  }
259
192
  }
260
193
  }
@@ -0,0 +1,189 @@
1
+ {
2
+ "name": "slot_filter",
3
+ "description": "A rule of a job's contract, held by one of its two boundaries: on its\nstart, a message a request may bring in; on its end, a message a request\ngives back. It names what a message must be to pass — of a content type,\nor of one descending from it; named so; carrying every one of its stamps —,\neach left empty asking nothing. A message passes a boundary when one of\nits rules takes it; a boundary with no rule lets nothing through, and a\nrule asking nothing lets everything (`isOpen()`).",
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": "slot",
20
+ "type": "relation",
21
+ "nullable": true,
22
+ "default": null,
23
+ "target": "slot",
24
+ "orm": {
25
+ "kind": "association",
26
+ "association_type": "many_to_one",
27
+ "target_entity": "App\\Entity\\Slot",
28
+ "target": "slot",
29
+ "mapped_by": null,
30
+ "inversed_by": "slotFilters",
31
+ "is_owning_side": true,
32
+ "orphan_removal": false,
33
+ "cascade": {},
34
+ "fetch": 2,
35
+ "join_columns": [
36
+ {
37
+ "name": "slot_id",
38
+ "referenced_column_name": "id",
39
+ "nullable": false,
40
+ "unique": false,
41
+ "on_delete": "CASCADE"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "position",
48
+ "type": "int",
49
+ "default": 0,
50
+ "orm": {
51
+ "kind": "field",
52
+ "column": "position",
53
+ "type": "integer",
54
+ "nullable": false,
55
+ "unique": false,
56
+ "id": false,
57
+ "generated": false
58
+ }
59
+ },
60
+ {
61
+ "name": "contentType",
62
+ "type": "string",
63
+ "nullable": true,
64
+ "default": null,
65
+ "orm": {
66
+ "kind": "field",
67
+ "column": "content_type",
68
+ "type": "string",
69
+ "nullable": true,
70
+ "unique": false,
71
+ "id": false,
72
+ "generated": false,
73
+ "length": 100
74
+ }
75
+ },
76
+ {
77
+ "name": "name",
78
+ "type": "string",
79
+ "nullable": true,
80
+ "default": null,
81
+ "orm": {
82
+ "kind": "field",
83
+ "column": "name",
84
+ "type": "string",
85
+ "nullable": true,
86
+ "unique": false,
87
+ "id": false,
88
+ "generated": false,
89
+ "length": 255
90
+ }
91
+ },
92
+ {
93
+ "name": "stamps",
94
+ "type": "array",
95
+ "description": "The names of the stamps a message must all carry.",
96
+ "default": {},
97
+ "orm": {
98
+ "kind": "field",
99
+ "column": "stamps",
100
+ "type": "json",
101
+ "nullable": false,
102
+ "unique": false,
103
+ "id": false,
104
+ "generated": false
105
+ }
106
+ }
107
+ ],
108
+ "orm": {
109
+ "class": "App\\Entity\\SlotFilter",
110
+ "table": "slot_filter",
111
+ "identifier": [
112
+ "id"
113
+ ],
114
+ "indexes": {},
115
+ "unique_constraints": {},
116
+ "fields": {
117
+ "id": {
118
+ "kind": "field",
119
+ "column": "id",
120
+ "type": "uuid",
121
+ "nullable": false,
122
+ "unique": true,
123
+ "id": true,
124
+ "generated": false
125
+ },
126
+ "position": {
127
+ "kind": "field",
128
+ "column": "position",
129
+ "type": "integer",
130
+ "nullable": false,
131
+ "unique": false,
132
+ "id": false,
133
+ "generated": false
134
+ },
135
+ "contentType": {
136
+ "kind": "field",
137
+ "column": "content_type",
138
+ "type": "string",
139
+ "nullable": true,
140
+ "unique": false,
141
+ "id": false,
142
+ "generated": false,
143
+ "length": 100
144
+ },
145
+ "name": {
146
+ "kind": "field",
147
+ "column": "name",
148
+ "type": "string",
149
+ "nullable": true,
150
+ "unique": false,
151
+ "id": false,
152
+ "generated": false,
153
+ "length": 255
154
+ },
155
+ "stamps": {
156
+ "kind": "field",
157
+ "column": "stamps",
158
+ "type": "json",
159
+ "nullable": false,
160
+ "unique": false,
161
+ "id": false,
162
+ "generated": false
163
+ }
164
+ },
165
+ "associations": {
166
+ "slot": {
167
+ "kind": "association",
168
+ "association_type": "many_to_one",
169
+ "target_entity": "App\\Entity\\Slot",
170
+ "target": "slot",
171
+ "mapped_by": null,
172
+ "inversed_by": "slotFilters",
173
+ "is_owning_side": true,
174
+ "orphan_removal": false,
175
+ "cascade": {},
176
+ "fetch": 2,
177
+ "join_columns": [
178
+ {
179
+ "name": "slot_id",
180
+ "referenced_column_name": "id",
181
+ "nullable": false,
182
+ "unique": false,
183
+ "on_delete": "CASCADE"
184
+ }
185
+ ]
186
+ }
187
+ }
188
+ }
189
+ }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "source",
3
+ "description": "What a project reads its data from: a client's database, a directory, an\napi, reached through one of the platform's credentials. Syrtis reads it,\nnever writes to it — what it produces goes to a storage. The credential\nsays how to connect, the locator what to read there: a table, a query, a\ncollection, a path.",
3
4
  "properties": [
4
5
  {
5
6
  "name": "project",
@@ -27,20 +28,6 @@
27
28
  ]
28
29
  }
29
30
  },
30
- {
31
- "name": "secureId",
32
- "type": "string",
33
- "orm": {
34
- "kind": "field",
35
- "column": "secure_id",
36
- "type": "string",
37
- "nullable": false,
38
- "unique": false,
39
- "id": false,
40
- "generated": false,
41
- "length": 255
42
- }
43
- },
44
31
  {
45
32
  "name": "title",
46
33
  "type": "string",
@@ -98,6 +85,21 @@
98
85
  "generated": false
99
86
  },
100
87
  "default": null
88
+ },
89
+ {
90
+ "name": "locator",
91
+ "type": "string",
92
+ "nullable": true,
93
+ "default": null,
94
+ "orm": {
95
+ "kind": "field",
96
+ "column": "locator",
97
+ "type": "text",
98
+ "nullable": true,
99
+ "unique": false,
100
+ "id": false,
101
+ "generated": false
102
+ }
101
103
  }
102
104
  ],
103
105
  "orm": {
@@ -118,15 +120,14 @@
118
120
  "id": true,
119
121
  "generated": false
120
122
  },
121
- "secureId": {
123
+ "locator": {
122
124
  "kind": "field",
123
- "column": "secure_id",
124
- "type": "string",
125
- "nullable": false,
125
+ "column": "locator",
126
+ "type": "text",
127
+ "nullable": true,
126
128
  "unique": false,
127
129
  "id": false,
128
- "generated": false,
129
- "length": 255
130
+ "generated": false
130
131
  },
131
132
  "title": {
132
133
  "kind": "field",
@@ -2,20 +2,6 @@
2
2
  "name": "storage",
3
3
  "description": "Where the pipelines write what they produce (syrtis-symfony-storage),\nthrough one of the credentials.",
4
4
  "properties": [
5
- {
6
- "name": "secureId",
7
- "type": "string",
8
- "orm": {
9
- "kind": "field",
10
- "column": "secure_id",
11
- "type": "string",
12
- "nullable": false,
13
- "unique": false,
14
- "id": false,
15
- "generated": false,
16
- "length": 255
17
- }
18
- },
19
5
  {
20
6
  "name": "credential",
21
7
  "type": "relation",
@@ -93,16 +79,6 @@
93
79
  "id": true,
94
80
  "generated": false
95
81
  },
96
- "secureId": {
97
- "kind": "field",
98
- "column": "secure_id",
99
- "type": "string",
100
- "nullable": false,
101
- "unique": false,
102
- "id": false,
103
- "generated": false,
104
- "length": 255
105
- },
106
82
  "title": {
107
83
  "kind": "field",
108
84
  "column": "title",
@@ -42,6 +42,9 @@ from syrtis_python_client_internal.database.repository.dashboard_repository impo
42
42
  from syrtis_python_client_internal.database.repository.directory_repository import DirectoryRepository
43
43
  from syrtis_python_client_internal.database.repository.document_directory_repository import DocumentDirectoryRepository
44
44
  from syrtis_python_client_internal.database.repository.embedding_repository import EmbeddingRepository
45
+ from syrtis_python_client_internal.database.repository.evaluation_repository import EvaluationRepository
46
+ from syrtis_python_client_internal.database.repository.evaluation_case_repository import EvaluationCaseRepository
47
+ from syrtis_python_client_internal.database.repository.evaluation_run_repository import EvaluationRunRepository
45
48
  from syrtis_python_client_internal.database.repository.extension_repository import ExtensionRepository
46
49
  from syrtis_python_client_internal.database.repository.instruction_repository import InstructionRepository
47
50
  from syrtis_python_client_internal.database.repository.internal_sample_repository import InternalSampleRepository
@@ -56,6 +59,7 @@ from syrtis_python_client_internal.database.repository.panel_stamp_repository im
56
59
  from syrtis_python_client_internal.database.repository.pipeline_repository import PipelineRepository
57
60
  from syrtis_python_client_internal.database.repository.pipeline_operator_repository import PipelineOperatorRepository
58
61
  from syrtis_python_client_internal.database.repository.pipeline_projection_repository import PipelineProjectionRepository
62
+ from syrtis_python_client_internal.database.repository.pipeline_run_repository import PipelineRunRepository
59
63
  from syrtis_python_client_internal.database.repository.project_repository import ProjectRepository
60
64
  from syrtis_python_client_internal.database.repository.projection_repository import ProjectionRepository
61
65
  from syrtis_python_client_internal.database.repository.projection_config_repository import ProjectionConfigRepository
@@ -64,6 +68,7 @@ from syrtis_python_client_internal.database.repository.prompt_repository import
64
68
  from syrtis_python_client_internal.database.repository.schema_repository import SchemaRepository
65
69
  from syrtis_python_client_internal.database.repository.search_result_repository import SearchResultRepository
66
70
  from syrtis_python_client_internal.database.repository.session_group_repository import SessionGroupRepository
71
+ from syrtis_python_client_internal.database.repository.slot_filter_repository import SlotFilterRepository
67
72
  from syrtis_python_client_internal.database.repository.slot_input_repository import SlotInputRepository
68
73
  from syrtis_python_client_internal.database.repository.slot_input_block_repository import SlotInputBlockRepository
69
74
  from syrtis_python_client_internal.database.repository.slot_marking_repository import SlotMarkingRepository
@@ -125,6 +130,9 @@ generated_repositories = [
125
130
  DirectoryRepository,
126
131
  DocumentDirectoryRepository,
127
132
  EmbeddingRepository,
133
+ EvaluationRepository,
134
+ EvaluationCaseRepository,
135
+ EvaluationRunRepository,
128
136
  ExtensionRepository,
129
137
  InstructionRepository,
130
138
  InternalSampleRepository,
@@ -139,6 +147,7 @@ generated_repositories = [
139
147
  PipelineRepository,
140
148
  PipelineOperatorRepository,
141
149
  PipelineProjectionRepository,
150
+ PipelineRunRepository,
142
151
  ProjectRepository,
143
152
  ProjectionRepository,
144
153
  ProjectionConfigRepository,
@@ -147,6 +156,7 @@ generated_repositories = [
147
156
  SchemaRepository,
148
157
  SearchResultRepository,
149
158
  SessionGroupRepository,
159
+ SlotFilterRepository,
150
160
  SlotInputRepository,
151
161
  SlotInputBlockRepository,
152
162
  SlotMarkingRepository,
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client_internal.database.repository.generated.evaluation_case_repository_generated import (
4
+ EvaluationCaseRepositoryGenerated,
5
+ )
6
+
7
+ __all__ = ["EvaluationCaseRepository"]
8
+
9
+
10
+ class EvaluationCaseRepository(EvaluationCaseRepositoryGenerated):
11
+ pass
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client_internal.database.repository.generated.evaluation_repository_generated import (
4
+ EvaluationRepositoryGenerated,
5
+ )
6
+
7
+ __all__ = ["EvaluationRepository"]
8
+
9
+
10
+ class EvaluationRepository(EvaluationRepositoryGenerated):
11
+ pass
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client_internal.database.repository.generated.evaluation_run_repository_generated import (
4
+ EvaluationRunRepositoryGenerated,
5
+ )
6
+
7
+ __all__ = ["EvaluationRunRepository"]
8
+
9
+
10
+ class EvaluationRunRepository(EvaluationRunRepositoryGenerated):
11
+ pass
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.repository.abstract_repository import AbstractRepository
4
+
5
+ from syrtis_python_client_internal.entity.evaluation_case import EvaluationCase
6
+
7
+
8
+ class EvaluationCaseRepositoryGenerated(AbstractRepository):
9
+ @classmethod
10
+ def get_entity_type(cls) -> type[EvaluationCase]:
11
+ return EvaluationCase
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.repository.abstract_repository import AbstractRepository
4
+
5
+ from syrtis_python_client_internal.entity.evaluation import Evaluation
6
+
7
+
8
+ class EvaluationRepositoryGenerated(AbstractRepository):
9
+ @classmethod
10
+ def get_entity_type(cls) -> type[Evaluation]:
11
+ return Evaluation
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.repository.abstract_repository import AbstractRepository
4
+
5
+ from syrtis_python_client_internal.entity.evaluation_run import EvaluationRun
6
+
7
+
8
+ class EvaluationRunRepositoryGenerated(AbstractRepository):
9
+ @classmethod
10
+ def get_entity_type(cls) -> type[EvaluationRun]:
11
+ return EvaluationRun
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.repository.abstract_repository import AbstractRepository
4
+
5
+ from syrtis_python_client_internal.entity.pipeline_run import PipelineRun
6
+
7
+
8
+ class PipelineRunRepositoryGenerated(AbstractRepository):
9
+ @classmethod
10
+ def get_entity_type(cls) -> type[PipelineRun]:
11
+ return PipelineRun
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.repository.abstract_repository import AbstractRepository
4
+
5
+ from syrtis_python_client_internal.entity.slot_filter import SlotFilter
6
+
7
+
8
+ class SlotFilterRepositoryGenerated(AbstractRepository):
9
+ @classmethod
10
+ def get_entity_type(cls) -> type[SlotFilter]:
11
+ return SlotFilter
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client_internal.database.repository.generated.pipeline_run_repository_generated import (
4
+ PipelineRunRepositoryGenerated,
5
+ )
6
+
7
+ __all__ = ["PipelineRunRepository"]
8
+
9
+
10
+ class PipelineRunRepository(PipelineRunRepositoryGenerated):
11
+ pass