syrtis-python-client-internal 2.3.0__py3-none-any.whl → 2.4.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.
@@ -1,7 +1,33 @@
1
1
  {
2
2
  "name": "artifact",
3
- "description": "One element of a projection, as its last run made it: written by the\ncore once the stage ends, the run before's rows gone. Its key is its\nidentity, kept by what derives from it; its parents are the keys it was\nmade from. What is kept here is its reference — the storage its content\nwas written to, and where in it (`locator`) — and what describes it; its\ncontent is in the storage, never here.",
3
+ "description": "A content kept in a storage, and what describes it: what is kept here is\nits reference — the storage its content was written to, and where in it\n(`locator`) —; its content is in the storage, never here.\nIt belongs to a project, and to a state of it (`scope`): a session's — a\nfile a request brought, a response a node kept —, or the shared one. In a\npipeline it is one element of a projection (`projection`), as the last\nrun in its scope made it: written by the core once the stage ends, the\nrows the run before left in that scope gone; its key is its identity,\nkept by what derives from it, its parents the keys it was made from. Out\nof one, a scenario's: its key is its id.\nSeveral artifacts may point at one content — one brought to a pipeline is\nits step's element too —: the content leaves its storage with the last of\nthem (ArtifactFileService::forget).",
4
4
  "properties": [
5
+ {
6
+ "name": "project",
7
+ "type": "relation",
8
+ "target": "project",
9
+ "orm": {
10
+ "kind": "association",
11
+ "association_type": "many_to_one",
12
+ "target_entity": "App\\Entity\\Project",
13
+ "target": "project",
14
+ "mapped_by": null,
15
+ "inversed_by": null,
16
+ "is_owning_side": true,
17
+ "orphan_removal": false,
18
+ "cascade": {},
19
+ "fetch": 2,
20
+ "join_columns": [
21
+ {
22
+ "name": "project_id",
23
+ "referenced_column_name": "id",
24
+ "nullable": false,
25
+ "unique": false,
26
+ "on_delete": null
27
+ }
28
+ ]
29
+ }
30
+ },
5
31
  {
6
32
  "name": "id",
7
33
  "type": "Symfony\\Component\\Uid\\Uuid",
@@ -37,13 +63,63 @@
37
63
  {
38
64
  "name": "projection_id",
39
65
  "referenced_column_name": "id",
40
- "nullable": false,
66
+ "nullable": true,
41
67
  "unique": false,
42
68
  "on_delete": "CASCADE"
43
69
  }
44
70
  ]
45
71
  }
46
72
  },
73
+ {
74
+ "name": "title",
75
+ "type": "string",
76
+ "nullable": true,
77
+ "default": null,
78
+ "orm": {
79
+ "kind": "field",
80
+ "column": "title",
81
+ "type": "string",
82
+ "nullable": true,
83
+ "unique": false,
84
+ "id": false,
85
+ "generated": false,
86
+ "length": 255
87
+ }
88
+ },
89
+ {
90
+ "name": "mimeType",
91
+ "type": "string",
92
+ "nullable": true,
93
+ "default": null,
94
+ "orm": {
95
+ "kind": "field",
96
+ "column": "mime_type",
97
+ "type": "string",
98
+ "nullable": true,
99
+ "unique": false,
100
+ "id": false,
101
+ "generated": false,
102
+ "length": 128
103
+ }
104
+ },
105
+ {
106
+ "name": "scope",
107
+ "type": "string",
108
+ "default": null,
109
+ "orm": {
110
+ "kind": "field",
111
+ "column": "scope",
112
+ "type": "string",
113
+ "nullable": false,
114
+ "unique": false,
115
+ "id": false,
116
+ "generated": false,
117
+ "length": 255,
118
+ "options": {
119
+ "default": "shared"
120
+ }
121
+ }
122
+ },
47
123
  {
48
124
  "name": "key",
49
125
  "type": "string",
@@ -208,6 +284,24 @@
208
284
  "projection_id",
209
285
  "position"
210
286
  ]
287
+ },
288
+ {
289
+ "columns": [
290
+ "projection_id",
291
+ "scope"
292
+ ]
293
+ },
294
+ {
295
+ "columns": [
296
+ "project_id",
297
+ "scope"
298
+ ]
299
+ },
300
+ {
301
+ "columns": [
302
+ "storage_id",
303
+ "locator"
304
+ ]
211
305
  }
212
306
  ],
213
307
  "unique_constraints": {},
@@ -221,6 +315,39 @@
221
315
  "id": true,
222
316
  "generated": false
223
317
  },
318
+ "title": {
319
+ "kind": "field",
320
+ "column": "title",
321
+ "type": "string",
322
+ "nullable": true,
323
+ "unique": false,
324
+ "id": false,
325
+ "generated": false,
326
+ "length": 255
327
+ },
328
+ "mimeType": {
329
+ "kind": "field",
330
+ "column": "mime_type",
331
+ "type": "string",
332
+ "nullable": true,
333
+ "unique": false,
334
+ "id": false,
335
+ "generated": false,
336
+ "length": 128
337
+ },
338
+ "scope": {
339
+ "kind": "field",
340
+ "column": "scope",
341
+ "type": "string",
342
+ "nullable": false,
343
+ "unique": false,
344
+ "id": false,
345
+ "generated": false,
346
+ "length": 255,
347
+ "options": {
348
+ "default": "shared"
349
+ }
350
+ },
224
351
  "key": {
225
352
  "kind": "field",
226
353
  "column": "element_key",
@@ -319,7 +446,7 @@
319
446
  {
320
447
  "name": "projection_id",
321
448
  "referenced_column_name": "id",
322
- "nullable": false,
449
+ "nullable": true,
323
450
  "unique": false,
324
451
  "on_delete": "CASCADE"
325
452
  }
@@ -345,6 +472,27 @@
345
472
  "on_delete": "RESTRICT"
346
473
  }
347
474
  ]
475
+ },
476
+ "project": {
477
+ "kind": "association",
478
+ "association_type": "many_to_one",
479
+ "target_entity": "App\\Entity\\Project",
480
+ "target": "project",
481
+ "mapped_by": null,
482
+ "inversed_by": null,
483
+ "is_owning_side": true,
484
+ "orphan_removal": false,
485
+ "cascade": {},
486
+ "fetch": 2,
487
+ "join_columns": [
488
+ {
489
+ "name": "project_id",
490
+ "referenced_column_name": "id",
491
+ "nullable": false,
492
+ "unique": false,
493
+ "on_delete": null
494
+ }
495
+ ]
348
496
  }
349
497
  }
350
498
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "log",
3
- "description": "What a run writes of itself: an event or a span of a request, at a slot —\na slot passed through, a model asked, a message saved, an error. Its\n`name` says which, among a closed set; its `status` how it ended, never\nempty — an event is completed as it is written, a span runs until it is.\nWhat is proper to a name is under `data`: a slot's pass keeps its\niteration and the output ports it activated. A log stands inside another\n(`parent`): what a node writes, inside the pass of its slot.",
3
+ "description": "What a run writes of itself: an event or a span of a request, at a slot —\na slot passed through, a model asked, a message saved, an error —, or of\na pipeline's run — the run, each of its steps. Its\n`name` says which, among a closed set; its `status` how it ended, never\nempty — an event is completed as it is written, a span runs until it is.\nWhat is proper to a name is under `data`: a slot's pass keeps its\niteration and the output ports it activated. A log stands inside another\n(`parent`): what a node writes, inside the pass of its slot.",
4
4
  "properties": [
5
5
  {
6
6
  "name": "parent",
@@ -90,36 +90,6 @@
90
90
  "length": 255
91
91
  }
92
92
  },
93
- {
94
- "name": "dateCreated",
95
- "type": "DateTimeInterface",
96
- "nullable": true,
97
- "default": null,
98
- "orm": {
99
- "kind": "field",
100
- "column": "date_created",
101
- "type": "datetime",
102
- "nullable": false,
103
- "unique": false,
104
- "id": false,
105
- "generated": false
106
- }
107
- },
108
- {
109
- "name": "dateCompleted",
110
- "type": "DateTimeInterface",
111
- "nullable": true,
112
- "default": null,
113
- "orm": {
114
- "kind": "field",
115
- "column": "date_completed",
116
- "type": "datetime",
117
- "nullable": true,
118
- "unique": false,
119
- "id": false,
120
- "generated": false
121
- }
122
- },
123
93
  {
124
94
  "name": "id",
125
95
  "type": "Symfony\\Component\\Uid\\Uuid",
@@ -427,6 +397,64 @@
427
397
  "id": false,
428
398
  "generated": false
429
399
  }
400
+ },
401
+ {
402
+ "name": "pipelineRun",
403
+ "type": "relation",
404
+ "nullable": true,
405
+ "default": null,
406
+ "target": "pipeline_run",
407
+ "orm": {
408
+ "kind": "association",
409
+ "association_type": "many_to_one",
410
+ "target_entity": "App\\Entity\\PipelineRun",
411
+ "target": "pipeline_run",
412
+ "mapped_by": null,
413
+ "inversed_by": null,
414
+ "is_owning_side": true,
415
+ "orphan_removal": false,
416
+ "cascade": {},
417
+ "fetch": 2,
418
+ "join_columns": [
419
+ {
420
+ "name": "pipeline_run_id",
421
+ "referenced_column_name": "id",
422
+ "nullable": true,
423
+ "unique": false,
424
+ "on_delete": "CASCADE"
425
+ }
426
+ ]
427
+ }
428
+ },
429
+ {
430
+ "name": "dateCreated",
431
+ "type": "DateTimeInterface",
432
+ "nullable": true,
433
+ "default": null,
434
+ "orm": {
435
+ "kind": "field",
436
+ "column": "date_created",
437
+ "type": "datetime",
438
+ "nullable": false,
439
+ "unique": false,
440
+ "id": false,
441
+ "generated": false
442
+ }
443
+ },
444
+ {
445
+ "name": "dateCompleted",
446
+ "type": "DateTimeInterface",
447
+ "nullable": true,
448
+ "default": null,
449
+ "orm": {
450
+ "kind": "field",
451
+ "column": "date_completed",
452
+ "type": "datetime",
453
+ "nullable": true,
454
+ "unique": false,
455
+ "id": false,
456
+ "generated": false
457
+ }
430
458
  }
431
459
  ],
432
460
  "orm": {
@@ -507,6 +535,24 @@
507
535
  "id": false,
508
536
  "generated": false
509
537
  },
538
+ "dateCreated": {
539
+ "kind": "field",
540
+ "column": "date_created",
541
+ "type": "datetime",
542
+ "nullable": false,
543
+ "unique": false,
544
+ "id": false,
545
+ "generated": false
546
+ },
547
+ "dateCompleted": {
548
+ "kind": "field",
549
+ "column": "date_completed",
550
+ "type": "datetime",
551
+ "nullable": true,
552
+ "unique": false,
553
+ "id": false,
554
+ "generated": false
555
+ },
510
556
  "status": {
511
557
  "kind": "field",
512
558
  "column": "status",
@@ -535,24 +581,6 @@
535
581
  "id": false,
536
582
  "generated": false,
537
583
  "length": 255
538
- },
539
- "dateCreated": {
540
- "kind": "field",
541
- "column": "date_created",
542
- "type": "datetime",
543
- "nullable": false,
544
- "unique": false,
545
- "id": false,
546
- "generated": false
547
- },
548
- "dateCompleted": {
549
- "kind": "field",
550
- "column": "date_completed",
551
- "type": "datetime",
552
- "nullable": true,
553
- "unique": false,
554
- "id": false,
555
- "generated": false
556
584
  }
557
585
  },
558
586
  "associations": {
@@ -705,6 +733,27 @@
705
733
  }
706
734
  ]
707
735
  },
736
+ "pipelineRun": {
737
+ "kind": "association",
738
+ "association_type": "many_to_one",
739
+ "target_entity": "App\\Entity\\PipelineRun",
740
+ "target": "pipeline_run",
741
+ "mapped_by": null,
742
+ "inversed_by": null,
743
+ "is_owning_side": true,
744
+ "orphan_removal": false,
745
+ "cascade": {},
746
+ "fetch": 2,
747
+ "join_columns": [
748
+ {
749
+ "name": "pipeline_run_id",
750
+ "referenced_column_name": "id",
751
+ "nullable": true,
752
+ "unique": false,
753
+ "on_delete": "CASCADE"
754
+ }
755
+ ]
756
+ },
708
757
  "parent": {
709
758
  "kind": "association",
710
759
  "association_type": "many_to_one",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipeline_run",
3
- "description": "One run of a pipeline: asked here with the definition as it stood, run by\nthe core (ProjectionService), which writes back how it went — the report\nstage by stage, or the error that stopped it.",
3
+ "description": "One run of a pipeline: asked here, run by the core — which reads the\npipeline from the base as it runs it, as it reads a job —, which writes\nback how it went: the report stage by stage, or the error that stopped it.",
4
4
  "properties": [
5
5
  {
6
6
  "name": "id",
@@ -88,20 +88,6 @@
88
88
  "generated": false
89
89
  }
90
90
  },
91
- {
92
- "name": "definition",
93
- "type": "array",
94
- "default": {},
95
- "orm": {
96
- "kind": "field",
97
- "column": "definition",
98
- "type": "json",
99
- "nullable": false,
100
- "unique": false,
101
- "id": false,
102
- "generated": false
103
- }
104
- },
105
91
  {
106
92
  "name": "report",
107
93
  "type": "array",
@@ -148,6 +134,142 @@
148
134
  "default": false
149
135
  }
150
136
  }
137
+ },
138
+ {
139
+ "name": "triggeredBy",
140
+ "type": "string",
141
+ "default": null,
142
+ "orm": {
143
+ "kind": "field",
144
+ "column": "triggered_by",
145
+ "type": "string",
146
+ "nullable": false,
147
+ "unique": false,
148
+ "id": false,
149
+ "generated": false,
150
+ "length": 32,
151
+ "options": {
152
+ "default": "manual"
153
+ }
154
+ }
155
+ },
156
+ {
157
+ "name": "scope",
158
+ "type": "string",
159
+ "default": null,
160
+ "orm": {
161
+ "kind": "field",
162
+ "column": "scope",
163
+ "type": "string",
164
+ "nullable": false,
165
+ "unique": false,
166
+ "id": false,
167
+ "generated": false,
168
+ "length": 255,
169
+ "options": {
170
+ "default": "shared"
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "name": "request",
176
+ "type": "relation",
177
+ "nullable": true,
178
+ "default": null,
179
+ "target": "request",
180
+ "orm": {
181
+ "kind": "association",
182
+ "association_type": "many_to_one",
183
+ "target_entity": "App\\Entity\\Request",
184
+ "target": "request",
185
+ "mapped_by": null,
186
+ "inversed_by": null,
187
+ "is_owning_side": true,
188
+ "orphan_removal": false,
189
+ "cascade": {},
190
+ "fetch": 2,
191
+ "join_columns": [
192
+ {
193
+ "name": "request_id",
194
+ "referenced_column_name": "id",
195
+ "nullable": true,
196
+ "unique": false,
197
+ "on_delete": "SET NULL"
198
+ }
199
+ ]
200
+ }
201
+ },
202
+ {
203
+ "name": "parentLog",
204
+ "type": "relation",
205
+ "nullable": true,
206
+ "default": null,
207
+ "target": "log",
208
+ "orm": {
209
+ "kind": "association",
210
+ "association_type": "many_to_one",
211
+ "target_entity": "App\\Entity\\Log",
212
+ "target": "log",
213
+ "mapped_by": null,
214
+ "inversed_by": null,
215
+ "is_owning_side": true,
216
+ "orphan_removal": false,
217
+ "cascade": {},
218
+ "fetch": 2,
219
+ "join_columns": [
220
+ {
221
+ "name": "parent_log_id",
222
+ "referenced_column_name": "id",
223
+ "nullable": true,
224
+ "unique": false,
225
+ "on_delete": "SET NULL"
226
+ }
227
+ ]
228
+ }
229
+ },
230
+ {
231
+ "name": "slot",
232
+ "type": "relation",
233
+ "nullable": true,
234
+ "default": null,
235
+ "target": "slot",
236
+ "orm": {
237
+ "kind": "association",
238
+ "association_type": "many_to_one",
239
+ "target_entity": "App\\Entity\\Slot",
240
+ "target": "slot",
241
+ "mapped_by": null,
242
+ "inversed_by": null,
243
+ "is_owning_side": true,
244
+ "orphan_removal": false,
245
+ "cascade": {},
246
+ "fetch": 2,
247
+ "join_columns": [
248
+ {
249
+ "name": "slot_id",
250
+ "referenced_column_name": "id",
251
+ "nullable": true,
252
+ "unique": false,
253
+ "on_delete": "SET NULL"
254
+ }
255
+ ]
256
+ }
257
+ },
258
+ {
259
+ "name": "input",
260
+ "type": "array",
261
+ "nullable": true,
262
+ "description": "string, key?: string, data?: mixed, metadata?: array, port?: string}>|null",
263
+ "default": null,
264
+ "orm": {
265
+ "kind": "field",
266
+ "column": "input",
267
+ "type": "json",
268
+ "nullable": true,
269
+ "unique": false,
270
+ "id": false,
271
+ "generated": false
272
+ }
151
273
  }
152
274
  ],
153
275
  "orm": {
@@ -196,15 +318,6 @@
196
318
  "id": false,
197
319
  "generated": false
198
320
  },
199
- "definition": {
200
- "kind": "field",
201
- "column": "definition",
202
- "type": "json",
203
- "nullable": false,
204
- "unique": false,
205
- "id": false,
206
- "generated": false
207
- },
208
321
  "report": {
209
322
  "kind": "field",
210
323
  "column": "report",
@@ -234,6 +347,41 @@
234
347
  "options": {
235
348
  "default": false
236
349
  }
350
+ },
351
+ "triggeredBy": {
352
+ "kind": "field",
353
+ "column": "triggered_by",
354
+ "type": "string",
355
+ "nullable": false,
356
+ "unique": false,
357
+ "id": false,
358
+ "generated": false,
359
+ "length": 32,
360
+ "options": {
361
+ "default": "manual"
362
+ }
363
+ },
364
+ "scope": {
365
+ "kind": "field",
366
+ "column": "scope",
367
+ "type": "string",
368
+ "nullable": false,
369
+ "unique": false,
370
+ "id": false,
371
+ "generated": false,
372
+ "length": 255,
373
+ "options": {
374
+ "default": "shared"
375
+ }
376
+ },
377
+ "input": {
378
+ "kind": "field",
379
+ "column": "input",
380
+ "type": "json",
381
+ "nullable": true,
382
+ "unique": false,
383
+ "id": false,
384
+ "generated": false
237
385
  }
238
386
  },
239
387
  "associations": {
@@ -257,6 +405,69 @@
257
405
  "on_delete": "CASCADE"
258
406
  }
259
407
  ]
408
+ },
409
+ "request": {
410
+ "kind": "association",
411
+ "association_type": "many_to_one",
412
+ "target_entity": "App\\Entity\\Request",
413
+ "target": "request",
414
+ "mapped_by": null,
415
+ "inversed_by": null,
416
+ "is_owning_side": true,
417
+ "orphan_removal": false,
418
+ "cascade": {},
419
+ "fetch": 2,
420
+ "join_columns": [
421
+ {
422
+ "name": "request_id",
423
+ "referenced_column_name": "id",
424
+ "nullable": true,
425
+ "unique": false,
426
+ "on_delete": "SET NULL"
427
+ }
428
+ ]
429
+ },
430
+ "parentLog": {
431
+ "kind": "association",
432
+ "association_type": "many_to_one",
433
+ "target_entity": "App\\Entity\\Log",
434
+ "target": "log",
435
+ "mapped_by": null,
436
+ "inversed_by": null,
437
+ "is_owning_side": true,
438
+ "orphan_removal": false,
439
+ "cascade": {},
440
+ "fetch": 2,
441
+ "join_columns": [
442
+ {
443
+ "name": "parent_log_id",
444
+ "referenced_column_name": "id",
445
+ "nullable": true,
446
+ "unique": false,
447
+ "on_delete": "SET NULL"
448
+ }
449
+ ]
450
+ },
451
+ "slot": {
452
+ "kind": "association",
453
+ "association_type": "many_to_one",
454
+ "target_entity": "App\\Entity\\Slot",
455
+ "target": "slot",
456
+ "mapped_by": null,
457
+ "inversed_by": null,
458
+ "is_owning_side": true,
459
+ "orphan_removal": false,
460
+ "cascade": {},
461
+ "fetch": 2,
462
+ "join_columns": [
463
+ {
464
+ "name": "slot_id",
465
+ "referenced_column_name": "id",
466
+ "nullable": true,
467
+ "unique": false,
468
+ "on_delete": "SET NULL"
469
+ }
470
+ ]
260
471
  }
261
472
  }
262
473
  }
@@ -8,6 +8,15 @@ class ArtifactGenerated:
8
8
  return 'artifact'
9
9
 
10
10
  @declared_attr
11
+ def title(cls) -> Mapped[object]:
12
+ return mapped_column(String(255), nullable=True)
13
+ @declared_attr
14
+ def mimeType(cls) -> Mapped[object]:
15
+ return mapped_column('mime_type', String(128), nullable=True)
16
+ @declared_attr
17
+ def scope(cls) -> Mapped[object]:
18
+ return mapped_column(String(255), nullable=False)
19
+ @declared_attr
11
20
  def key(cls) -> Mapped[object]:
12
21
  return mapped_column('element_key', String(255), nullable=False)
13
22
  @declared_attr
@@ -33,8 +42,14 @@ class ArtifactGenerated:
33
42
  return mapped_column('date_created', String, nullable=False)
34
43
 
35
44
  @declared_attr
45
+ def project_id(cls) -> Mapped[object]:
46
+ return mapped_column(Uuid, ForeignKey('project.id'), nullable=False)
47
+ @declared_attr
48
+ def project(cls) -> Mapped[object]:
49
+ return relationship('Project', foreign_keys='Artifact.project_id', lazy='select')
50
+ @declared_attr
36
51
  def projection_id(cls) -> Mapped[object]:
37
- return mapped_column(Uuid, ForeignKey('projection.id'), nullable=False)
52
+ return mapped_column(Uuid, ForeignKey('projection.id'), nullable=True)
38
53
  @declared_attr
39
54
  def projection(cls) -> Mapped[object]:
40
55
  return relationship('Projection', foreign_keys='Artifact.projection_id', lazy='select')
@@ -17,12 +17,6 @@ class LogGenerated:
17
17
  def name(cls) -> Mapped[object]:
18
18
  return mapped_column(String(255), nullable=False)
19
19
  @declared_attr
20
- def dateCreated(cls) -> Mapped[object]:
21
- return mapped_column('date_created', DateTime, nullable=False)
22
- @declared_attr
23
- def dateCompleted(cls) -> Mapped[object]:
24
- return mapped_column('date_completed', DateTime, nullable=True)
25
- @declared_attr
26
20
  def tokenCarbon(cls) -> Mapped[object]:
27
21
  return mapped_column('token_carbon', Numeric(12, 10), nullable=True)
28
22
  @declared_attr
@@ -40,6 +34,12 @@ class LogGenerated:
40
34
  @declared_attr
41
35
  def data(cls) -> Mapped[object]:
42
36
  return mapped_column(JSON, nullable=True)
37
+ @declared_attr
38
+ def dateCreated(cls) -> Mapped[object]:
39
+ return mapped_column('date_created', DateTime, nullable=False)
40
+ @declared_attr
41
+ def dateCompleted(cls) -> Mapped[object]:
42
+ return mapped_column('date_completed', DateTime, nullable=True)
43
43
 
44
44
  @declared_attr
45
45
  def parent_id(cls) -> Mapped[object]:
@@ -92,3 +92,9 @@ class LogGenerated:
92
92
  @declared_attr
93
93
  def model(cls) -> Mapped[object]:
94
94
  return relationship('Model', foreign_keys='Log.model_id', lazy='select')
95
+ @declared_attr
96
+ def pipeline_run_id(cls) -> Mapped[object]:
97
+ return mapped_column(Uuid, ForeignKey('pipeline_run.id'), nullable=True)
98
+ @declared_attr
99
+ def pipelineRun(cls) -> Mapped[object]:
100
+ return relationship('PipelineRun', foreign_keys='Log.pipeline_run_id', lazy='select')
@@ -17,9 +17,6 @@ class PipelineRunGenerated:
17
17
  def dateCompleted(cls) -> Mapped[object]:
18
18
  return mapped_column('date_completed', String, nullable=True)
19
19
  @declared_attr
20
- def definition(cls) -> Mapped[object]:
21
- return mapped_column(JSON, nullable=False)
22
- @declared_attr
23
20
  def report(cls) -> Mapped[object]:
24
21
  return mapped_column(JSON, nullable=True)
25
22
  @declared_attr
@@ -28,6 +25,15 @@ class PipelineRunGenerated:
28
25
  @declared_attr
29
26
  def refresh(cls) -> Mapped[object]:
30
27
  return mapped_column(Boolean, nullable=False)
28
+ @declared_attr
29
+ def triggeredBy(cls) -> Mapped[object]:
30
+ return mapped_column('triggered_by', String(32), nullable=False)
31
+ @declared_attr
32
+ def scope(cls) -> Mapped[object]:
33
+ return mapped_column(String(255), nullable=False)
34
+ @declared_attr
35
+ def input(cls) -> Mapped[object]:
36
+ return mapped_column(JSON, nullable=True)
31
37
 
32
38
  @declared_attr
33
39
  def pipeline_id(cls) -> Mapped[object]:
@@ -35,3 +41,21 @@ class PipelineRunGenerated:
35
41
  @declared_attr
36
42
  def pipeline(cls) -> Mapped[object]:
37
43
  return relationship('Pipeline', foreign_keys='PipelineRun.pipeline_id', back_populates='runs', lazy='select')
44
+ @declared_attr
45
+ def request_id(cls) -> Mapped[object]:
46
+ return mapped_column(Uuid, ForeignKey('request.id'), nullable=True)
47
+ @declared_attr
48
+ def request(cls) -> Mapped[object]:
49
+ return relationship('Request', foreign_keys='PipelineRun.request_id', lazy='select')
50
+ @declared_attr
51
+ def parent_log_id(cls) -> Mapped[object]:
52
+ return mapped_column(Uuid, ForeignKey('log.id'), nullable=True)
53
+ @declared_attr
54
+ def parentLog(cls) -> Mapped[object]:
55
+ return relationship('Log', foreign_keys='PipelineRun.parent_log_id', lazy='select')
56
+ @declared_attr
57
+ def slot_id(cls) -> Mapped[object]:
58
+ return mapped_column(Uuid, ForeignKey('slot.id'), nullable=True)
59
+ @declared_attr
60
+ def slot(cls) -> Mapped[object]:
61
+ return relationship('Slot', foreign_keys='PipelineRun.slot_id', lazy='select')
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: syrtis-python-client-internal
3
- Version: 2.3.0
3
+ Version: 2.4.0
4
4
  Author-Email: weeger <contact@syrtis.ai>
5
5
  License: MIT
6
6
  Classifier: Programming Language :: Python :: 3
7
7
  Classifier: License :: OSI Approved :: MIT License
8
8
  Classifier: Operating System :: OS Independent
9
9
  Requires-Python: >=3.10
10
- Requires-Dist: syrtis-python-client>=10.1.0
10
+ Requires-Dist: syrtis-python-client>=11.0.0
11
11
  Provides-Extra: dev
12
12
  Requires-Dist: pytest; extra == "dev"
13
13
  Requires-Dist: pytest-cov; extra == "dev"
@@ -15,7 +15,7 @@ Description-Content-Type: text/markdown
15
15
 
16
16
  # python_client_internal
17
17
 
18
- Version: 2.3.0
18
+ Version: 2.4.0
19
19
 
20
20
  ## Table of Contents
21
21
 
@@ -1,6 +1,6 @@
1
- syrtis_python_client_internal-2.3.0.dist-info/METADATA,sha256=y0NHkSehhaNYaW_P-YEYRe2PU52GDomxOJEAfTgUBhs,2915
2
- syrtis_python_client_internal-2.3.0.dist-info/WHEEL,sha256=IuIk3wbaEnFH1cx75iM2R1CmliRI3dFLXTbRakgvgFQ,90
3
- syrtis_python_client_internal-2.3.0.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ syrtis_python_client_internal-2.4.0.dist-info/METADATA,sha256=QRMH3AcmuSkl5RajBRNUXmKq4VSzBZWaxewTqJB9Z_s,2915
2
+ syrtis_python_client_internal-2.4.0.dist-info/WHEEL,sha256=IuIk3wbaEnFH1cx75iM2R1CmliRI3dFLXTbRakgvgFQ,90
3
+ syrtis_python_client_internal-2.4.0.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  syrtis_python_client_internal/__init__.py,sha256=cCEjraFrdGA68ylz8ESJG4i81u0qLs_uGuSG2oHaHs4,548
5
5
  syrtis_python_client_internal/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  syrtis_python_client_internal/common/entity_schemas.py,sha256=nRVjIhYB7g8ALZazekFSYBl9pBcojBN0wGEYVTfoXLk,271
@@ -13,7 +13,7 @@ syrtis_python_client_internal/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
13
13
  syrtis_python_client_internal/data/entity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  syrtis_python_client_internal/data/entity/agent_conversation.json,sha256=_ez_ZpHDjIJr5b4PetQ7_5KIbOKSNCBDA7InF3ybVNI,1468
15
15
  syrtis_python_client_internal/data/entity/agent_conversation_participant.json,sha256=Mb238tFfcZRxaRRAA244lFzFYZz46X7mB4bcxkCFg5A,967
16
- syrtis_python_client_internal/data/entity/artifact.json,sha256=WWMt9lK8pfR1vG2wA6Z35rMbPajopai8Wp7XHauoYcI,8307
16
+ syrtis_python_client_internal/data/entity/artifact.json,sha256=LNvYzOsk5x09xRjN9sHi8GQIzHfIoo4zEfSPRgGfOi4,12075
17
17
  syrtis_python_client_internal/data/entity/chart_point.json,sha256=BmTWk0M0YECQEodGpQNoRepMF6Fmcd2DYgwgECPIi4E,1320
18
18
  syrtis_python_client_internal/data/entity/claude_conversation.json,sha256=j85l7BJFGnai9zHcv9gL5qB_vl8IMkspMNCPweW_VVA,1597
19
19
  syrtis_python_client_internal/data/entity/claude_conversation_session.json,sha256=9Ej9z1uENiuUUiGzZRSFSedRpc7k4vMKwLsJMn4KHnI,1484
@@ -39,7 +39,7 @@ syrtis_python_client_internal/data/entity/extension.json,sha256=qtZJ49BsEbR7abAb
39
39
  syrtis_python_client_internal/data/entity/instruction.json,sha256=kZ79SXanf62jzsdgyT_JDRGdBZuSVvKc0vTJWI0uvSw,761
40
40
  syrtis_python_client_internal/data/entity/internal_sample.json,sha256=0ZmuMeFz3Ra1dzmf9-jlfIV3P75ajDd5pW7uX2yRrmg,132
41
41
  syrtis_python_client_internal/data/entity/layer.json,sha256=PVbXPLqVUPDZ00qRoi3h1Xv2DWgiPkUTBJLCRf-N3og,1915
42
- syrtis_python_client_internal/data/entity/log.json,sha256=tvnATcUDvRpIha1hpo9RjtvQVWR3QlvM3ZsMuErRog4,18358
42
+ syrtis_python_client_internal/data/entity/log.json,sha256=1SmjDYfAgsTtkWTGK25D2OgGoQPgnBIayZwvTFNIGAc,19744
43
43
  syrtis_python_client_internal/data/entity/model.json,sha256=zLF2soH8y81mULhh-BhiWPRovVFir4hzSriAbpWC5fU,9753
44
44
  syrtis_python_client_internal/data/entity/model_provider.json,sha256=iVrhyEsVwaSIXjBt16mV9YP6jfDl1f6g-GVLMsNq2vg,6021
45
45
  syrtis_python_client_internal/data/entity/operator.json,sha256=iE0vxfap1PMsM7iDbdPtLn7X2ZoaV9E3wVsbY4PDqOw,3223
@@ -49,7 +49,7 @@ syrtis_python_client_internal/data/entity/panel_stamp.json,sha256=cf222DDWO-D6_j
49
49
  syrtis_python_client_internal/data/entity/pipeline.json,sha256=ltKrY9Ox2JsI23iib2u905jnySFIaZ3rn2DINDpWIFQ,9382
50
50
  syrtis_python_client_internal/data/entity/pipeline_operator.json,sha256=x9nNwbgqn_LQSrMxaTfJPE7AzGKONBnw3hDfhrayXhc,474
51
51
  syrtis_python_client_internal/data/entity/pipeline_projection.json,sha256=3GqLuPH0NuuCrdScEH9B7mtX_i9soIjmmwcV7Eui2Gg,3934
52
- syrtis_python_client_internal/data/entity/pipeline_run.json,sha256=DtinAKRMOC8aijsUf8Bd5VKyQgqIm8BkSDFyxrDSQhw,6090
52
+ syrtis_python_client_internal/data/entity/pipeline_run.json,sha256=uIhiyjcaYOYQKwVP5xaiqQAyKSN-x20O8tYOGEu_SQA,11382
53
53
  syrtis_python_client_internal/data/entity/project.json,sha256=yF0tGffaKxgQtS7YNZcnLcEAVN9AqDEd_zqp-VoS-g4,7577
54
54
  syrtis_python_client_internal/data/entity/projection.json,sha256=ncxSNYpOuctpB5FTyV5hfF-qnZO5gFVJLHcLgNMYJBQ,9066
55
55
  syrtis_python_client_internal/data/entity/projection_config.json,sha256=6Klkcus4vCdjxSWlxG_0TWn2sIcvLF_5lGmxbhrNGmQ,3888
@@ -278,7 +278,7 @@ syrtis_python_client_internal/entity/evaluation_run.py,sha256=7ZMuk3KuxKBebLpHvZ
278
278
  syrtis_python_client_internal/entity/extension.py,sha256=rCE-73nxBpfHLtkN5sNrfxsu85GTBUPFiJY5oGuKFQU,318
279
279
  syrtis_python_client_internal/entity/generated/agent_conversation_generated.py,sha256=y_6Sog8dVp2XE0Z6PzUkIbZJiSNfo4r2JLWFodz7kZs,190
280
280
  syrtis_python_client_internal/entity/generated/agent_conversation_participant_generated.py,sha256=FuTBSBU5HHth1DW_HgKdl6RLs8dqj0X5mVAfTE-uPxM,213
281
- syrtis_python_client_internal/entity/generated/artifact_generated.py,sha256=E2VqF6alMr4OaUXOK5q7IxK18inMz_Mt8cGcAkt_mOY,1819
281
+ syrtis_python_client_internal/entity/generated/artifact_generated.py,sha256=ZqUyu7G7mYTY6_DpAZhSZlj3LCbS_cyrUHOXGbA2pXE,2465
282
282
  syrtis_python_client_internal/entity/generated/chart_point_generated.py,sha256=HcbRrFlJ_I_aaHKz-PHbHfdRiy1sNTK7N2XUeGL6Qs8,176
283
283
  syrtis_python_client_internal/entity/generated/claude_conversation_generated.py,sha256=1zBUpWcqhA7C36vHlTglRZIYWaJgcEzB3Qso9rNO9cs,192
284
284
  syrtis_python_client_internal/entity/generated/claude_conversation_session_generated.py,sha256=7K3leIvTrBdtxKWaqpE-IszusJxy10Y1dqx6mnoYomw,207
@@ -304,7 +304,7 @@ syrtis_python_client_internal/entity/generated/extension_generated.py,sha256=u_G
304
304
  syrtis_python_client_internal/entity/generated/instruction_generated.py,sha256=9n-3mbcqr_oqc1CqMCvgu6Fl0dFjHoJQqcTU8RuT3Kc,177
305
305
  syrtis_python_client_internal/entity/generated/internal_sample_generated.py,sha256=DmZSJnqqI2gnYyQf1lmNxjEASYdBtZmtA7FOtGJT9Nk,184
306
306
  syrtis_python_client_internal/entity/generated/layer_generated.py,sha256=Y5BePbgIlwpV_xHcfuIuR0_Y123Ng-kSiqGP5E8h9XI,430
307
- syrtis_python_client_internal/entity/generated/log_generated.py,sha256=vs8X4ww3TjW_LkHT5OGjQMCCw9rR75RVWo3TzJrQgEo,4072
307
+ syrtis_python_client_internal/entity/generated/log_generated.py,sha256=4u78tol8xMbL68aT_dIbV2Bc-aASzT7ByB-Fnfuxp5U,4377
308
308
  syrtis_python_client_internal/entity/generated/model_generated.py,sha256=r6E5IJVpNcFm-XRlrKuLeIzzj7J1gutk1OjrKRYB59M,2218
309
309
  syrtis_python_client_internal/entity/generated/model_provider_generated.py,sha256=H7nMdGqKGiJ8Suk2_DH6DguclDAt-QpdWYYrq9cNqKU,1323
310
310
  syrtis_python_client_internal/entity/generated/operator_generated.py,sha256=n0EHGiLetBamyhqcArBndIPRE5hj5sdJAKXNv9eEERo,775
@@ -314,7 +314,7 @@ syrtis_python_client_internal/entity/generated/panel_stamp_generated.py,sha256=K
314
314
  syrtis_python_client_internal/entity/generated/pipeline_generated.py,sha256=-YCDkJwz_erCI9JRrA7IfYo-PX6YfqP_G6gLXc5krTA,1992
315
315
  syrtis_python_client_internal/entity/generated/pipeline_operator_generated.py,sha256=FB-4UGqiIjKjVIV7X8v98hYiYQs1xpG_ZXFYwmp5UPs,188
316
316
  syrtis_python_client_internal/entity/generated/pipeline_projection_generated.py,sha256=gKn1S3et5v9uYUogFbWkdq-3WG3XIU6QAR0I9uns930,1003
317
- syrtis_python_client_internal/entity/generated/pipeline_run_generated.py,sha256=aAWXCfFMkEFmif8KC-fX0QtptiZ5ZSFld7jn3yq6az8,1405
317
+ syrtis_python_client_internal/entity/generated/pipeline_run_generated.py,sha256=0Vf-8U4G8tUCbfNUklLc_LCLKc0T8WyCAXzk9RA1tRU,2505
318
318
  syrtis_python_client_internal/entity/generated/project_generated.py,sha256=DXskXXPv3SevHwp_vQMM7VTh_O5ZFJCXTDNzSdUdUy4,1575
319
319
  syrtis_python_client_internal/entity/generated/projection_config_generated.py,sha256=KXt46Caeaft-LbHZqmdNs1ECIUhtugLlJJjsJVeG6vs,951
320
320
  syrtis_python_client_internal/entity/generated/projection_generated.py,sha256=zBjRuXPXT0UarnBVKA2Z41iwZ0asKCv00JN3dUu-UiE,2056
@@ -447,4 +447,4 @@ syrtis_python_client_internal/repository/user_config_repository.py,sha256=pYdVJW
447
447
  syrtis_python_client_internal/repository/user_conversation_participant_repository.py,sha256=xysh0drgda2Mcg_iJB39TCrgwAQqplnZin4CI0neZEg,423
448
448
  syrtis_syrtis_python_client_internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
449
449
  syrtis_syrtis_python_client_internal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
450
- syrtis_python_client_internal-2.3.0.dist-info/RECORD,,
450
+ syrtis_python_client_internal-2.4.0.dist-info/RECORD,,