pinexq-client 0.9.2.20251028.52__py3-none-any.whl → 0.10.4rc1__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.
- pinexq_client/core/api_event_manager.py +141 -0
- pinexq_client/core/hco/hco_base.py +4 -1
- pinexq_client/core/polling.py +3 -3
- pinexq_client/job_management/__init__.py +1 -1
- pinexq_client/job_management/enterjma.py +49 -0
- pinexq_client/job_management/hcos/entrypoint_hco.py +35 -35
- pinexq_client/job_management/hcos/info_hco.py +15 -0
- pinexq_client/job_management/hcos/input_dataslot_hco.py +3 -1
- pinexq_client/job_management/hcos/output_dataslot_hco.py +1 -0
- pinexq_client/job_management/hcos/processing_step_hco.py +75 -4
- pinexq_client/job_management/known_relations.py +7 -0
- pinexq_client/job_management/model/open_api_generated.py +238 -129
- pinexq_client/job_management/tool/job.py +134 -52
- pinexq_client/job_management/tool/job_group.py +207 -60
- pinexq_client/job_management/tool/processing_step.py +114 -2
- {pinexq_client-0.9.2.20251028.52.dist-info → pinexq_client-0.10.4rc1.dist-info}/METADATA +102 -99
- {pinexq_client-0.9.2.20251028.52.dist-info → pinexq_client-0.10.4rc1.dist-info}/RECORD +18 -19
- pinexq_client-0.10.4rc1.dist-info/WHEEL +4 -0
- pinexq_client-0.9.2.20251028.52.dist-info/WHEEL +0 -4
- pinexq_client-0.9.2.20251028.52.dist-info/entry_points.txt +0 -4
- pinexq_client-0.9.2.20251028.52.dist-info/licenses/LICENSE +0 -19
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: openapi.json
|
|
3
|
-
# timestamp: 2025-
|
|
3
|
+
# timestamp: 2025-12-05T11:42:17+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
7
|
-
from enum import
|
|
7
|
+
from enum import StrEnum
|
|
8
8
|
from typing import Any, List
|
|
9
9
|
|
|
10
|
-
from pydantic import AwareDatetime, BaseModel, ConfigDict, Field, constr
|
|
10
|
+
from pydantic import AnyUrl, AwareDatetime, BaseModel, ConfigDict, Field, constr
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class AdminHtoOpenApiProperties(BaseModel):
|
|
14
|
+
pass
|
|
15
|
+
model_config = ConfigDict(
|
|
16
|
+
extra='allow',
|
|
17
|
+
populate_by_name=True,
|
|
18
|
+
)
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
class AdminJobQueryResultHtoOpenApiProperties(BaseModel):
|
|
@@ -43,12 +51,16 @@ class AdminWorkDataQueryResultHtoOpenApiProperties(BaseModel):
|
|
|
43
51
|
remaining_tags: List[str] | None = Field(None, alias='RemainingTags')
|
|
44
52
|
|
|
45
53
|
|
|
46
|
-
class
|
|
47
|
-
pass
|
|
54
|
+
class AssignCodeHashParameters(BaseModel):
|
|
48
55
|
model_config = ConfigDict(
|
|
49
56
|
extra='allow',
|
|
50
57
|
populate_by_name=True,
|
|
51
58
|
)
|
|
59
|
+
code_hash: str = Field(
|
|
60
|
+
...,
|
|
61
|
+
alias='CodeHash',
|
|
62
|
+
description='The code hash of the processing to be deployed',
|
|
63
|
+
)
|
|
52
64
|
|
|
53
65
|
|
|
54
66
|
class CopyPsFromOrgToUserActionParameters(BaseModel):
|
|
@@ -56,9 +68,9 @@ class CopyPsFromOrgToUserActionParameters(BaseModel):
|
|
|
56
68
|
extra='allow',
|
|
57
69
|
populate_by_name=True,
|
|
58
70
|
)
|
|
59
|
-
title:
|
|
60
|
-
function_name:
|
|
61
|
-
version:
|
|
71
|
+
title: str = Field(..., alias='Title')
|
|
72
|
+
function_name: str = Field(..., alias='FunctionName')
|
|
73
|
+
version: str = Field(..., alias='Version')
|
|
62
74
|
|
|
63
75
|
|
|
64
76
|
class CopyPsFromUserToOrgActionParameters(BaseModel):
|
|
@@ -66,10 +78,10 @@ class CopyPsFromUserToOrgActionParameters(BaseModel):
|
|
|
66
78
|
extra='allow',
|
|
67
79
|
populate_by_name=True,
|
|
68
80
|
)
|
|
69
|
-
org_id:
|
|
70
|
-
title:
|
|
71
|
-
function_name:
|
|
72
|
-
version:
|
|
81
|
+
org_id: str = Field(..., alias='OrgId')
|
|
82
|
+
title: str = Field(..., alias='Title')
|
|
83
|
+
function_name: str = Field(..., alias='FunctionName')
|
|
84
|
+
version: str = Field(..., alias='Version')
|
|
73
85
|
|
|
74
86
|
|
|
75
87
|
class CopyWorkDataFromUserToOrgActionParameters(BaseModel):
|
|
@@ -77,7 +89,7 @@ class CopyWorkDataFromUserToOrgActionParameters(BaseModel):
|
|
|
77
89
|
extra='allow',
|
|
78
90
|
populate_by_name=True,
|
|
79
91
|
)
|
|
80
|
-
org_id:
|
|
92
|
+
org_id: str = Field(..., alias='OrgId')
|
|
81
93
|
|
|
82
94
|
|
|
83
95
|
class CreateJobParameters(BaseModel):
|
|
@@ -85,7 +97,7 @@ class CreateJobParameters(BaseModel):
|
|
|
85
97
|
extra='allow',
|
|
86
98
|
populate_by_name=True,
|
|
87
99
|
)
|
|
88
|
-
name:
|
|
100
|
+
name: str = Field(..., alias='Name')
|
|
89
101
|
|
|
90
102
|
|
|
91
103
|
class CreateProcessingStepParameters(BaseModel):
|
|
@@ -93,9 +105,9 @@ class CreateProcessingStepParameters(BaseModel):
|
|
|
93
105
|
extra='allow',
|
|
94
106
|
populate_by_name=True,
|
|
95
107
|
)
|
|
96
|
-
title:
|
|
97
|
-
function_name:
|
|
98
|
-
version:
|
|
108
|
+
title: str = Field(..., alias='Title')
|
|
109
|
+
function_name: str = Field(..., alias='FunctionName')
|
|
110
|
+
version: str = Field(..., alias='Version')
|
|
99
111
|
|
|
100
112
|
|
|
101
113
|
class CreateSubJobParameters(BaseModel):
|
|
@@ -103,8 +115,8 @@ class CreateSubJobParameters(BaseModel):
|
|
|
103
115
|
extra='allow',
|
|
104
116
|
populate_by_name=True,
|
|
105
117
|
)
|
|
106
|
-
name:
|
|
107
|
-
parent_job_url:
|
|
118
|
+
name: str = Field(..., alias='Name')
|
|
119
|
+
parent_job_url: AnyUrl = Field(..., alias='ParentJobUrl')
|
|
108
120
|
|
|
109
121
|
|
|
110
122
|
class DataSpecificationHto(BaseModel):
|
|
@@ -125,6 +137,28 @@ class DataSpecificationHto(BaseModel):
|
|
|
125
137
|
max_slots: int | None = Field(None, alias='MaxSlots')
|
|
126
138
|
|
|
127
139
|
|
|
140
|
+
class DeploymentResourcePresets(StrEnum):
|
|
141
|
+
small = 'Small'
|
|
142
|
+
medium = 'Medium'
|
|
143
|
+
large = 'Large'
|
|
144
|
+
x_large = 'XLarge'
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
class DeploymentStates(StrEnum):
|
|
148
|
+
undefined = 'Undefined'
|
|
149
|
+
not_deployed = 'NotDeployed'
|
|
150
|
+
platform = 'Platform'
|
|
151
|
+
external = 'External'
|
|
152
|
+
platform_suspended = 'PlatformSuspended'
|
|
153
|
+
external_suspended = 'ExternalSuspended'
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
class DeploymentSuspensionTypes(StrEnum):
|
|
157
|
+
platform = 'Platform'
|
|
158
|
+
external = 'External'
|
|
159
|
+
all = 'All'
|
|
160
|
+
|
|
161
|
+
|
|
128
162
|
class DeprecatePsActionParameters(BaseModel):
|
|
129
163
|
model_config = ConfigDict(
|
|
130
164
|
extra='allow',
|
|
@@ -138,10 +172,10 @@ class EditProcessingStepParameters(BaseModel):
|
|
|
138
172
|
extra='allow',
|
|
139
173
|
populate_by_name=True,
|
|
140
174
|
)
|
|
141
|
-
title:
|
|
175
|
+
title: str = Field(..., alias='Title')
|
|
142
176
|
is_public: bool = Field(..., alias='IsPublic')
|
|
143
|
-
function_name:
|
|
144
|
-
version:
|
|
177
|
+
function_name: str = Field(..., alias='FunctionName')
|
|
178
|
+
version: str = Field(..., alias='Version')
|
|
145
179
|
|
|
146
180
|
|
|
147
181
|
class EntryPointHtoOpenApiProperties(BaseModel):
|
|
@@ -167,7 +201,7 @@ class FieldModel(BaseModel):
|
|
|
167
201
|
allow_multiple: bool | None = Field(None, alias='allowMultiple')
|
|
168
202
|
|
|
169
203
|
|
|
170
|
-
class FunctionNameMatchTypes(
|
|
204
|
+
class FunctionNameMatchTypes(StrEnum):
|
|
171
205
|
contains = 'Contains'
|
|
172
206
|
match_exact = 'MatchExact'
|
|
173
207
|
|
|
@@ -203,13 +237,13 @@ class JobQueryResultHtoOpenApiProperties(BaseModel):
|
|
|
203
237
|
remaining_tags: List[str] | None = Field(None, alias='RemainingTags')
|
|
204
238
|
|
|
205
239
|
|
|
206
|
-
class JobSortProperties(
|
|
240
|
+
class JobSortProperties(StrEnum):
|
|
207
241
|
name = 'Name'
|
|
208
242
|
created_at = 'CreatedAt'
|
|
209
243
|
completed_at = 'CompletedAt'
|
|
210
244
|
|
|
211
245
|
|
|
212
|
-
class JobStates(
|
|
246
|
+
class JobStates(StrEnum):
|
|
213
247
|
undefined = 'Undefined'
|
|
214
248
|
created = 'Created'
|
|
215
249
|
ready_for_processing = 'ReadyForProcessing'
|
|
@@ -296,53 +330,7 @@ class ProcessingStepFilterParameter(BaseModel):
|
|
|
296
330
|
show_hidden: bool | None = Field(None, alias='ShowHidden')
|
|
297
331
|
show_deprecated: bool | None = Field(None, alias='ShowDeprecated')
|
|
298
332
|
is_configured: bool | None = Field(None, alias='IsConfigured')
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class ProcessingStepHtoOpenApiProperties(BaseModel):
|
|
302
|
-
model_config = ConfigDict(
|
|
303
|
-
extra='allow',
|
|
304
|
-
populate_by_name=True,
|
|
305
|
-
)
|
|
306
|
-
title: str | None = Field(None, alias='Title')
|
|
307
|
-
owner_id: str | None = Field(
|
|
308
|
-
None, alias='OwnerId', description='The owner of this resource'
|
|
309
|
-
)
|
|
310
|
-
created_by: str | None = Field(
|
|
311
|
-
None, alias='CreatedBy', description='The creator of this resource'
|
|
312
|
-
)
|
|
313
|
-
version: str | None = Field(
|
|
314
|
-
None, alias='Version', description='Version of the algorithm. Default = "0"'
|
|
315
|
-
)
|
|
316
|
-
function_name: str | None = Field(
|
|
317
|
-
None,
|
|
318
|
-
alias='FunctionName',
|
|
319
|
-
description='Unique name (possibly human readable) for the function so that it can be identified',
|
|
320
|
-
)
|
|
321
|
-
short_description: str | None = Field(
|
|
322
|
-
None, alias='ShortDescription', description='Human readable short description'
|
|
323
|
-
)
|
|
324
|
-
long_description: str | None = Field(
|
|
325
|
-
None, alias='LongDescription', description='Human readable long description'
|
|
326
|
-
)
|
|
327
|
-
has_parameters: bool | None = Field(None, alias='HasParameters')
|
|
328
|
-
is_public: bool | None = Field(None, alias='IsPublic')
|
|
329
|
-
tags: List[str] | None = Field(None, alias='Tags')
|
|
330
|
-
is_configured: bool | None = Field(None, alias='IsConfigured')
|
|
331
|
-
hidden: bool | None = Field(None, alias='Hidden')
|
|
332
|
-
deprecated_on: AwareDatetime | None = Field(None, alias='DeprecatedOn')
|
|
333
|
-
reason_for_deprecation: str | None = Field(None, alias='ReasonForDeprecation')
|
|
334
|
-
created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
|
|
335
|
-
last_modified_at: AwareDatetime | None = Field(None, alias='LastModifiedAt')
|
|
336
|
-
parameter_schema: str | None = Field(None, alias='ParameterSchema')
|
|
337
|
-
default_parameters: str | None = Field(None, alias='DefaultParameters')
|
|
338
|
-
return_schema: str | None = Field(None, alias='ReturnSchema')
|
|
339
|
-
error_schema: str | None = Field(None, alias='ErrorSchema')
|
|
340
|
-
input_data_slot_specification: List[DataSpecificationHto] | None = Field(
|
|
341
|
-
None, alias='InputDataSlotSpecification'
|
|
342
|
-
)
|
|
343
|
-
output_data_slot_specification: List[DataSpecificationHto] | None = Field(
|
|
344
|
-
None, alias='OutputDataSlotSpecification'
|
|
345
|
-
)
|
|
333
|
+
deployment_state: DeploymentStates | None = Field(None, alias='DeploymentState')
|
|
346
334
|
|
|
347
335
|
|
|
348
336
|
class ProcessingStepQueryResultHtoOpenApiProperties(BaseModel):
|
|
@@ -364,7 +352,7 @@ class ProcessingStepRootHtoOpenApiProperties(BaseModel):
|
|
|
364
352
|
)
|
|
365
353
|
|
|
366
354
|
|
|
367
|
-
class ProcessingStepSortProperties(
|
|
355
|
+
class ProcessingStepSortProperties(StrEnum):
|
|
368
356
|
title = 'Title'
|
|
369
357
|
created_at = 'CreatedAt'
|
|
370
358
|
last_modified_at = 'LastModifiedAt'
|
|
@@ -406,9 +394,9 @@ class RapidJobSetupParameters(BaseModel):
|
|
|
406
394
|
extra='allow',
|
|
407
395
|
populate_by_name=True,
|
|
408
396
|
)
|
|
409
|
-
name:
|
|
410
|
-
processing_step_url:
|
|
411
|
-
parent_job_url:
|
|
397
|
+
name: str = Field(..., alias='Name')
|
|
398
|
+
processing_step_url: AnyUrl = Field(..., alias='ProcessingStepUrl')
|
|
399
|
+
parent_job_url: AnyUrl | None = Field(None, alias='ParentJobUrl')
|
|
412
400
|
tags: List[str] | None = Field(None, alias='Tags')
|
|
413
401
|
parameters: str | None = Field(None, alias='Parameters')
|
|
414
402
|
allow_output_data_deletion: bool | None = Field(
|
|
@@ -425,7 +413,24 @@ class RenameJobParameters(BaseModel):
|
|
|
425
413
|
extra='allow',
|
|
426
414
|
populate_by_name=True,
|
|
427
415
|
)
|
|
428
|
-
new_name:
|
|
416
|
+
new_name: str = Field(..., alias='NewName')
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
class ScalingBehaviours(StrEnum):
|
|
420
|
+
aggressive = 'Aggressive'
|
|
421
|
+
balanced = 'Balanced'
|
|
422
|
+
conservative = 'Conservative'
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class ScalingConfiguration(BaseModel):
|
|
426
|
+
model_config = ConfigDict(
|
|
427
|
+
extra='allow',
|
|
428
|
+
populate_by_name=True,
|
|
429
|
+
)
|
|
430
|
+
behaviour: ScalingBehaviours = Field(..., alias='Behaviour')
|
|
431
|
+
max_replicas: int = Field(
|
|
432
|
+
..., alias='MaxReplicas', description='How many instances will run at most'
|
|
433
|
+
)
|
|
429
434
|
|
|
430
435
|
|
|
431
436
|
class SelectProcessingParameters(BaseModel):
|
|
@@ -433,7 +438,7 @@ class SelectProcessingParameters(BaseModel):
|
|
|
433
438
|
extra='allow',
|
|
434
439
|
populate_by_name=True,
|
|
435
440
|
)
|
|
436
|
-
processing_step_url:
|
|
441
|
+
processing_step_url: AnyUrl = Field(..., alias='ProcessingStepUrl')
|
|
437
442
|
|
|
438
443
|
|
|
439
444
|
class SelectWorkDataCollectionForDataSlotParameters(BaseModel):
|
|
@@ -441,7 +446,7 @@ class SelectWorkDataCollectionForDataSlotParameters(BaseModel):
|
|
|
441
446
|
extra='allow',
|
|
442
447
|
populate_by_name=True,
|
|
443
448
|
)
|
|
444
|
-
work_data_urls: List[
|
|
449
|
+
work_data_urls: List[AnyUrl] = Field(..., alias='WorkDataUrls')
|
|
445
450
|
|
|
446
451
|
|
|
447
452
|
class SelectWorkDataForDataSlotParameters(BaseModel):
|
|
@@ -449,7 +454,7 @@ class SelectWorkDataForDataSlotParameters(BaseModel):
|
|
|
449
454
|
extra='allow',
|
|
450
455
|
populate_by_name=True,
|
|
451
456
|
)
|
|
452
|
-
work_data_url:
|
|
457
|
+
work_data_url: AnyUrl = Field(..., alias='WorkDataUrl')
|
|
453
458
|
|
|
454
459
|
|
|
455
460
|
class SetCommentWorkDataParameters(BaseModel):
|
|
@@ -465,7 +470,7 @@ class SetJobErrorStateParameters(BaseModel):
|
|
|
465
470
|
extra='allow',
|
|
466
471
|
populate_by_name=True,
|
|
467
472
|
)
|
|
468
|
-
message:
|
|
473
|
+
message: str = Field(..., alias='Message')
|
|
469
474
|
|
|
470
475
|
|
|
471
476
|
class SetJobTagsParameters(BaseModel):
|
|
@@ -476,12 +481,21 @@ class SetJobTagsParameters(BaseModel):
|
|
|
476
481
|
tags: List[str] = Field(..., alias='Tags')
|
|
477
482
|
|
|
478
483
|
|
|
484
|
+
class SetJobsErrorStateParameters(BaseModel):
|
|
485
|
+
model_config = ConfigDict(
|
|
486
|
+
extra='allow',
|
|
487
|
+
populate_by_name=True,
|
|
488
|
+
)
|
|
489
|
+
message: str = Field(..., alias='Message')
|
|
490
|
+
created_before: AwareDatetime = Field(..., alias='CreatedBefore')
|
|
491
|
+
|
|
492
|
+
|
|
479
493
|
class SetNameWorkDataParameters(BaseModel):
|
|
480
494
|
model_config = ConfigDict(
|
|
481
495
|
extra='allow',
|
|
482
496
|
populate_by_name=True,
|
|
483
497
|
)
|
|
484
|
-
new_name:
|
|
498
|
+
new_name: str = Field(..., alias='NewName')
|
|
485
499
|
|
|
486
500
|
|
|
487
501
|
class SetProcessingStepTagsParameters(BaseModel):
|
|
@@ -500,12 +514,20 @@ class SetTagsWorkDataParameters(BaseModel):
|
|
|
500
514
|
tags: List[str] = Field(..., alias='Tags')
|
|
501
515
|
|
|
502
516
|
|
|
503
|
-
class SortTypes(
|
|
517
|
+
class SortTypes(StrEnum):
|
|
504
518
|
none = 'None'
|
|
505
519
|
ascending = 'Ascending'
|
|
506
520
|
descending = 'Descending'
|
|
507
521
|
|
|
508
522
|
|
|
523
|
+
class SuspendAllDeploymentsParameters(BaseModel):
|
|
524
|
+
model_config = ConfigDict(
|
|
525
|
+
extra='allow',
|
|
526
|
+
populate_by_name=True,
|
|
527
|
+
)
|
|
528
|
+
suspension_type: DeploymentSuspensionTypes = Field(..., alias='SuspensionType')
|
|
529
|
+
|
|
530
|
+
|
|
509
531
|
class UserHtoOpenApiProperties(BaseModel):
|
|
510
532
|
model_config = ConfigDict(
|
|
511
533
|
extra='allow',
|
|
@@ -515,7 +537,7 @@ class UserHtoOpenApiProperties(BaseModel):
|
|
|
515
537
|
user_grants: List[str] | None = Field(None, alias='UserGrants')
|
|
516
538
|
|
|
517
539
|
|
|
518
|
-
class WorkDataKind(
|
|
540
|
+
class WorkDataKind(StrEnum):
|
|
519
541
|
unknown = 'Unknown'
|
|
520
542
|
client_upload = 'ClientUpload'
|
|
521
543
|
processing_artefact = 'ProcessingArtefact'
|
|
@@ -541,7 +563,7 @@ class WorkDataRootHtoOpenApiProperties(BaseModel):
|
|
|
541
563
|
)
|
|
542
564
|
|
|
543
565
|
|
|
544
|
-
class WorkDataSortProperties(
|
|
566
|
+
class WorkDataSortProperties(StrEnum):
|
|
545
567
|
name = 'Name'
|
|
546
568
|
media_type = 'MediaType'
|
|
547
569
|
kind = 'Kind'
|
|
@@ -596,23 +618,36 @@ class Action(BaseModel):
|
|
|
596
618
|
fields: List[FieldModel] | None = None
|
|
597
619
|
|
|
598
620
|
|
|
621
|
+
class AdminHtoOpenApi(BaseModel):
|
|
622
|
+
model_config = ConfigDict(
|
|
623
|
+
extra='allow',
|
|
624
|
+
populate_by_name=True,
|
|
625
|
+
)
|
|
626
|
+
class_: List[str] | None = Field(None, alias='class')
|
|
627
|
+
title: str | None = None
|
|
628
|
+
properties: AdminHtoOpenApiProperties | None = None
|
|
629
|
+
entities: List[Any] | None = None
|
|
630
|
+
actions: List[Action] | None = None
|
|
631
|
+
links: List[Link] | None = None
|
|
632
|
+
|
|
633
|
+
|
|
599
634
|
class AdminJobFilterParameter(BaseModel):
|
|
600
635
|
model_config = ConfigDict(
|
|
601
636
|
extra='allow',
|
|
602
637
|
populate_by_name=True,
|
|
603
638
|
)
|
|
604
|
-
work_data_url:
|
|
639
|
+
work_data_url: AnyUrl | None = Field(None, alias='WorkDataUrl')
|
|
605
640
|
name: str | None = Field(None, alias='Name')
|
|
606
641
|
state: JobStates | None = Field(None, alias='State')
|
|
607
642
|
show_hidden: bool | None = Field(None, alias='ShowHidden')
|
|
608
|
-
processing_step_url:
|
|
643
|
+
processing_step_url: AnyUrl | None = Field(None, alias='ProcessingStepUrl')
|
|
609
644
|
created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
|
|
610
645
|
created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
|
|
611
646
|
tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
|
|
612
647
|
tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
|
|
613
|
-
parent_job_url:
|
|
648
|
+
parent_job_url: AnyUrl | None = Field(None, alias='ParentJobUrl')
|
|
614
649
|
is_sub_job: bool | None = Field(None, alias='IsSubJob')
|
|
615
|
-
user_url:
|
|
650
|
+
user_url: AnyUrl | None = Field(None, alias='UserUrl')
|
|
616
651
|
|
|
617
652
|
|
|
618
653
|
class AdminJobQueryResultHtoOpenApi(BaseModel):
|
|
@@ -623,7 +658,7 @@ class AdminJobQueryResultHtoOpenApi(BaseModel):
|
|
|
623
658
|
class_: List[str] | None = Field(None, alias='class')
|
|
624
659
|
title: str | None = None
|
|
625
660
|
properties: AdminJobQueryResultHtoOpenApiProperties | None = None
|
|
626
|
-
entities: List | None = None
|
|
661
|
+
entities: List[Any] | None = None
|
|
627
662
|
actions: List[Action] | None = None
|
|
628
663
|
links: List[Link] | None = None
|
|
629
664
|
|
|
@@ -646,6 +681,7 @@ class AdminProcessingStepFilterParameter(BaseModel):
|
|
|
646
681
|
show_hidden: bool | None = Field(None, alias='ShowHidden')
|
|
647
682
|
show_deprecated: bool | None = Field(None, alias='ShowDeprecated')
|
|
648
683
|
is_configured: bool | None = Field(None, alias='IsConfigured')
|
|
684
|
+
deployment_state: DeploymentStates | None = Field(None, alias='DeploymentState')
|
|
649
685
|
|
|
650
686
|
|
|
651
687
|
class AdminProcessingStepQueryResultHtoOpenApi(BaseModel):
|
|
@@ -656,7 +692,7 @@ class AdminProcessingStepQueryResultHtoOpenApi(BaseModel):
|
|
|
656
692
|
class_: List[str] | None = Field(None, alias='class')
|
|
657
693
|
title: str | None = None
|
|
658
694
|
properties: AdminProcessingStepQueryResultHtoOpenApiProperties | None = None
|
|
659
|
-
entities: List | None = None
|
|
695
|
+
entities: List[Any] | None = None
|
|
660
696
|
actions: List[Action] | None = None
|
|
661
697
|
links: List[Link] | None = None
|
|
662
698
|
|
|
@@ -666,11 +702,11 @@ class AdminWorkDataFilterParameter(BaseModel):
|
|
|
666
702
|
extra='allow',
|
|
667
703
|
populate_by_name=True,
|
|
668
704
|
)
|
|
669
|
-
producer_processing_step_url:
|
|
705
|
+
producer_processing_step_url: AnyUrl | None = Field(
|
|
670
706
|
None, alias='ProducerProcessingStepUrl'
|
|
671
707
|
)
|
|
672
708
|
name_contains: str | None = Field(None, alias='NameContains')
|
|
673
|
-
user_url:
|
|
709
|
+
user_url: AnyUrl | None = Field(None, alias='UserUrl')
|
|
674
710
|
show_hidden: bool | None = Field(None, alias='ShowHidden')
|
|
675
711
|
media_type_contains: str | None = Field(None, alias='MediaTypeContains')
|
|
676
712
|
tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
|
|
@@ -701,22 +737,23 @@ class AdminWorkDataQueryResultHtoOpenApi(BaseModel):
|
|
|
701
737
|
class_: List[str] | None = Field(None, alias='class')
|
|
702
738
|
title: str | None = None
|
|
703
739
|
properties: AdminWorkDataQueryResultHtoOpenApiProperties | None = None
|
|
704
|
-
entities: List | None = None
|
|
740
|
+
entities: List[Any] | None = None
|
|
705
741
|
actions: List[Action] | None = None
|
|
706
742
|
links: List[Link] | None = None
|
|
707
743
|
|
|
708
744
|
|
|
709
|
-
class
|
|
745
|
+
class ConfigureDeploymentParameters(BaseModel):
|
|
710
746
|
model_config = ConfigDict(
|
|
711
747
|
extra='allow',
|
|
712
748
|
populate_by_name=True,
|
|
713
749
|
)
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
750
|
+
resource_preset: DeploymentResourcePresets = Field(..., alias='ResourcePreset')
|
|
751
|
+
entrypoint: str = Field(
|
|
752
|
+
...,
|
|
753
|
+
alias='Entrypoint',
|
|
754
|
+
description='Specifies the container entry point, aka ProCon file to use',
|
|
755
|
+
)
|
|
756
|
+
scaling: ScalingConfiguration = Field(..., alias='Scaling')
|
|
720
757
|
|
|
721
758
|
|
|
722
759
|
class EntryPointHtoOpenApi(BaseModel):
|
|
@@ -727,7 +764,7 @@ class EntryPointHtoOpenApi(BaseModel):
|
|
|
727
764
|
class_: List[str] | None = Field(None, alias='class')
|
|
728
765
|
title: str | None = None
|
|
729
766
|
properties: EntryPointHtoOpenApiProperties | None = None
|
|
730
|
-
entities: List | None = None
|
|
767
|
+
entities: List[Any] | None = None
|
|
731
768
|
actions: List[Action] | None = None
|
|
732
769
|
links: List[Link] | None = None
|
|
733
770
|
|
|
@@ -740,7 +777,7 @@ class InfoHtoOpenApi(BaseModel):
|
|
|
740
777
|
class_: List[str] | None = Field(None, alias='class')
|
|
741
778
|
title: str | None = None
|
|
742
779
|
properties: InfoHtoOpenApiProperties | None = None
|
|
743
|
-
entities: List | None = None
|
|
780
|
+
entities: List[Any] | None = None
|
|
744
781
|
actions: List[Action] | None = None
|
|
745
782
|
links: List[Link] | None = None
|
|
746
783
|
|
|
@@ -753,14 +790,14 @@ class JobFilterParameter(BaseModel):
|
|
|
753
790
|
state: JobStates | None = Field(None, alias='State')
|
|
754
791
|
name: str | None = Field(None, alias='Name')
|
|
755
792
|
show_hidden: bool | None = Field(None, alias='ShowHidden')
|
|
756
|
-
work_data_url:
|
|
793
|
+
work_data_url: AnyUrl | None = Field(None, alias='WorkDataUrl')
|
|
757
794
|
created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
|
|
758
795
|
created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
|
|
759
796
|
tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
|
|
760
797
|
tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
|
|
761
|
-
processing_step_url:
|
|
798
|
+
processing_step_url: AnyUrl | None = Field(None, alias='ProcessingStepUrl')
|
|
762
799
|
is_sub_job: bool | None = Field(None, alias='IsSubJob')
|
|
763
|
-
parent_job_url:
|
|
800
|
+
parent_job_url: AnyUrl | None = Field(None, alias='ParentJobUrl')
|
|
764
801
|
|
|
765
802
|
|
|
766
803
|
class JobHtoOpenApiProperties(BaseModel):
|
|
@@ -794,7 +831,7 @@ class JobQueryResultHtoOpenApi(BaseModel):
|
|
|
794
831
|
class_: List[str] | None = Field(None, alias='class')
|
|
795
832
|
title: str | None = None
|
|
796
833
|
properties: JobQueryResultHtoOpenApiProperties | None = None
|
|
797
|
-
entities: List | None = None
|
|
834
|
+
entities: List[Any] | None = None
|
|
798
835
|
actions: List[Action] | None = None
|
|
799
836
|
links: List[Link] | None = None
|
|
800
837
|
|
|
@@ -816,7 +853,7 @@ class JobUsedTagsAdminHtoOpenApi(BaseModel):
|
|
|
816
853
|
class_: List[str] | None = Field(None, alias='class')
|
|
817
854
|
title: str | None = None
|
|
818
855
|
properties: JobUsedTagsAdminHtoOpenApiProperties | None = None
|
|
819
|
-
entities: List | None = None
|
|
856
|
+
entities: List[Any] | None = None
|
|
820
857
|
actions: List[Action] | None = None
|
|
821
858
|
links: List[Link] | None = None
|
|
822
859
|
|
|
@@ -829,7 +866,7 @@ class JobUsedTagsHtoOpenApi(BaseModel):
|
|
|
829
866
|
class_: List[str] | None = Field(None, alias='class')
|
|
830
867
|
title: str | None = None
|
|
831
868
|
properties: JobUsedTagsHtoOpenApiProperties | None = None
|
|
832
|
-
entities: List | None = None
|
|
869
|
+
entities: List[Any] | None = None
|
|
833
870
|
actions: List[Action] | None = None
|
|
834
871
|
links: List[Link] | None = None
|
|
835
872
|
|
|
@@ -842,22 +879,81 @@ class JobsRootHtoOpenApi(BaseModel):
|
|
|
842
879
|
class_: List[str] | None = Field(None, alias='class')
|
|
843
880
|
title: str | None = None
|
|
844
881
|
properties: JobsRootHtoOpenApiProperties | None = None
|
|
845
|
-
entities: List | None = None
|
|
882
|
+
entities: List[Any] | None = None
|
|
846
883
|
actions: List[Action] | None = None
|
|
847
884
|
links: List[Link] | None = None
|
|
848
885
|
|
|
849
886
|
|
|
850
|
-
class
|
|
887
|
+
class ProcessingStepDeploymentHto(BaseModel):
|
|
888
|
+
"""
|
|
889
|
+
Displays the deployment configuration
|
|
890
|
+
"""
|
|
891
|
+
|
|
851
892
|
model_config = ConfigDict(
|
|
852
893
|
extra='allow',
|
|
853
894
|
populate_by_name=True,
|
|
854
895
|
)
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
896
|
+
resource_preset: DeploymentResourcePresets | None = Field(
|
|
897
|
+
None, alias='ResourcePreset'
|
|
898
|
+
)
|
|
899
|
+
scaling_behaviour: ScalingBehaviours | None = Field(None, alias='ScalingBehaviour')
|
|
900
|
+
max_replicas: int | None = Field(None, alias='MaxReplicas')
|
|
901
|
+
entrypoint: str | None = Field(None, alias='Entrypoint')
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
class ProcessingStepHtoOpenApiProperties(BaseModel):
|
|
905
|
+
model_config = ConfigDict(
|
|
906
|
+
extra='allow',
|
|
907
|
+
populate_by_name=True,
|
|
908
|
+
)
|
|
909
|
+
title: str | None = Field(None, alias='Title')
|
|
910
|
+
owner_id: str | None = Field(
|
|
911
|
+
None, alias='OwnerId', description='The owner of this resource'
|
|
912
|
+
)
|
|
913
|
+
created_by: str | None = Field(
|
|
914
|
+
None, alias='CreatedBy', description='The creator of this resource'
|
|
915
|
+
)
|
|
916
|
+
version: str | None = Field(
|
|
917
|
+
None, alias='Version', description='Version of the algorithm. Default = "0"'
|
|
918
|
+
)
|
|
919
|
+
function_name: str | None = Field(
|
|
920
|
+
None,
|
|
921
|
+
alias='FunctionName',
|
|
922
|
+
description='Unique name (possibly human-readable) for the function so that it can be identified',
|
|
923
|
+
)
|
|
924
|
+
short_description: str | None = Field(
|
|
925
|
+
None, alias='ShortDescription', description='Human-readable short description'
|
|
926
|
+
)
|
|
927
|
+
long_description: str | None = Field(
|
|
928
|
+
None, alias='LongDescription', description='Human-readable long description'
|
|
929
|
+
)
|
|
930
|
+
code_hash: str | None = Field(
|
|
931
|
+
None,
|
|
932
|
+
alias='CodeHash',
|
|
933
|
+
description='The hash of the code executing this function. This is intended to inhibit\nredeployment of different code for the same function version.',
|
|
934
|
+
)
|
|
935
|
+
has_parameters: bool | None = Field(None, alias='HasParameters')
|
|
936
|
+
is_public: bool | None = Field(None, alias='IsPublic')
|
|
937
|
+
tags: List[str] | None = Field(None, alias='Tags')
|
|
938
|
+
is_configured: bool | None = Field(None, alias='IsConfigured')
|
|
939
|
+
hidden: bool | None = Field(None, alias='Hidden')
|
|
940
|
+
is_deprecated: bool | None = Field(None, alias='IsDeprecated')
|
|
941
|
+
deprecated_at: AwareDatetime | None = Field(None, alias='DeprecatedAt')
|
|
942
|
+
reason_for_deprecation: str | None = Field(None, alias='ReasonForDeprecation')
|
|
943
|
+
created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
|
|
944
|
+
last_modified_at: AwareDatetime | None = Field(None, alias='LastModifiedAt')
|
|
945
|
+
parameter_schema: str | None = Field(None, alias='ParameterSchema')
|
|
946
|
+
default_parameters: str | None = Field(None, alias='DefaultParameters')
|
|
947
|
+
return_schema: str | None = Field(None, alias='ReturnSchema')
|
|
948
|
+
error_schema: str | None = Field(None, alias='ErrorSchema')
|
|
949
|
+
input_data_slot_specification: List[DataSpecificationHto] | None = Field(
|
|
950
|
+
None, alias='InputDataSlotSpecification'
|
|
951
|
+
)
|
|
952
|
+
output_data_slot_specification: List[DataSpecificationHto] | None = Field(
|
|
953
|
+
None, alias='OutputDataSlotSpecification'
|
|
954
|
+
)
|
|
955
|
+
deployment_state: DeploymentStates | None = Field(None, alias='DeploymentState')
|
|
956
|
+
deployment: ProcessingStepDeploymentHto | None = Field(None, alias='Deployment')
|
|
861
957
|
|
|
862
958
|
|
|
863
959
|
class ProcessingStepQueryResultHtoOpenApi(BaseModel):
|
|
@@ -868,7 +964,7 @@ class ProcessingStepQueryResultHtoOpenApi(BaseModel):
|
|
|
868
964
|
class_: List[str] | None = Field(None, alias='class')
|
|
869
965
|
title: str | None = None
|
|
870
966
|
properties: ProcessingStepQueryResultHtoOpenApiProperties | None = None
|
|
871
|
-
entities: List | None = None
|
|
967
|
+
entities: List[Any] | None = None
|
|
872
968
|
actions: List[Action] | None = None
|
|
873
969
|
links: List[Link] | None = None
|
|
874
970
|
|
|
@@ -881,7 +977,7 @@ class ProcessingStepRootHtoOpenApi(BaseModel):
|
|
|
881
977
|
class_: List[str] | None = Field(None, alias='class')
|
|
882
978
|
title: str | None = None
|
|
883
979
|
properties: ProcessingStepRootHtoOpenApiProperties | None = None
|
|
884
|
-
entities: List | None = None
|
|
980
|
+
entities: List[Any] | None = None
|
|
885
981
|
actions: List[Action] | None = None
|
|
886
982
|
links: List[Link] | None = None
|
|
887
983
|
|
|
@@ -905,7 +1001,7 @@ class ProcessingStepUsedTagsAdminHtoOpenApi(BaseModel):
|
|
|
905
1001
|
class_: List[str] | None = Field(None, alias='class')
|
|
906
1002
|
title: str | None = None
|
|
907
1003
|
properties: ProcessingStepUsedTagsAdminHtoOpenApiProperties | None = None
|
|
908
|
-
entities: List | None = None
|
|
1004
|
+
entities: List[Any] | None = None
|
|
909
1005
|
actions: List[Action] | None = None
|
|
910
1006
|
links: List[Link] | None = None
|
|
911
1007
|
|
|
@@ -918,7 +1014,7 @@ class ProcessingStepUsedTagsHtoOpenApi(BaseModel):
|
|
|
918
1014
|
class_: List[str] | None = Field(None, alias='class')
|
|
919
1015
|
title: str | None = None
|
|
920
1016
|
properties: ProcessingStepUsedTagsHtoOpenApiProperties | None = None
|
|
921
|
-
entities: List | None = None
|
|
1017
|
+
entities: List[Any] | None = None
|
|
922
1018
|
actions: List[Action] | None = None
|
|
923
1019
|
links: List[Link] | None = None
|
|
924
1020
|
|
|
@@ -931,7 +1027,7 @@ class UserHtoOpenApi(BaseModel):
|
|
|
931
1027
|
class_: List[str] | None = Field(None, alias='class')
|
|
932
1028
|
title: str | None = None
|
|
933
1029
|
properties: UserHtoOpenApiProperties | None = None
|
|
934
|
-
entities: List | None = None
|
|
1030
|
+
entities: List[Any] | None = None
|
|
935
1031
|
actions: List[Action] | None = None
|
|
936
1032
|
links: List[Link] | None = None
|
|
937
1033
|
|
|
@@ -942,7 +1038,7 @@ class WorkDataFilterParameter(BaseModel):
|
|
|
942
1038
|
populate_by_name=True,
|
|
943
1039
|
)
|
|
944
1040
|
name_contains: str | None = Field(None, alias='NameContains')
|
|
945
|
-
producer_processing_step_url:
|
|
1041
|
+
producer_processing_step_url: AnyUrl | None = Field(
|
|
946
1042
|
None, alias='ProducerProcessingStepUrl'
|
|
947
1043
|
)
|
|
948
1044
|
show_hidden: bool | None = Field(None, alias='ShowHidden')
|
|
@@ -998,7 +1094,7 @@ class WorkDataQueryResultHtoOpenApi(BaseModel):
|
|
|
998
1094
|
class_: List[str] | None = Field(None, alias='class')
|
|
999
1095
|
title: str | None = None
|
|
1000
1096
|
properties: WorkDataQueryResultHtoOpenApiProperties | None = None
|
|
1001
|
-
entities: List | None = None
|
|
1097
|
+
entities: List[Any] | None = None
|
|
1002
1098
|
actions: List[Action] | None = None
|
|
1003
1099
|
links: List[Link] | None = None
|
|
1004
1100
|
|
|
@@ -1011,7 +1107,7 @@ class WorkDataRootHtoOpenApi(BaseModel):
|
|
|
1011
1107
|
class_: List[str] | None = Field(None, alias='class')
|
|
1012
1108
|
title: str | None = None
|
|
1013
1109
|
properties: WorkDataRootHtoOpenApiProperties | None = None
|
|
1014
|
-
entities: List | None = None
|
|
1110
|
+
entities: List[Any] | None = None
|
|
1015
1111
|
actions: List[Action] | None = None
|
|
1016
1112
|
links: List[Link] | None = None
|
|
1017
1113
|
|
|
@@ -1024,7 +1120,7 @@ class WorkDataUsedTagsAdminQueryResultHtoOpenApi(BaseModel):
|
|
|
1024
1120
|
class_: List[str] | None = Field(None, alias='class')
|
|
1025
1121
|
title: str | None = None
|
|
1026
1122
|
properties: WorkDataUsedTagsAdminQueryResultHtoOpenApiProperties | None = None
|
|
1027
|
-
entities: List | None = None
|
|
1123
|
+
entities: List[Any] | None = None
|
|
1028
1124
|
actions: List[Action] | None = None
|
|
1029
1125
|
links: List[Link] | None = None
|
|
1030
1126
|
|
|
@@ -1037,7 +1133,7 @@ class WorkDataUsedTagsQueryResultHtoOpenApi(BaseModel):
|
|
|
1037
1133
|
class_: List[str] | None = Field(None, alias='class')
|
|
1038
1134
|
title: str | None = None
|
|
1039
1135
|
properties: WorkDataUsedTagsQueryResultHtoOpenApiProperties | None = None
|
|
1040
|
-
entities: List | None = None
|
|
1136
|
+
entities: List[Any] | None = None
|
|
1041
1137
|
actions: List[Action] | None = None
|
|
1042
1138
|
links: List[Link] | None = None
|
|
1043
1139
|
|
|
@@ -1074,7 +1170,7 @@ class JobHtoOpenApi(BaseModel):
|
|
|
1074
1170
|
class_: List[str] | None = Field(None, alias='class')
|
|
1075
1171
|
title: str | None = None
|
|
1076
1172
|
properties: JobHtoOpenApiProperties | None = None
|
|
1077
|
-
entities: List | None = None
|
|
1173
|
+
entities: List[Any] | None = None
|
|
1078
1174
|
actions: List[Action] | None = None
|
|
1079
1175
|
links: List[Link] | None = None
|
|
1080
1176
|
|
|
@@ -1090,6 +1186,19 @@ class JobQueryParameters(BaseModel):
|
|
|
1090
1186
|
include_remaining_tags: bool | None = Field(None, alias='IncludeRemainingTags')
|
|
1091
1187
|
|
|
1092
1188
|
|
|
1189
|
+
class ProcessingStepHtoOpenApi(BaseModel):
|
|
1190
|
+
model_config = ConfigDict(
|
|
1191
|
+
extra='allow',
|
|
1192
|
+
populate_by_name=True,
|
|
1193
|
+
)
|
|
1194
|
+
class_: List[str] | None = Field(None, alias='class')
|
|
1195
|
+
title: str | None = None
|
|
1196
|
+
properties: ProcessingStepHtoOpenApiProperties | None = None
|
|
1197
|
+
entities: List[Any] | None = None
|
|
1198
|
+
actions: List[Action] | None = None
|
|
1199
|
+
links: List[Link] | None = None
|
|
1200
|
+
|
|
1201
|
+
|
|
1093
1202
|
class ProcessingStepQueryParameters(BaseModel):
|
|
1094
1203
|
model_config = ConfigDict(
|
|
1095
1204
|
extra='allow',
|
|
@@ -1111,6 +1220,6 @@ class WorkDataHtoOpenApi(BaseModel):
|
|
|
1111
1220
|
class_: List[str] | None = Field(None, alias='class')
|
|
1112
1221
|
title: str | None = None
|
|
1113
1222
|
properties: WorkDataHtoOpenApiProperties | None = None
|
|
1114
|
-
entities: List | None = None
|
|
1223
|
+
entities: List[Any] | None = None
|
|
1115
1224
|
actions: List[Action] | None = None
|
|
1116
1225
|
links: List[Link] | None = None
|