diracx-client 0.0.1a45__py3-none-any.whl → 0.0.1a47__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.
- diracx/client/_generated/_client.py +10 -33
- diracx/client/_generated/_configuration.py +6 -18
- diracx/client/_generated/_utils/serialization.py +70 -224
- diracx/client/_generated/_utils/utils.py +3 -9
- diracx/client/_generated/aio/_client.py +8 -29
- diracx/client/_generated/aio/_configuration.py +7 -21
- diracx/client/_generated/aio/_patch.py +1 -3
- diracx/client/_generated/aio/operations/_operations.py +437 -475
- diracx/client/_generated/models/__init__.py +17 -10
- diracx/client/_generated/models/_enums.py +3 -0
- diracx/client/_generated/models/_models.py +425 -166
- diracx/client/_generated/operations/_operations.py +501 -631
- diracx/client/patches/jobs/common.py +1 -1
- {diracx_client-0.0.1a45.dist-info → diracx_client-0.0.1a47.dist-info}/METADATA +1 -1
- {diracx_client-0.0.1a45.dist-info → diracx_client-0.0.1a47.dist-info}/RECORD +16 -16
- {diracx_client-0.0.1a45.dist-info → diracx_client-0.0.1a47.dist-info}/WHEEL +0 -0
@@ -61,7 +61,7 @@ class BodyAuthGetOidcToken(_serialization.Model):
|
|
61
61
|
redirect_uri: Optional[str] = None,
|
62
62
|
code_verifier: Optional[str] = None,
|
63
63
|
refresh_token: Optional[str] = None,
|
64
|
-
**kwargs: Any
|
64
|
+
**kwargs: Any
|
65
65
|
) -> None:
|
66
66
|
"""
|
67
67
|
:keyword grant_type: OAuth2 Grant type. Required.
|
@@ -94,6 +94,58 @@ class BodyAuthGetOidcTokenGrantType(_serialization.Model):
|
|
94
94
|
"""OAuth2 Grant type."""
|
95
95
|
|
96
96
|
|
97
|
+
class BodyJobsRescheduleJobs(_serialization.Model):
|
98
|
+
"""Body_jobs_reschedule_jobs.
|
99
|
+
|
100
|
+
All required parameters must be populated in order to send to server.
|
101
|
+
|
102
|
+
:ivar job_ids: Job Ids. Required.
|
103
|
+
:vartype job_ids: list[int]
|
104
|
+
"""
|
105
|
+
|
106
|
+
_validation = {
|
107
|
+
"job_ids": {"required": True},
|
108
|
+
}
|
109
|
+
|
110
|
+
_attribute_map = {
|
111
|
+
"job_ids": {"key": "job_ids", "type": "[int]"},
|
112
|
+
}
|
113
|
+
|
114
|
+
def __init__(self, *, job_ids: List[int], **kwargs: Any) -> None:
|
115
|
+
"""
|
116
|
+
:keyword job_ids: Job Ids. Required.
|
117
|
+
:paramtype job_ids: list[int]
|
118
|
+
"""
|
119
|
+
super().__init__(**kwargs)
|
120
|
+
self.job_ids = job_ids
|
121
|
+
|
122
|
+
|
123
|
+
class BodyJobsUnassignBulkJobsSandboxes(_serialization.Model):
|
124
|
+
"""Body_jobs_unassign_bulk_jobs_sandboxes.
|
125
|
+
|
126
|
+
All required parameters must be populated in order to send to server.
|
127
|
+
|
128
|
+
:ivar job_ids: Job Ids. Required.
|
129
|
+
:vartype job_ids: list[int]
|
130
|
+
"""
|
131
|
+
|
132
|
+
_validation = {
|
133
|
+
"job_ids": {"required": True},
|
134
|
+
}
|
135
|
+
|
136
|
+
_attribute_map = {
|
137
|
+
"job_ids": {"key": "job_ids", "type": "[int]"},
|
138
|
+
}
|
139
|
+
|
140
|
+
def __init__(self, *, job_ids: List[int], **kwargs: Any) -> None:
|
141
|
+
"""
|
142
|
+
:keyword job_ids: Job Ids. Required.
|
143
|
+
:paramtype job_ids: list[int]
|
144
|
+
"""
|
145
|
+
super().__init__(**kwargs)
|
146
|
+
self.job_ids = job_ids
|
147
|
+
|
148
|
+
|
97
149
|
class GroupInfo(_serialization.Model):
|
98
150
|
"""GroupInfo.
|
99
151
|
|
@@ -159,7 +211,7 @@ class HeartbeatData(_serialization.Model):
|
|
159
211
|
cpu_consumed: Optional[float] = None,
|
160
212
|
wall_clock_time: Optional[float] = None,
|
161
213
|
standard_output: Optional[str] = None,
|
162
|
-
**kwargs: Any
|
214
|
+
**kwargs: Any
|
163
215
|
) -> None:
|
164
216
|
"""
|
165
217
|
:keyword load_average: Loadaverage.
|
@@ -198,9 +250,7 @@ class HTTPValidationError(_serialization.Model):
|
|
198
250
|
"detail": {"key": "detail", "type": "[ValidationError]"},
|
199
251
|
}
|
200
252
|
|
201
|
-
def __init__(
|
202
|
-
self, *, detail: Optional[List["_models.ValidationError"]] = None, **kwargs: Any
|
203
|
-
) -> None:
|
253
|
+
def __init__(self, *, detail: Optional[List["_models.ValidationError"]] = None, **kwargs: Any) -> None:
|
204
254
|
"""
|
205
255
|
:keyword detail: Detail.
|
206
256
|
:paramtype detail: list[~_generated.models.ValidationError]
|
@@ -237,10 +287,7 @@ class InitiateDeviceFlowResponse(_serialization.Model):
|
|
237
287
|
_attribute_map = {
|
238
288
|
"user_code": {"key": "user_code", "type": "str"},
|
239
289
|
"device_code": {"key": "device_code", "type": "str"},
|
240
|
-
"verification_uri_complete": {
|
241
|
-
"key": "verification_uri_complete",
|
242
|
-
"type": "str",
|
243
|
-
},
|
290
|
+
"verification_uri_complete": {"key": "verification_uri_complete", "type": "str"},
|
244
291
|
"verification_uri": {"key": "verification_uri", "type": "str"},
|
245
292
|
"expires_in": {"key": "expires_in", "type": "int"},
|
246
293
|
}
|
@@ -253,7 +300,7 @@ class InitiateDeviceFlowResponse(_serialization.Model):
|
|
253
300
|
verification_uri_complete: str,
|
254
301
|
verification_uri: str,
|
255
302
|
expires_in: int,
|
256
|
-
**kwargs: Any
|
303
|
+
**kwargs: Any
|
257
304
|
) -> None:
|
258
305
|
"""
|
259
306
|
:keyword user_code: User Code. Required.
|
@@ -305,13 +352,7 @@ class InsertedJob(_serialization.Model):
|
|
305
352
|
}
|
306
353
|
|
307
354
|
def __init__(
|
308
|
-
self,
|
309
|
-
*,
|
310
|
-
job_id: int,
|
311
|
-
status: str,
|
312
|
-
minor_status: str,
|
313
|
-
time_stamp: datetime.datetime,
|
314
|
-
**kwargs: Any,
|
355
|
+
self, *, job_id: int, status: str, minor_status: str, time_stamp: datetime.datetime, **kwargs: Any
|
315
356
|
) -> None:
|
316
357
|
"""
|
317
358
|
:keyword job_id: Jobid. Required.
|
@@ -354,14 +395,7 @@ class JobCommand(_serialization.Model):
|
|
354
395
|
"arguments": {"key": "arguments", "type": "str"},
|
355
396
|
}
|
356
397
|
|
357
|
-
def __init__(
|
358
|
-
self,
|
359
|
-
*,
|
360
|
-
job_id: int,
|
361
|
-
command: str,
|
362
|
-
arguments: Optional[str] = None,
|
363
|
-
**kwargs: Any,
|
364
|
-
) -> None:
|
398
|
+
def __init__(self, *, job_id: int, command: str, arguments: Optional[str] = None, **kwargs: Any) -> None:
|
365
399
|
"""
|
366
400
|
:keyword job_id: Job Id. Required.
|
367
401
|
:paramtype job_id: int
|
@@ -376,54 +410,271 @@ class JobCommand(_serialization.Model):
|
|
376
410
|
self.arguments = arguments
|
377
411
|
|
378
412
|
|
379
|
-
class
|
380
|
-
"""
|
381
|
-
|
382
|
-
:ivar
|
383
|
-
:vartype
|
384
|
-
:ivar
|
385
|
-
:vartype
|
386
|
-
:ivar
|
387
|
-
:vartype
|
388
|
-
:ivar
|
389
|
-
:vartype
|
413
|
+
class JobMetaData(_serialization.Model):
|
414
|
+
"""A model that combines both JobAttributes and JobParameters.
|
415
|
+
|
416
|
+
:ivar timestamp: Timestamp.
|
417
|
+
:vartype timestamp: ~datetime.datetime
|
418
|
+
:ivar cpu_normalization_factor: Cpunormalizationfactor.
|
419
|
+
:vartype cpu_normalization_factor: int
|
420
|
+
:ivar norm_cpu_time_s: Normcputime(S).
|
421
|
+
:vartype norm_cpu_time_s: int
|
422
|
+
:ivar total_cpu_time_s: Totalcputime(S).
|
423
|
+
:vartype total_cpu_time_s: int
|
424
|
+
:ivar host_name: Hostname.
|
425
|
+
:vartype host_name: str
|
426
|
+
:ivar grid_ce: Gridce.
|
427
|
+
:vartype grid_ce: str
|
428
|
+
:ivar model_name: Modelname.
|
429
|
+
:vartype model_name: str
|
430
|
+
:ivar pilot_agent: Pilotagent.
|
431
|
+
:vartype pilot_agent: str
|
432
|
+
:ivar pilot_reference: Pilot Reference.
|
433
|
+
:vartype pilot_reference: str
|
434
|
+
:ivar memory_mb: Memory(Mb).
|
435
|
+
:vartype memory_mb: int
|
436
|
+
:ivar local_account: Localaccount.
|
437
|
+
:vartype local_account: str
|
438
|
+
:ivar payload_pid: Payloadpid.
|
439
|
+
:vartype payload_pid: int
|
440
|
+
:ivar ce_queue: Cequeue.
|
441
|
+
:vartype ce_queue: str
|
442
|
+
:ivar batch_system: Batchsystem.
|
443
|
+
:vartype batch_system: str
|
444
|
+
:ivar job_type: Jobtype.
|
445
|
+
:vartype job_type: str
|
446
|
+
:ivar job_status: Jobstatus.
|
447
|
+
:vartype job_status: str
|
448
|
+
:ivar job_group: Jobgroup.
|
449
|
+
:vartype job_group: str
|
450
|
+
:ivar site: Site.
|
451
|
+
:vartype site: str
|
452
|
+
:ivar job_name: Jobname.
|
453
|
+
:vartype job_name: str
|
454
|
+
:ivar owner: Owner.
|
455
|
+
:vartype owner: str
|
456
|
+
:ivar owner_group: Ownergroup.
|
457
|
+
:vartype owner_group: str
|
458
|
+
:ivar vo: Vo.
|
459
|
+
:vartype vo: str
|
460
|
+
:ivar submission_time: Submissiontime.
|
461
|
+
:vartype submission_time: ~datetime.datetime
|
462
|
+
:ivar reschedule_time: Rescheduletime.
|
463
|
+
:vartype reschedule_time: ~datetime.datetime
|
464
|
+
:ivar last_update_time: Lastupdatetime.
|
465
|
+
:vartype last_update_time: ~datetime.datetime
|
466
|
+
:ivar start_exec_time: Startexectime.
|
467
|
+
:vartype start_exec_time: ~datetime.datetime
|
468
|
+
:ivar heart_beat_time: Heartbeattime.
|
469
|
+
:vartype heart_beat_time: ~datetime.datetime
|
470
|
+
:ivar end_exec_time: Endexectime.
|
471
|
+
:vartype end_exec_time: ~datetime.datetime
|
472
|
+
:ivar status: Status.
|
473
|
+
:vartype status: str
|
474
|
+
:ivar minor_status: Minorstatus.
|
475
|
+
:vartype minor_status: str
|
476
|
+
:ivar application_status: Applicationstatus.
|
477
|
+
:vartype application_status: str
|
478
|
+
:ivar user_priority: Userpriority.
|
479
|
+
:vartype user_priority: int
|
480
|
+
:ivar reschedule_counter: Reschedulecounter.
|
481
|
+
:vartype reschedule_counter: int
|
482
|
+
:ivar verified_flag: Verifiedflag.
|
483
|
+
:vartype verified_flag: bool
|
484
|
+
:ivar accounted_flag: Accountedflag.
|
485
|
+
:vartype accounted_flag: ~_generated.models.JobMetaDataAccountedFlag
|
390
486
|
"""
|
391
487
|
|
392
488
|
_attribute_map = {
|
393
|
-
"
|
394
|
-
"
|
395
|
-
"
|
396
|
-
"
|
489
|
+
"timestamp": {"key": "timestamp", "type": "iso-8601"},
|
490
|
+
"cpu_normalization_factor": {"key": "CPUNormalizationFactor", "type": "int"},
|
491
|
+
"norm_cpu_time_s": {"key": "NormCPUTime(s)", "type": "int"},
|
492
|
+
"total_cpu_time_s": {"key": "TotalCPUTime(s)", "type": "int"},
|
493
|
+
"host_name": {"key": "HostName", "type": "str"},
|
494
|
+
"grid_ce": {"key": "GridCE", "type": "str"},
|
495
|
+
"model_name": {"key": "ModelName", "type": "str"},
|
496
|
+
"pilot_agent": {"key": "PilotAgent", "type": "str"},
|
497
|
+
"pilot_reference": {"key": "Pilot_Reference", "type": "str"},
|
498
|
+
"memory_mb": {"key": "Memory(MB)", "type": "int"},
|
499
|
+
"local_account": {"key": "LocalAccount", "type": "str"},
|
500
|
+
"payload_pid": {"key": "PayloadPID", "type": "int"},
|
501
|
+
"ce_queue": {"key": "CEQueue", "type": "str"},
|
502
|
+
"batch_system": {"key": "BatchSystem", "type": "str"},
|
503
|
+
"job_type": {"key": "JobType", "type": "str"},
|
504
|
+
"job_status": {"key": "JobStatus", "type": "str"},
|
505
|
+
"job_group": {"key": "JobGroup", "type": "str"},
|
506
|
+
"site": {"key": "Site", "type": "str"},
|
507
|
+
"job_name": {"key": "JobName", "type": "str"},
|
508
|
+
"owner": {"key": "Owner", "type": "str"},
|
509
|
+
"owner_group": {"key": "OwnerGroup", "type": "str"},
|
510
|
+
"vo": {"key": "VO", "type": "str"},
|
511
|
+
"submission_time": {"key": "SubmissionTime", "type": "iso-8601"},
|
512
|
+
"reschedule_time": {"key": "RescheduleTime", "type": "iso-8601"},
|
513
|
+
"last_update_time": {"key": "LastUpdateTime", "type": "iso-8601"},
|
514
|
+
"start_exec_time": {"key": "StartExecTime", "type": "iso-8601"},
|
515
|
+
"heart_beat_time": {"key": "HeartBeatTime", "type": "iso-8601"},
|
516
|
+
"end_exec_time": {"key": "EndExecTime", "type": "iso-8601"},
|
517
|
+
"status": {"key": "Status", "type": "str"},
|
518
|
+
"minor_status": {"key": "MinorStatus", "type": "str"},
|
519
|
+
"application_status": {"key": "ApplicationStatus", "type": "str"},
|
520
|
+
"user_priority": {"key": "UserPriority", "type": "int"},
|
521
|
+
"reschedule_counter": {"key": "RescheduleCounter", "type": "int"},
|
522
|
+
"verified_flag": {"key": "VerifiedFlag", "type": "bool"},
|
523
|
+
"accounted_flag": {"key": "AccountedFlag", "type": "JobMetaDataAccountedFlag"},
|
397
524
|
}
|
398
525
|
|
399
|
-
def __init__(
|
526
|
+
def __init__( # pylint: disable=too-many-locals
|
400
527
|
self,
|
401
528
|
*,
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
529
|
+
timestamp: Optional[datetime.datetime] = None,
|
530
|
+
cpu_normalization_factor: Optional[int] = None,
|
531
|
+
norm_cpu_time_s: Optional[int] = None,
|
532
|
+
total_cpu_time_s: Optional[int] = None,
|
533
|
+
host_name: Optional[str] = None,
|
534
|
+
grid_ce: Optional[str] = None,
|
535
|
+
model_name: Optional[str] = None,
|
536
|
+
pilot_agent: Optional[str] = None,
|
537
|
+
pilot_reference: Optional[str] = None,
|
538
|
+
memory_mb: Optional[int] = None,
|
539
|
+
local_account: Optional[str] = None,
|
540
|
+
payload_pid: Optional[int] = None,
|
541
|
+
ce_queue: Optional[str] = None,
|
542
|
+
batch_system: Optional[str] = None,
|
543
|
+
job_type: Optional[str] = None,
|
544
|
+
job_status: Optional[str] = None,
|
545
|
+
job_group: Optional[str] = None,
|
546
|
+
site: Optional[str] = None,
|
547
|
+
job_name: Optional[str] = None,
|
548
|
+
owner: Optional[str] = None,
|
549
|
+
owner_group: Optional[str] = None,
|
550
|
+
vo: Optional[str] = None,
|
551
|
+
submission_time: Optional[datetime.datetime] = None,
|
552
|
+
reschedule_time: Optional[datetime.datetime] = None,
|
553
|
+
last_update_time: Optional[datetime.datetime] = None,
|
554
|
+
start_exec_time: Optional[datetime.datetime] = None,
|
555
|
+
heart_beat_time: Optional[datetime.datetime] = None,
|
556
|
+
end_exec_time: Optional[datetime.datetime] = None,
|
557
|
+
status: Optional[str] = None,
|
558
|
+
minor_status: Optional[str] = None,
|
559
|
+
application_status: Optional[str] = None,
|
560
|
+
user_priority: Optional[int] = None,
|
561
|
+
reschedule_counter: Optional[int] = None,
|
562
|
+
verified_flag: Optional[bool] = None,
|
563
|
+
accounted_flag: Optional["_models.JobMetaDataAccountedFlag"] = None,
|
564
|
+
**kwargs: Any
|
407
565
|
) -> None:
|
408
566
|
"""
|
409
|
-
:keyword
|
410
|
-
:paramtype
|
411
|
-
:keyword
|
412
|
-
:paramtype
|
413
|
-
:keyword
|
414
|
-
:paramtype
|
415
|
-
:keyword
|
416
|
-
:paramtype
|
567
|
+
:keyword timestamp: Timestamp.
|
568
|
+
:paramtype timestamp: ~datetime.datetime
|
569
|
+
:keyword cpu_normalization_factor: Cpunormalizationfactor.
|
570
|
+
:paramtype cpu_normalization_factor: int
|
571
|
+
:keyword norm_cpu_time_s: Normcputime(S).
|
572
|
+
:paramtype norm_cpu_time_s: int
|
573
|
+
:keyword total_cpu_time_s: Totalcputime(S).
|
574
|
+
:paramtype total_cpu_time_s: int
|
575
|
+
:keyword host_name: Hostname.
|
576
|
+
:paramtype host_name: str
|
577
|
+
:keyword grid_ce: Gridce.
|
578
|
+
:paramtype grid_ce: str
|
579
|
+
:keyword model_name: Modelname.
|
580
|
+
:paramtype model_name: str
|
581
|
+
:keyword pilot_agent: Pilotagent.
|
582
|
+
:paramtype pilot_agent: str
|
583
|
+
:keyword pilot_reference: Pilot Reference.
|
584
|
+
:paramtype pilot_reference: str
|
585
|
+
:keyword memory_mb: Memory(Mb).
|
586
|
+
:paramtype memory_mb: int
|
587
|
+
:keyword local_account: Localaccount.
|
588
|
+
:paramtype local_account: str
|
589
|
+
:keyword payload_pid: Payloadpid.
|
590
|
+
:paramtype payload_pid: int
|
591
|
+
:keyword ce_queue: Cequeue.
|
592
|
+
:paramtype ce_queue: str
|
593
|
+
:keyword batch_system: Batchsystem.
|
594
|
+
:paramtype batch_system: str
|
595
|
+
:keyword job_type: Jobtype.
|
596
|
+
:paramtype job_type: str
|
597
|
+
:keyword job_status: Jobstatus.
|
598
|
+
:paramtype job_status: str
|
599
|
+
:keyword job_group: Jobgroup.
|
600
|
+
:paramtype job_group: str
|
601
|
+
:keyword site: Site.
|
602
|
+
:paramtype site: str
|
603
|
+
:keyword job_name: Jobname.
|
604
|
+
:paramtype job_name: str
|
605
|
+
:keyword owner: Owner.
|
606
|
+
:paramtype owner: str
|
607
|
+
:keyword owner_group: Ownergroup.
|
608
|
+
:paramtype owner_group: str
|
609
|
+
:keyword vo: Vo.
|
610
|
+
:paramtype vo: str
|
611
|
+
:keyword submission_time: Submissiontime.
|
612
|
+
:paramtype submission_time: ~datetime.datetime
|
613
|
+
:keyword reschedule_time: Rescheduletime.
|
614
|
+
:paramtype reschedule_time: ~datetime.datetime
|
615
|
+
:keyword last_update_time: Lastupdatetime.
|
616
|
+
:paramtype last_update_time: ~datetime.datetime
|
617
|
+
:keyword start_exec_time: Startexectime.
|
618
|
+
:paramtype start_exec_time: ~datetime.datetime
|
619
|
+
:keyword heart_beat_time: Heartbeattime.
|
620
|
+
:paramtype heart_beat_time: ~datetime.datetime
|
621
|
+
:keyword end_exec_time: Endexectime.
|
622
|
+
:paramtype end_exec_time: ~datetime.datetime
|
623
|
+
:keyword status: Status.
|
624
|
+
:paramtype status: str
|
625
|
+
:keyword minor_status: Minorstatus.
|
626
|
+
:paramtype minor_status: str
|
627
|
+
:keyword application_status: Applicationstatus.
|
628
|
+
:paramtype application_status: str
|
629
|
+
:keyword user_priority: Userpriority.
|
630
|
+
:paramtype user_priority: int
|
631
|
+
:keyword reschedule_counter: Reschedulecounter.
|
632
|
+
:paramtype reschedule_counter: int
|
633
|
+
:keyword verified_flag: Verifiedflag.
|
634
|
+
:paramtype verified_flag: bool
|
635
|
+
:keyword accounted_flag: Accountedflag.
|
636
|
+
:paramtype accounted_flag: ~_generated.models.JobMetaDataAccountedFlag
|
417
637
|
"""
|
418
638
|
super().__init__(**kwargs)
|
419
|
-
self.
|
420
|
-
self.
|
421
|
-
self.
|
422
|
-
self.
|
639
|
+
self.timestamp = timestamp
|
640
|
+
self.cpu_normalization_factor = cpu_normalization_factor
|
641
|
+
self.norm_cpu_time_s = norm_cpu_time_s
|
642
|
+
self.total_cpu_time_s = total_cpu_time_s
|
643
|
+
self.host_name = host_name
|
644
|
+
self.grid_ce = grid_ce
|
645
|
+
self.model_name = model_name
|
646
|
+
self.pilot_agent = pilot_agent
|
647
|
+
self.pilot_reference = pilot_reference
|
648
|
+
self.memory_mb = memory_mb
|
649
|
+
self.local_account = local_account
|
650
|
+
self.payload_pid = payload_pid
|
651
|
+
self.ce_queue = ce_queue
|
652
|
+
self.batch_system = batch_system
|
653
|
+
self.job_type = job_type
|
654
|
+
self.job_status = job_status
|
655
|
+
self.job_group = job_group
|
656
|
+
self.site = site
|
657
|
+
self.job_name = job_name
|
658
|
+
self.owner = owner
|
659
|
+
self.owner_group = owner_group
|
660
|
+
self.vo = vo
|
661
|
+
self.submission_time = submission_time
|
662
|
+
self.reschedule_time = reschedule_time
|
663
|
+
self.last_update_time = last_update_time
|
664
|
+
self.start_exec_time = start_exec_time
|
665
|
+
self.heart_beat_time = heart_beat_time
|
666
|
+
self.end_exec_time = end_exec_time
|
667
|
+
self.status = status
|
668
|
+
self.minor_status = minor_status
|
669
|
+
self.application_status = application_status
|
670
|
+
self.user_priority = user_priority
|
671
|
+
self.reschedule_counter = reschedule_counter
|
672
|
+
self.verified_flag = verified_flag
|
673
|
+
self.accounted_flag = accounted_flag
|
423
674
|
|
424
675
|
|
425
|
-
class
|
426
|
-
"""
|
676
|
+
class JobMetaDataAccountedFlag(_serialization.Model):
|
677
|
+
"""Accountedflag."""
|
427
678
|
|
428
679
|
|
429
680
|
class JobStatusUpdate(_serialization.Model):
|
@@ -455,7 +706,7 @@ class JobStatusUpdate(_serialization.Model):
|
|
455
706
|
minor_status: Optional[str] = None,
|
456
707
|
application_status: Optional[str] = None,
|
457
708
|
source: str = "Unknown",
|
458
|
-
**kwargs: Any
|
709
|
+
**kwargs: Any
|
459
710
|
) -> None:
|
460
711
|
"""
|
461
712
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
@@ -476,48 +727,6 @@ class JobStatusUpdate(_serialization.Model):
|
|
476
727
|
self.source = source
|
477
728
|
|
478
729
|
|
479
|
-
class JobSummaryParams(_serialization.Model):
|
480
|
-
"""JobSummaryParams.
|
481
|
-
|
482
|
-
All required parameters must be populated in order to send to server.
|
483
|
-
|
484
|
-
:ivar grouping: Grouping. Required.
|
485
|
-
:vartype grouping: list[str]
|
486
|
-
:ivar search: Search.
|
487
|
-
:vartype search: list[~_generated.models.JobSummaryParamsSearchItem]
|
488
|
-
"""
|
489
|
-
|
490
|
-
_validation = {
|
491
|
-
"grouping": {"required": True},
|
492
|
-
}
|
493
|
-
|
494
|
-
_attribute_map = {
|
495
|
-
"grouping": {"key": "grouping", "type": "[str]"},
|
496
|
-
"search": {"key": "search", "type": "[JobSummaryParamsSearchItem]"},
|
497
|
-
}
|
498
|
-
|
499
|
-
def __init__(
|
500
|
-
self,
|
501
|
-
*,
|
502
|
-
grouping: List[str],
|
503
|
-
search: List["_models.JobSummaryParamsSearchItem"] = [],
|
504
|
-
**kwargs: Any,
|
505
|
-
) -> None:
|
506
|
-
"""
|
507
|
-
:keyword grouping: Grouping. Required.
|
508
|
-
:paramtype grouping: list[str]
|
509
|
-
:keyword search: Search.
|
510
|
-
:paramtype search: list[~_generated.models.JobSummaryParamsSearchItem]
|
511
|
-
"""
|
512
|
-
super().__init__(**kwargs)
|
513
|
-
self.grouping = grouping
|
514
|
-
self.search = search
|
515
|
-
|
516
|
-
|
517
|
-
class JobSummaryParamsSearchItem(_serialization.Model):
|
518
|
-
"""JobSummaryParamsSearchItem."""
|
519
|
-
|
520
|
-
|
521
730
|
class Metadata(_serialization.Model):
|
522
731
|
"""Metadata.
|
523
732
|
|
@@ -535,9 +744,7 @@ class Metadata(_serialization.Model):
|
|
535
744
|
"virtual_organizations": {"key": "virtual_organizations", "type": "{VOInfo}"},
|
536
745
|
}
|
537
746
|
|
538
|
-
def __init__(
|
539
|
-
self, *, virtual_organizations: Dict[str, "_models.VOInfo"], **kwargs: Any
|
540
|
-
) -> None:
|
747
|
+
def __init__(self, *, virtual_organizations: Dict[str, "_models.VOInfo"], **kwargs: Any) -> None:
|
541
748
|
"""
|
542
749
|
:keyword virtual_organizations: Virtual Organizations. Required.
|
543
750
|
:paramtype virtual_organizations: dict[str, ~_generated.models.VOInfo]
|
@@ -601,30 +808,18 @@ class OpenIDConfiguration(_serialization.Model):
|
|
601
808
|
"token_endpoint": {"key": "token_endpoint", "type": "str"},
|
602
809
|
"userinfo_endpoint": {"key": "userinfo_endpoint", "type": "str"},
|
603
810
|
"authorization_endpoint": {"key": "authorization_endpoint", "type": "str"},
|
604
|
-
"device_authorization_endpoint": {
|
605
|
-
"key": "device_authorization_endpoint",
|
606
|
-
"type": "str",
|
607
|
-
},
|
811
|
+
"device_authorization_endpoint": {"key": "device_authorization_endpoint", "type": "str"},
|
608
812
|
"revocation_endpoint": {"key": "revocation_endpoint", "type": "str"},
|
609
813
|
"jwks_uri": {"key": "jwks_uri", "type": "str"},
|
610
814
|
"grant_types_supported": {"key": "grant_types_supported", "type": "[str]"},
|
611
815
|
"scopes_supported": {"key": "scopes_supported", "type": "[str]"},
|
612
|
-
"response_types_supported": {
|
613
|
-
"key": "response_types_supported",
|
614
|
-
"type": "[str]",
|
615
|
-
},
|
816
|
+
"response_types_supported": {"key": "response_types_supported", "type": "[str]"},
|
616
817
|
"token_endpoint_auth_signing_alg_values_supported": {
|
617
818
|
"key": "token_endpoint_auth_signing_alg_values_supported",
|
618
819
|
"type": "[str]",
|
619
820
|
},
|
620
|
-
"token_endpoint_auth_methods_supported": {
|
621
|
-
|
622
|
-
"type": "[str]",
|
623
|
-
},
|
624
|
-
"code_challenge_methods_supported": {
|
625
|
-
"key": "code_challenge_methods_supported",
|
626
|
-
"type": "[str]",
|
627
|
-
},
|
821
|
+
"token_endpoint_auth_methods_supported": {"key": "token_endpoint_auth_methods_supported", "type": "[str]"},
|
822
|
+
"code_challenge_methods_supported": {"key": "code_challenge_methods_supported", "type": "[str]"},
|
628
823
|
}
|
629
824
|
|
630
825
|
def __init__(
|
@@ -643,7 +838,7 @@ class OpenIDConfiguration(_serialization.Model):
|
|
643
838
|
token_endpoint_auth_signing_alg_values_supported: List[str],
|
644
839
|
token_endpoint_auth_methods_supported: List[str],
|
645
840
|
code_challenge_methods_supported: List[str],
|
646
|
-
**kwargs: Any
|
841
|
+
**kwargs: Any
|
647
842
|
) -> None:
|
648
843
|
"""
|
649
844
|
:keyword issuer: Issuer. Required.
|
@@ -686,12 +881,8 @@ class OpenIDConfiguration(_serialization.Model):
|
|
686
881
|
self.grant_types_supported = grant_types_supported
|
687
882
|
self.scopes_supported = scopes_supported
|
688
883
|
self.response_types_supported = response_types_supported
|
689
|
-
self.token_endpoint_auth_signing_alg_values_supported =
|
690
|
-
|
691
|
-
)
|
692
|
-
self.token_endpoint_auth_methods_supported = (
|
693
|
-
token_endpoint_auth_methods_supported
|
694
|
-
)
|
884
|
+
self.token_endpoint_auth_signing_alg_values_supported = token_endpoint_auth_signing_alg_values_supported
|
885
|
+
self.token_endpoint_auth_methods_supported = token_endpoint_auth_methods_supported
|
695
886
|
self.code_challenge_methods_supported = code_challenge_methods_supported
|
696
887
|
|
697
888
|
|
@@ -739,7 +930,7 @@ class SandboxInfo(_serialization.Model):
|
|
739
930
|
:vartype checksum: str
|
740
931
|
:ivar size: Size. Required.
|
741
932
|
:vartype size: int
|
742
|
-
:ivar format: SandboxFormat. Required. "tar.bz2"
|
933
|
+
:ivar format: SandboxFormat. Required. Known values are: "tar.bz2" and "tar.zst".
|
743
934
|
:vartype format: str or ~_generated.models.SandboxFormat
|
744
935
|
"""
|
745
936
|
|
@@ -764,7 +955,7 @@ class SandboxInfo(_serialization.Model):
|
|
764
955
|
checksum: str,
|
765
956
|
size: int,
|
766
957
|
format: Union[str, "_models.SandboxFormat"],
|
767
|
-
**kwargs: Any
|
958
|
+
**kwargs: Any
|
768
959
|
) -> None:
|
769
960
|
"""
|
770
961
|
:keyword checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
|
@@ -773,7 +964,7 @@ class SandboxInfo(_serialization.Model):
|
|
773
964
|
:paramtype checksum: str
|
774
965
|
:keyword size: Size. Required.
|
775
966
|
:paramtype size: int
|
776
|
-
:keyword format: SandboxFormat. Required. "tar.bz2"
|
967
|
+
:keyword format: SandboxFormat. Required. Known values are: "tar.bz2" and "tar.zst".
|
777
968
|
:paramtype format: str or ~_generated.models.SandboxFormat
|
778
969
|
"""
|
779
970
|
super().__init__(**kwargs)
|
@@ -807,12 +998,7 @@ class SandboxUploadResponse(_serialization.Model):
|
|
807
998
|
}
|
808
999
|
|
809
1000
|
def __init__(
|
810
|
-
self,
|
811
|
-
*,
|
812
|
-
pfn: str,
|
813
|
-
url: Optional[str] = None,
|
814
|
-
fields: Optional[Dict[str, str]] = None,
|
815
|
-
**kwargs: Any,
|
1001
|
+
self, *, pfn: str, url: Optional[str] = None, fields: Optional[Dict[str, str]] = None, **kwargs: Any
|
816
1002
|
) -> None:
|
817
1003
|
"""
|
818
1004
|
:keyword pfn: Pfn. Required.
|
@@ -835,8 +1021,8 @@ class ScalarSearchSpec(_serialization.Model):
|
|
835
1021
|
|
836
1022
|
:ivar parameter: Parameter. Required.
|
837
1023
|
:vartype parameter: str
|
838
|
-
:ivar operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
839
|
-
"like".
|
1024
|
+
:ivar operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
1025
|
+
"like", "not like", and "regex".
|
840
1026
|
:vartype operator: str or ~_generated.models.ScalarSearchOperator
|
841
1027
|
:ivar value: Value. Required.
|
842
1028
|
:vartype value: ~_generated.models.ScalarSearchSpecValue
|
@@ -860,13 +1046,13 @@ class ScalarSearchSpec(_serialization.Model):
|
|
860
1046
|
parameter: str,
|
861
1047
|
operator: Union[str, "_models.ScalarSearchOperator"],
|
862
1048
|
value: "_models.ScalarSearchSpecValue",
|
863
|
-
**kwargs: Any
|
1049
|
+
**kwargs: Any
|
864
1050
|
) -> None:
|
865
1051
|
"""
|
866
1052
|
:keyword parameter: Parameter. Required.
|
867
1053
|
:paramtype parameter: str
|
868
1054
|
:keyword operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
869
|
-
|
1055
|
+
"like", "not like", and "regex".
|
870
1056
|
:paramtype operator: str or ~_generated.models.ScalarSearchOperator
|
871
1057
|
:keyword value: Value. Required.
|
872
1058
|
:paramtype value: ~_generated.models.ScalarSearchSpecValue
|
@@ -881,6 +1067,56 @@ class ScalarSearchSpecValue(_serialization.Model):
|
|
881
1067
|
"""Value."""
|
882
1068
|
|
883
1069
|
|
1070
|
+
class SearchParams(_serialization.Model):
|
1071
|
+
"""SearchParams.
|
1072
|
+
|
1073
|
+
:ivar parameters: Parameters.
|
1074
|
+
:vartype parameters: list[str]
|
1075
|
+
:ivar search: Search.
|
1076
|
+
:vartype search: list[~_generated.models.SearchParamsSearchItem]
|
1077
|
+
:ivar sort: Sort.
|
1078
|
+
:vartype sort: list[~_generated.models.SortSpec]
|
1079
|
+
:ivar distinct: Distinct.
|
1080
|
+
:vartype distinct: bool
|
1081
|
+
"""
|
1082
|
+
|
1083
|
+
_attribute_map = {
|
1084
|
+
"parameters": {"key": "parameters", "type": "[str]"},
|
1085
|
+
"search": {"key": "search", "type": "[SearchParamsSearchItem]"},
|
1086
|
+
"sort": {"key": "sort", "type": "[SortSpec]"},
|
1087
|
+
"distinct": {"key": "distinct", "type": "bool"},
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
def __init__(
|
1091
|
+
self,
|
1092
|
+
*,
|
1093
|
+
parameters: Optional[List[str]] = None,
|
1094
|
+
search: List["_models.SearchParamsSearchItem"] = [],
|
1095
|
+
sort: List["_models.SortSpec"] = [],
|
1096
|
+
distinct: bool = False,
|
1097
|
+
**kwargs: Any
|
1098
|
+
) -> None:
|
1099
|
+
"""
|
1100
|
+
:keyword parameters: Parameters.
|
1101
|
+
:paramtype parameters: list[str]
|
1102
|
+
:keyword search: Search.
|
1103
|
+
:paramtype search: list[~_generated.models.SearchParamsSearchItem]
|
1104
|
+
:keyword sort: Sort.
|
1105
|
+
:paramtype sort: list[~_generated.models.SortSpec]
|
1106
|
+
:keyword distinct: Distinct.
|
1107
|
+
:paramtype distinct: bool
|
1108
|
+
"""
|
1109
|
+
super().__init__(**kwargs)
|
1110
|
+
self.parameters = parameters
|
1111
|
+
self.search = search
|
1112
|
+
self.sort = sort
|
1113
|
+
self.distinct = distinct
|
1114
|
+
|
1115
|
+
|
1116
|
+
class SearchParamsSearchItem(_serialization.Model):
|
1117
|
+
"""SearchParamsSearchItem."""
|
1118
|
+
|
1119
|
+
|
884
1120
|
class SetJobStatusReturn(_serialization.Model):
|
885
1121
|
"""SetJobStatusReturn.
|
886
1122
|
|
@@ -907,7 +1143,7 @@ class SetJobStatusReturn(_serialization.Model):
|
|
907
1143
|
*,
|
908
1144
|
success: Dict[str, "_models.SetJobStatusReturnSuccess"],
|
909
1145
|
failed: Dict[str, Dict[str, str]],
|
910
|
-
**kwargs: Any
|
1146
|
+
**kwargs: Any
|
911
1147
|
) -> None:
|
912
1148
|
"""
|
913
1149
|
:keyword success: Success. Required.
|
@@ -961,7 +1197,7 @@ class SetJobStatusReturnSuccess(_serialization.Model):
|
|
961
1197
|
start_exec_time: Optional[datetime.datetime] = None,
|
962
1198
|
end_exec_time: Optional[datetime.datetime] = None,
|
963
1199
|
last_update_time: Optional[datetime.datetime] = None,
|
964
|
-
**kwargs: Any
|
1200
|
+
**kwargs: Any
|
965
1201
|
) -> None:
|
966
1202
|
"""
|
967
1203
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
@@ -1012,13 +1248,7 @@ class SortSpec(_serialization.Model):
|
|
1012
1248
|
"direction": {"key": "direction", "type": "str"},
|
1013
1249
|
}
|
1014
1250
|
|
1015
|
-
def __init__(
|
1016
|
-
self,
|
1017
|
-
*,
|
1018
|
-
parameter: str,
|
1019
|
-
direction: Union[str, "_models.SortDirection"],
|
1020
|
-
**kwargs: Any,
|
1021
|
-
) -> None:
|
1251
|
+
def __init__(self, *, parameter: str, direction: Union[str, "_models.SortDirection"], **kwargs: Any) -> None:
|
1022
1252
|
"""
|
1023
1253
|
:keyword parameter: Parameter. Required.
|
1024
1254
|
:paramtype parameter: str
|
@@ -1030,6 +1260,44 @@ class SortSpec(_serialization.Model):
|
|
1030
1260
|
self.direction = direction
|
1031
1261
|
|
1032
1262
|
|
1263
|
+
class SummaryParams(_serialization.Model):
|
1264
|
+
"""SummaryParams.
|
1265
|
+
|
1266
|
+
All required parameters must be populated in order to send to server.
|
1267
|
+
|
1268
|
+
:ivar grouping: Grouping. Required.
|
1269
|
+
:vartype grouping: list[str]
|
1270
|
+
:ivar search: Search.
|
1271
|
+
:vartype search: list[~_generated.models.SummaryParamsSearchItem]
|
1272
|
+
"""
|
1273
|
+
|
1274
|
+
_validation = {
|
1275
|
+
"grouping": {"required": True},
|
1276
|
+
}
|
1277
|
+
|
1278
|
+
_attribute_map = {
|
1279
|
+
"grouping": {"key": "grouping", "type": "[str]"},
|
1280
|
+
"search": {"key": "search", "type": "[SummaryParamsSearchItem]"},
|
1281
|
+
}
|
1282
|
+
|
1283
|
+
def __init__(
|
1284
|
+
self, *, grouping: List[str], search: List["_models.SummaryParamsSearchItem"] = [], **kwargs: Any
|
1285
|
+
) -> None:
|
1286
|
+
"""
|
1287
|
+
:keyword grouping: Grouping. Required.
|
1288
|
+
:paramtype grouping: list[str]
|
1289
|
+
:keyword search: Search.
|
1290
|
+
:paramtype search: list[~_generated.models.SummaryParamsSearchItem]
|
1291
|
+
"""
|
1292
|
+
super().__init__(**kwargs)
|
1293
|
+
self.grouping = grouping
|
1294
|
+
self.search = search
|
1295
|
+
|
1296
|
+
|
1297
|
+
class SummaryParamsSearchItem(_serialization.Model):
|
1298
|
+
"""SummaryParamsSearchItem."""
|
1299
|
+
|
1300
|
+
|
1033
1301
|
class SupportInfo(_serialization.Model):
|
1034
1302
|
"""SupportInfo.
|
1035
1303
|
|
@@ -1055,9 +1323,7 @@ class SupportInfo(_serialization.Model):
|
|
1055
1323
|
"email": {"key": "email", "type": "str"},
|
1056
1324
|
}
|
1057
1325
|
|
1058
|
-
def __init__(
|
1059
|
-
self, *, message: str, webpage: str, email: str, **kwargs: Any
|
1060
|
-
) -> None:
|
1326
|
+
def __init__(self, *, message: str, webpage: str, email: str, **kwargs: Any) -> None:
|
1061
1327
|
"""
|
1062
1328
|
:keyword message: Message. Required.
|
1063
1329
|
:paramtype message: str
|
@@ -1106,7 +1372,7 @@ class TokenResponse(_serialization.Model):
|
|
1106
1372
|
expires_in: int,
|
1107
1373
|
token_type: str = "Bearer",
|
1108
1374
|
refresh_token: Optional[str] = None,
|
1109
|
-
**kwargs: Any
|
1375
|
+
**kwargs: Any
|
1110
1376
|
) -> None:
|
1111
1377
|
"""
|
1112
1378
|
:keyword access_token: Access Token. Required.
|
@@ -1171,7 +1437,7 @@ class UserInfoResponse(_serialization.Model):
|
|
1171
1437
|
policies: Dict[str, Any],
|
1172
1438
|
properties: List[str],
|
1173
1439
|
preferred_username: str,
|
1174
|
-
**kwargs: Any
|
1440
|
+
**kwargs: Any
|
1175
1441
|
) -> None:
|
1176
1442
|
"""
|
1177
1443
|
:keyword sub: Sub. Required.
|
@@ -1221,14 +1487,7 @@ class ValidationError(_serialization.Model):
|
|
1221
1487
|
"type": {"key": "type", "type": "str"},
|
1222
1488
|
}
|
1223
1489
|
|
1224
|
-
def __init__(
|
1225
|
-
self,
|
1226
|
-
*,
|
1227
|
-
loc: List["_models.ValidationErrorLocItem"],
|
1228
|
-
msg: str,
|
1229
|
-
type: str,
|
1230
|
-
**kwargs: Any,
|
1231
|
-
) -> None:
|
1490
|
+
def __init__(self, *, loc: List["_models.ValidationErrorLocItem"], msg: str, type: str, **kwargs: Any) -> None:
|
1232
1491
|
"""
|
1233
1492
|
:keyword loc: Location. Required.
|
1234
1493
|
:paramtype loc: list[~_generated.models.ValidationErrorLocItem]
|
@@ -1278,7 +1537,7 @@ class VectorSearchSpec(_serialization.Model):
|
|
1278
1537
|
parameter: str,
|
1279
1538
|
operator: Union[str, "_models.VectorSearchOperator"],
|
1280
1539
|
values: "_models.VectorSearchSpecValues",
|
1281
|
-
**kwargs: Any
|
1540
|
+
**kwargs: Any
|
1282
1541
|
) -> None:
|
1283
1542
|
"""
|
1284
1543
|
:keyword parameter: Parameter. Required.
|
@@ -1329,7 +1588,7 @@ class VOInfo(_serialization.Model):
|
|
1329
1588
|
groups: Dict[str, "_models.GroupInfo"],
|
1330
1589
|
support: "_models.SupportInfo",
|
1331
1590
|
default_group: str,
|
1332
|
-
**kwargs: Any
|
1591
|
+
**kwargs: Any
|
1333
1592
|
) -> None:
|
1334
1593
|
"""
|
1335
1594
|
:keyword groups: Groups. Required.
|