diracx-client 0.0.1a44__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_importer.py +2 -2
- diracx/client/_generated/__init__.py +1 -1
- diracx/client/_generated/_client.py +11 -34
- diracx/client/_generated/_configuration.py +7 -19
- diracx/client/_generated/_utils/__init__.py +1 -1
- diracx/client/_generated/_utils/serialization.py +71 -225
- diracx/client/_generated/_utils/utils.py +4 -10
- diracx/client/_generated/aio/__init__.py +1 -1
- diracx/client/_generated/aio/_client.py +9 -30
- diracx/client/_generated/aio/_configuration.py +8 -22
- diracx/client/_generated/aio/_patch.py +1 -3
- diracx/client/_generated/aio/operations/__init__.py +1 -1
- diracx/client/_generated/aio/operations/_operations.py +239 -368
- diracx/client/_generated/models/__init__.py +2 -3
- diracx/client/_generated/models/_enums.py +1 -1
- diracx/client/_generated/models/_models.py +39 -91
- diracx/client/_generated/operations/__init__.py +1 -1
- diracx/client/_generated/operations/_operations.py +312 -499
- diracx/client/patches/client/common.py +1 -1
- diracx/client/patches/utils.py +1 -1
- {diracx_client-0.0.1a44.dist-info → diracx_client-0.0.1a46.dist-info}/METADATA +2 -1
- diracx_client-0.0.1a46.dist-info/RECORD +45 -0
- diracx_client-0.0.1a44.dist-info/RECORD +0 -45
- {diracx_client-0.0.1a44.dist-info → diracx_client-0.0.1a46.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.2)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
# pylint: disable=wrong-import-position
|
@@ -103,6 +103,5 @@ _patch_sdk()
|
|
103
103
|
if TYPE_CHECKING:
|
104
104
|
__all__.extend(
|
105
105
|
[
|
106
|
-
"DeviceFlowErrorResponse",
|
107
|
-
]
|
106
|
+
"DeviceFlowErrorResponse", ]
|
108
107
|
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.2)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# pylint: disable=too-many-lines
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.
|
4
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.2)
|
5
5
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
6
6
|
# --------------------------------------------------------------------------
|
7
7
|
|
@@ -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]
|
@@ -563,6 +539,8 @@ class OpenIDConfiguration(_serialization.Model):
|
|
563
539
|
:vartype device_authorization_endpoint: str
|
564
540
|
:ivar revocation_endpoint: Revocation Endpoint. Required.
|
565
541
|
:vartype revocation_endpoint: str
|
542
|
+
:ivar jwks_uri: Jwks Uri. Required.
|
543
|
+
:vartype jwks_uri: str
|
566
544
|
:ivar grant_types_supported: Grant Types Supported. Required.
|
567
545
|
:vartype grant_types_supported: list[str]
|
568
546
|
:ivar scopes_supported: Scopes Supported. Required.
|
@@ -585,6 +563,7 @@ class OpenIDConfiguration(_serialization.Model):
|
|
585
563
|
"authorization_endpoint": {"required": True},
|
586
564
|
"device_authorization_endpoint": {"required": True},
|
587
565
|
"revocation_endpoint": {"required": True},
|
566
|
+
"jwks_uri": {"required": True},
|
588
567
|
"grant_types_supported": {"required": True},
|
589
568
|
"scopes_supported": {"required": True},
|
590
569
|
"response_types_supported": {"required": True},
|
@@ -598,29 +577,18 @@ class OpenIDConfiguration(_serialization.Model):
|
|
598
577
|
"token_endpoint": {"key": "token_endpoint", "type": "str"},
|
599
578
|
"userinfo_endpoint": {"key": "userinfo_endpoint", "type": "str"},
|
600
579
|
"authorization_endpoint": {"key": "authorization_endpoint", "type": "str"},
|
601
|
-
"device_authorization_endpoint": {
|
602
|
-
"key": "device_authorization_endpoint",
|
603
|
-
"type": "str",
|
604
|
-
},
|
580
|
+
"device_authorization_endpoint": {"key": "device_authorization_endpoint", "type": "str"},
|
605
581
|
"revocation_endpoint": {"key": "revocation_endpoint", "type": "str"},
|
582
|
+
"jwks_uri": {"key": "jwks_uri", "type": "str"},
|
606
583
|
"grant_types_supported": {"key": "grant_types_supported", "type": "[str]"},
|
607
584
|
"scopes_supported": {"key": "scopes_supported", "type": "[str]"},
|
608
|
-
"response_types_supported": {
|
609
|
-
"key": "response_types_supported",
|
610
|
-
"type": "[str]",
|
611
|
-
},
|
585
|
+
"response_types_supported": {"key": "response_types_supported", "type": "[str]"},
|
612
586
|
"token_endpoint_auth_signing_alg_values_supported": {
|
613
587
|
"key": "token_endpoint_auth_signing_alg_values_supported",
|
614
588
|
"type": "[str]",
|
615
589
|
},
|
616
|
-
"token_endpoint_auth_methods_supported": {
|
617
|
-
|
618
|
-
"type": "[str]",
|
619
|
-
},
|
620
|
-
"code_challenge_methods_supported": {
|
621
|
-
"key": "code_challenge_methods_supported",
|
622
|
-
"type": "[str]",
|
623
|
-
},
|
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]"},
|
624
592
|
}
|
625
593
|
|
626
594
|
def __init__(
|
@@ -632,13 +600,14 @@ class OpenIDConfiguration(_serialization.Model):
|
|
632
600
|
authorization_endpoint: str,
|
633
601
|
device_authorization_endpoint: str,
|
634
602
|
revocation_endpoint: str,
|
603
|
+
jwks_uri: str,
|
635
604
|
grant_types_supported: List[str],
|
636
605
|
scopes_supported: List[str],
|
637
606
|
response_types_supported: List[str],
|
638
607
|
token_endpoint_auth_signing_alg_values_supported: List[str],
|
639
608
|
token_endpoint_auth_methods_supported: List[str],
|
640
609
|
code_challenge_methods_supported: List[str],
|
641
|
-
**kwargs: Any
|
610
|
+
**kwargs: Any
|
642
611
|
) -> None:
|
643
612
|
"""
|
644
613
|
:keyword issuer: Issuer. Required.
|
@@ -653,6 +622,8 @@ class OpenIDConfiguration(_serialization.Model):
|
|
653
622
|
:paramtype device_authorization_endpoint: str
|
654
623
|
:keyword revocation_endpoint: Revocation Endpoint. Required.
|
655
624
|
:paramtype revocation_endpoint: str
|
625
|
+
:keyword jwks_uri: Jwks Uri. Required.
|
626
|
+
:paramtype jwks_uri: str
|
656
627
|
:keyword grant_types_supported: Grant Types Supported. Required.
|
657
628
|
:paramtype grant_types_supported: list[str]
|
658
629
|
:keyword scopes_supported: Scopes Supported. Required.
|
@@ -675,15 +646,12 @@ class OpenIDConfiguration(_serialization.Model):
|
|
675
646
|
self.authorization_endpoint = authorization_endpoint
|
676
647
|
self.device_authorization_endpoint = device_authorization_endpoint
|
677
648
|
self.revocation_endpoint = revocation_endpoint
|
649
|
+
self.jwks_uri = jwks_uri
|
678
650
|
self.grant_types_supported = grant_types_supported
|
679
651
|
self.scopes_supported = scopes_supported
|
680
652
|
self.response_types_supported = response_types_supported
|
681
|
-
self.token_endpoint_auth_signing_alg_values_supported =
|
682
|
-
|
683
|
-
)
|
684
|
-
self.token_endpoint_auth_methods_supported = (
|
685
|
-
token_endpoint_auth_methods_supported
|
686
|
-
)
|
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
|
687
655
|
self.code_challenge_methods_supported = code_challenge_methods_supported
|
688
656
|
|
689
657
|
|
@@ -756,7 +724,7 @@ class SandboxInfo(_serialization.Model):
|
|
756
724
|
checksum: str,
|
757
725
|
size: int,
|
758
726
|
format: Union[str, "_models.SandboxFormat"],
|
759
|
-
**kwargs: Any
|
727
|
+
**kwargs: Any
|
760
728
|
) -> None:
|
761
729
|
"""
|
762
730
|
:keyword checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
|
@@ -799,12 +767,7 @@ class SandboxUploadResponse(_serialization.Model):
|
|
799
767
|
}
|
800
768
|
|
801
769
|
def __init__(
|
802
|
-
self,
|
803
|
-
*,
|
804
|
-
pfn: str,
|
805
|
-
url: Optional[str] = None,
|
806
|
-
fields: Optional[Dict[str, str]] = None,
|
807
|
-
**kwargs: Any,
|
770
|
+
self, *, pfn: str, url: Optional[str] = None, fields: Optional[Dict[str, str]] = None, **kwargs: Any
|
808
771
|
) -> None:
|
809
772
|
"""
|
810
773
|
:keyword pfn: Pfn. Required.
|
@@ -852,7 +815,7 @@ class ScalarSearchSpec(_serialization.Model):
|
|
852
815
|
parameter: str,
|
853
816
|
operator: Union[str, "_models.ScalarSearchOperator"],
|
854
817
|
value: "_models.ScalarSearchSpecValue",
|
855
|
-
**kwargs: Any
|
818
|
+
**kwargs: Any
|
856
819
|
) -> None:
|
857
820
|
"""
|
858
821
|
:keyword parameter: Parameter. Required.
|
@@ -899,7 +862,7 @@ class SetJobStatusReturn(_serialization.Model):
|
|
899
862
|
*,
|
900
863
|
success: Dict[str, "_models.SetJobStatusReturnSuccess"],
|
901
864
|
failed: Dict[str, Dict[str, str]],
|
902
|
-
**kwargs: Any
|
865
|
+
**kwargs: Any
|
903
866
|
) -> None:
|
904
867
|
"""
|
905
868
|
:keyword success: Success. Required.
|
@@ -953,7 +916,7 @@ class SetJobStatusReturnSuccess(_serialization.Model):
|
|
953
916
|
start_exec_time: Optional[datetime.datetime] = None,
|
954
917
|
end_exec_time: Optional[datetime.datetime] = None,
|
955
918
|
last_update_time: Optional[datetime.datetime] = None,
|
956
|
-
**kwargs: Any
|
919
|
+
**kwargs: Any
|
957
920
|
) -> None:
|
958
921
|
"""
|
959
922
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
@@ -1004,13 +967,7 @@ class SortSpec(_serialization.Model):
|
|
1004
967
|
"direction": {"key": "direction", "type": "str"},
|
1005
968
|
}
|
1006
969
|
|
1007
|
-
def __init__(
|
1008
|
-
self,
|
1009
|
-
*,
|
1010
|
-
parameter: str,
|
1011
|
-
direction: Union[str, "_models.SortDirection"],
|
1012
|
-
**kwargs: Any,
|
1013
|
-
) -> None:
|
970
|
+
def __init__(self, *, parameter: str, direction: Union[str, "_models.SortDirection"], **kwargs: Any) -> None:
|
1014
971
|
"""
|
1015
972
|
:keyword parameter: Parameter. Required.
|
1016
973
|
:paramtype parameter: str
|
@@ -1047,9 +1004,7 @@ class SupportInfo(_serialization.Model):
|
|
1047
1004
|
"email": {"key": "email", "type": "str"},
|
1048
1005
|
}
|
1049
1006
|
|
1050
|
-
def __init__(
|
1051
|
-
self, *, message: str, webpage: str, email: str, **kwargs: Any
|
1052
|
-
) -> None:
|
1007
|
+
def __init__(self, *, message: str, webpage: str, email: str, **kwargs: Any) -> None:
|
1053
1008
|
"""
|
1054
1009
|
:keyword message: Message. Required.
|
1055
1010
|
:paramtype message: str
|
@@ -1098,7 +1053,7 @@ class TokenResponse(_serialization.Model):
|
|
1098
1053
|
expires_in: int,
|
1099
1054
|
token_type: str = "Bearer",
|
1100
1055
|
refresh_token: Optional[str] = None,
|
1101
|
-
**kwargs: Any
|
1056
|
+
**kwargs: Any
|
1102
1057
|
) -> None:
|
1103
1058
|
"""
|
1104
1059
|
:keyword access_token: Access Token. Required.
|
@@ -1163,7 +1118,7 @@ class UserInfoResponse(_serialization.Model):
|
|
1163
1118
|
policies: Dict[str, Any],
|
1164
1119
|
properties: List[str],
|
1165
1120
|
preferred_username: str,
|
1166
|
-
**kwargs: Any
|
1121
|
+
**kwargs: Any
|
1167
1122
|
) -> None:
|
1168
1123
|
"""
|
1169
1124
|
:keyword sub: Sub. Required.
|
@@ -1213,14 +1168,7 @@ class ValidationError(_serialization.Model):
|
|
1213
1168
|
"type": {"key": "type", "type": "str"},
|
1214
1169
|
}
|
1215
1170
|
|
1216
|
-
def __init__(
|
1217
|
-
self,
|
1218
|
-
*,
|
1219
|
-
loc: List["_models.ValidationErrorLocItem"],
|
1220
|
-
msg: str,
|
1221
|
-
type: str,
|
1222
|
-
**kwargs: Any,
|
1223
|
-
) -> None:
|
1171
|
+
def __init__(self, *, loc: List["_models.ValidationErrorLocItem"], msg: str, type: str, **kwargs: Any) -> None:
|
1224
1172
|
"""
|
1225
1173
|
:keyword loc: Location. Required.
|
1226
1174
|
:paramtype loc: list[~_generated.models.ValidationErrorLocItem]
|
@@ -1270,7 +1218,7 @@ class VectorSearchSpec(_serialization.Model):
|
|
1270
1218
|
parameter: str,
|
1271
1219
|
operator: Union[str, "_models.VectorSearchOperator"],
|
1272
1220
|
values: "_models.VectorSearchSpecValues",
|
1273
|
-
**kwargs: Any
|
1221
|
+
**kwargs: Any
|
1274
1222
|
) -> None:
|
1275
1223
|
"""
|
1276
1224
|
:keyword parameter: Parameter. Required.
|
@@ -1321,7 +1269,7 @@ class VOInfo(_serialization.Model):
|
|
1321
1269
|
groups: Dict[str, "_models.GroupInfo"],
|
1322
1270
|
support: "_models.SupportInfo",
|
1323
1271
|
default_group: str,
|
1324
|
-
**kwargs: Any
|
1272
|
+
**kwargs: Any
|
1325
1273
|
) -> None:
|
1326
1274
|
"""
|
1327
1275
|
:keyword groups: Groups. Required.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.34.2)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
# pylint: disable=wrong-import-position
|