diracx-client 0.0.1a45__py3-none-any.whl → 0.0.1a46__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 +193 -374
- diracx/client/_generated/models/__init__.py +1 -2
- diracx/client/_generated/models/_models.py +30 -90
- diracx/client/_generated/operations/_operations.py +249 -501
- {diracx_client-0.0.1a45.dist-info → diracx_client-0.0.1a46.dist-info}/METADATA +1 -1
- {diracx_client-0.0.1a45.dist-info → diracx_client-0.0.1a46.dist-info}/RECORD +14 -14
- {diracx_client-0.0.1a45.dist-info → diracx_client-0.0.1a46.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.
|
@@ -159,7 +159,7 @@ class HeartbeatData(_serialization.Model):
|
|
159
159
|
cpu_consumed: Optional[float] = None,
|
160
160
|
wall_clock_time: Optional[float] = None,
|
161
161
|
standard_output: Optional[str] = None,
|
162
|
-
**kwargs: Any
|
162
|
+
**kwargs: Any
|
163
163
|
) -> None:
|
164
164
|
"""
|
165
165
|
:keyword load_average: Loadaverage.
|
@@ -198,9 +198,7 @@ class HTTPValidationError(_serialization.Model):
|
|
198
198
|
"detail": {"key": "detail", "type": "[ValidationError]"},
|
199
199
|
}
|
200
200
|
|
201
|
-
def __init__(
|
202
|
-
self, *, detail: Optional[List["_models.ValidationError"]] = None, **kwargs: Any
|
203
|
-
) -> None:
|
201
|
+
def __init__(self, *, detail: Optional[List["_models.ValidationError"]] = None, **kwargs: Any) -> None:
|
204
202
|
"""
|
205
203
|
:keyword detail: Detail.
|
206
204
|
:paramtype detail: list[~_generated.models.ValidationError]
|
@@ -237,10 +235,7 @@ class InitiateDeviceFlowResponse(_serialization.Model):
|
|
237
235
|
_attribute_map = {
|
238
236
|
"user_code": {"key": "user_code", "type": "str"},
|
239
237
|
"device_code": {"key": "device_code", "type": "str"},
|
240
|
-
"verification_uri_complete": {
|
241
|
-
"key": "verification_uri_complete",
|
242
|
-
"type": "str",
|
243
|
-
},
|
238
|
+
"verification_uri_complete": {"key": "verification_uri_complete", "type": "str"},
|
244
239
|
"verification_uri": {"key": "verification_uri", "type": "str"},
|
245
240
|
"expires_in": {"key": "expires_in", "type": "int"},
|
246
241
|
}
|
@@ -253,7 +248,7 @@ class InitiateDeviceFlowResponse(_serialization.Model):
|
|
253
248
|
verification_uri_complete: str,
|
254
249
|
verification_uri: str,
|
255
250
|
expires_in: int,
|
256
|
-
**kwargs: Any
|
251
|
+
**kwargs: Any
|
257
252
|
) -> None:
|
258
253
|
"""
|
259
254
|
:keyword user_code: User Code. Required.
|
@@ -305,13 +300,7 @@ class InsertedJob(_serialization.Model):
|
|
305
300
|
}
|
306
301
|
|
307
302
|
def __init__(
|
308
|
-
self,
|
309
|
-
*,
|
310
|
-
job_id: int,
|
311
|
-
status: str,
|
312
|
-
minor_status: str,
|
313
|
-
time_stamp: datetime.datetime,
|
314
|
-
**kwargs: Any,
|
303
|
+
self, *, job_id: int, status: str, minor_status: str, time_stamp: datetime.datetime, **kwargs: Any
|
315
304
|
) -> None:
|
316
305
|
"""
|
317
306
|
:keyword job_id: Jobid. Required.
|
@@ -354,14 +343,7 @@ class JobCommand(_serialization.Model):
|
|
354
343
|
"arguments": {"key": "arguments", "type": "str"},
|
355
344
|
}
|
356
345
|
|
357
|
-
def __init__(
|
358
|
-
self,
|
359
|
-
*,
|
360
|
-
job_id: int,
|
361
|
-
command: str,
|
362
|
-
arguments: Optional[str] = None,
|
363
|
-
**kwargs: Any,
|
364
|
-
) -> None:
|
346
|
+
def __init__(self, *, job_id: int, command: str, arguments: Optional[str] = None, **kwargs: Any) -> None:
|
365
347
|
"""
|
366
348
|
:keyword job_id: Job Id. Required.
|
367
349
|
:paramtype job_id: int
|
@@ -403,7 +385,7 @@ class JobSearchParams(_serialization.Model):
|
|
403
385
|
search: List["_models.JobSearchParamsSearchItem"] = [],
|
404
386
|
sort: List["_models.SortSpec"] = [],
|
405
387
|
distinct: bool = False,
|
406
|
-
**kwargs: Any
|
388
|
+
**kwargs: Any
|
407
389
|
) -> None:
|
408
390
|
"""
|
409
391
|
:keyword parameters: Parameters.
|
@@ -455,7 +437,7 @@ class JobStatusUpdate(_serialization.Model):
|
|
455
437
|
minor_status: Optional[str] = None,
|
456
438
|
application_status: Optional[str] = None,
|
457
439
|
source: str = "Unknown",
|
458
|
-
**kwargs: Any
|
440
|
+
**kwargs: Any
|
459
441
|
) -> None:
|
460
442
|
"""
|
461
443
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
@@ -497,11 +479,7 @@ class JobSummaryParams(_serialization.Model):
|
|
497
479
|
}
|
498
480
|
|
499
481
|
def __init__(
|
500
|
-
self,
|
501
|
-
*,
|
502
|
-
grouping: List[str],
|
503
|
-
search: List["_models.JobSummaryParamsSearchItem"] = [],
|
504
|
-
**kwargs: Any,
|
482
|
+
self, *, grouping: List[str], search: List["_models.JobSummaryParamsSearchItem"] = [], **kwargs: Any
|
505
483
|
) -> None:
|
506
484
|
"""
|
507
485
|
:keyword grouping: Grouping. Required.
|
@@ -535,9 +513,7 @@ class Metadata(_serialization.Model):
|
|
535
513
|
"virtual_organizations": {"key": "virtual_organizations", "type": "{VOInfo}"},
|
536
514
|
}
|
537
515
|
|
538
|
-
def __init__(
|
539
|
-
self, *, virtual_organizations: Dict[str, "_models.VOInfo"], **kwargs: Any
|
540
|
-
) -> None:
|
516
|
+
def __init__(self, *, virtual_organizations: Dict[str, "_models.VOInfo"], **kwargs: Any) -> None:
|
541
517
|
"""
|
542
518
|
:keyword virtual_organizations: Virtual Organizations. Required.
|
543
519
|
:paramtype virtual_organizations: dict[str, ~_generated.models.VOInfo]
|
@@ -601,30 +577,18 @@ class OpenIDConfiguration(_serialization.Model):
|
|
601
577
|
"token_endpoint": {"key": "token_endpoint", "type": "str"},
|
602
578
|
"userinfo_endpoint": {"key": "userinfo_endpoint", "type": "str"},
|
603
579
|
"authorization_endpoint": {"key": "authorization_endpoint", "type": "str"},
|
604
|
-
"device_authorization_endpoint": {
|
605
|
-
"key": "device_authorization_endpoint",
|
606
|
-
"type": "str",
|
607
|
-
},
|
580
|
+
"device_authorization_endpoint": {"key": "device_authorization_endpoint", "type": "str"},
|
608
581
|
"revocation_endpoint": {"key": "revocation_endpoint", "type": "str"},
|
609
582
|
"jwks_uri": {"key": "jwks_uri", "type": "str"},
|
610
583
|
"grant_types_supported": {"key": "grant_types_supported", "type": "[str]"},
|
611
584
|
"scopes_supported": {"key": "scopes_supported", "type": "[str]"},
|
612
|
-
"response_types_supported": {
|
613
|
-
"key": "response_types_supported",
|
614
|
-
"type": "[str]",
|
615
|
-
},
|
585
|
+
"response_types_supported": {"key": "response_types_supported", "type": "[str]"},
|
616
586
|
"token_endpoint_auth_signing_alg_values_supported": {
|
617
587
|
"key": "token_endpoint_auth_signing_alg_values_supported",
|
618
588
|
"type": "[str]",
|
619
589
|
},
|
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
|
-
},
|
590
|
+
"token_endpoint_auth_methods_supported": {"key": "token_endpoint_auth_methods_supported", "type": "[str]"},
|
591
|
+
"code_challenge_methods_supported": {"key": "code_challenge_methods_supported", "type": "[str]"},
|
628
592
|
}
|
629
593
|
|
630
594
|
def __init__(
|
@@ -643,7 +607,7 @@ class OpenIDConfiguration(_serialization.Model):
|
|
643
607
|
token_endpoint_auth_signing_alg_values_supported: List[str],
|
644
608
|
token_endpoint_auth_methods_supported: List[str],
|
645
609
|
code_challenge_methods_supported: List[str],
|
646
|
-
**kwargs: Any
|
610
|
+
**kwargs: Any
|
647
611
|
) -> None:
|
648
612
|
"""
|
649
613
|
:keyword issuer: Issuer. Required.
|
@@ -686,12 +650,8 @@ class OpenIDConfiguration(_serialization.Model):
|
|
686
650
|
self.grant_types_supported = grant_types_supported
|
687
651
|
self.scopes_supported = scopes_supported
|
688
652
|
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
|
-
)
|
653
|
+
self.token_endpoint_auth_signing_alg_values_supported = token_endpoint_auth_signing_alg_values_supported
|
654
|
+
self.token_endpoint_auth_methods_supported = token_endpoint_auth_methods_supported
|
695
655
|
self.code_challenge_methods_supported = code_challenge_methods_supported
|
696
656
|
|
697
657
|
|
@@ -764,7 +724,7 @@ class SandboxInfo(_serialization.Model):
|
|
764
724
|
checksum: str,
|
765
725
|
size: int,
|
766
726
|
format: Union[str, "_models.SandboxFormat"],
|
767
|
-
**kwargs: Any
|
727
|
+
**kwargs: Any
|
768
728
|
) -> None:
|
769
729
|
"""
|
770
730
|
:keyword checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
|
@@ -807,12 +767,7 @@ class SandboxUploadResponse(_serialization.Model):
|
|
807
767
|
}
|
808
768
|
|
809
769
|
def __init__(
|
810
|
-
self,
|
811
|
-
*,
|
812
|
-
pfn: str,
|
813
|
-
url: Optional[str] = None,
|
814
|
-
fields: Optional[Dict[str, str]] = None,
|
815
|
-
**kwargs: Any,
|
770
|
+
self, *, pfn: str, url: Optional[str] = None, fields: Optional[Dict[str, str]] = None, **kwargs: Any
|
816
771
|
) -> None:
|
817
772
|
"""
|
818
773
|
:keyword pfn: Pfn. Required.
|
@@ -860,7 +815,7 @@ class ScalarSearchSpec(_serialization.Model):
|
|
860
815
|
parameter: str,
|
861
816
|
operator: Union[str, "_models.ScalarSearchOperator"],
|
862
817
|
value: "_models.ScalarSearchSpecValue",
|
863
|
-
**kwargs: Any
|
818
|
+
**kwargs: Any
|
864
819
|
) -> None:
|
865
820
|
"""
|
866
821
|
:keyword parameter: Parameter. Required.
|
@@ -907,7 +862,7 @@ class SetJobStatusReturn(_serialization.Model):
|
|
907
862
|
*,
|
908
863
|
success: Dict[str, "_models.SetJobStatusReturnSuccess"],
|
909
864
|
failed: Dict[str, Dict[str, str]],
|
910
|
-
**kwargs: Any
|
865
|
+
**kwargs: Any
|
911
866
|
) -> None:
|
912
867
|
"""
|
913
868
|
:keyword success: Success. Required.
|
@@ -961,7 +916,7 @@ class SetJobStatusReturnSuccess(_serialization.Model):
|
|
961
916
|
start_exec_time: Optional[datetime.datetime] = None,
|
962
917
|
end_exec_time: Optional[datetime.datetime] = None,
|
963
918
|
last_update_time: Optional[datetime.datetime] = None,
|
964
|
-
**kwargs: Any
|
919
|
+
**kwargs: Any
|
965
920
|
) -> None:
|
966
921
|
"""
|
967
922
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
@@ -1012,13 +967,7 @@ class SortSpec(_serialization.Model):
|
|
1012
967
|
"direction": {"key": "direction", "type": "str"},
|
1013
968
|
}
|
1014
969
|
|
1015
|
-
def __init__(
|
1016
|
-
self,
|
1017
|
-
*,
|
1018
|
-
parameter: str,
|
1019
|
-
direction: Union[str, "_models.SortDirection"],
|
1020
|
-
**kwargs: Any,
|
1021
|
-
) -> None:
|
970
|
+
def __init__(self, *, parameter: str, direction: Union[str, "_models.SortDirection"], **kwargs: Any) -> None:
|
1022
971
|
"""
|
1023
972
|
:keyword parameter: Parameter. Required.
|
1024
973
|
:paramtype parameter: str
|
@@ -1055,9 +1004,7 @@ class SupportInfo(_serialization.Model):
|
|
1055
1004
|
"email": {"key": "email", "type": "str"},
|
1056
1005
|
}
|
1057
1006
|
|
1058
|
-
def __init__(
|
1059
|
-
self, *, message: str, webpage: str, email: str, **kwargs: Any
|
1060
|
-
) -> None:
|
1007
|
+
def __init__(self, *, message: str, webpage: str, email: str, **kwargs: Any) -> None:
|
1061
1008
|
"""
|
1062
1009
|
:keyword message: Message. Required.
|
1063
1010
|
:paramtype message: str
|
@@ -1106,7 +1053,7 @@ class TokenResponse(_serialization.Model):
|
|
1106
1053
|
expires_in: int,
|
1107
1054
|
token_type: str = "Bearer",
|
1108
1055
|
refresh_token: Optional[str] = None,
|
1109
|
-
**kwargs: Any
|
1056
|
+
**kwargs: Any
|
1110
1057
|
) -> None:
|
1111
1058
|
"""
|
1112
1059
|
:keyword access_token: Access Token. Required.
|
@@ -1171,7 +1118,7 @@ class UserInfoResponse(_serialization.Model):
|
|
1171
1118
|
policies: Dict[str, Any],
|
1172
1119
|
properties: List[str],
|
1173
1120
|
preferred_username: str,
|
1174
|
-
**kwargs: Any
|
1121
|
+
**kwargs: Any
|
1175
1122
|
) -> None:
|
1176
1123
|
"""
|
1177
1124
|
:keyword sub: Sub. Required.
|
@@ -1221,14 +1168,7 @@ class ValidationError(_serialization.Model):
|
|
1221
1168
|
"type": {"key": "type", "type": "str"},
|
1222
1169
|
}
|
1223
1170
|
|
1224
|
-
def __init__(
|
1225
|
-
self,
|
1226
|
-
*,
|
1227
|
-
loc: List["_models.ValidationErrorLocItem"],
|
1228
|
-
msg: str,
|
1229
|
-
type: str,
|
1230
|
-
**kwargs: Any,
|
1231
|
-
) -> None:
|
1171
|
+
def __init__(self, *, loc: List["_models.ValidationErrorLocItem"], msg: str, type: str, **kwargs: Any) -> None:
|
1232
1172
|
"""
|
1233
1173
|
:keyword loc: Location. Required.
|
1234
1174
|
:paramtype loc: list[~_generated.models.ValidationErrorLocItem]
|
@@ -1278,7 +1218,7 @@ class VectorSearchSpec(_serialization.Model):
|
|
1278
1218
|
parameter: str,
|
1279
1219
|
operator: Union[str, "_models.VectorSearchOperator"],
|
1280
1220
|
values: "_models.VectorSearchSpecValues",
|
1281
|
-
**kwargs: Any
|
1221
|
+
**kwargs: Any
|
1282
1222
|
) -> None:
|
1283
1223
|
"""
|
1284
1224
|
:keyword parameter: Parameter. Required.
|
@@ -1329,7 +1269,7 @@ class VOInfo(_serialization.Model):
|
|
1329
1269
|
groups: Dict[str, "_models.GroupInfo"],
|
1330
1270
|
support: "_models.SupportInfo",
|
1331
1271
|
default_group: str,
|
1332
|
-
**kwargs: Any
|
1272
|
+
**kwargs: Any
|
1333
1273
|
) -> None:
|
1334
1274
|
"""
|
1335
1275
|
:keyword groups: Groups. Required.
|