diracx-client 0.0.1a10__py3-none-any.whl → 0.0.1a12__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- diracx/client/__init__.py +1 -1
- diracx/client/_client.py +29 -5
- diracx/client/_configuration.py +4 -5
- diracx/client/_serialization.py +67 -69
- diracx/client/_vendor.py +37 -15
- diracx/client/aio/__init__.py +1 -1
- diracx/client/aio/_client.py +27 -5
- diracx/client/aio/_configuration.py +6 -7
- diracx/client/aio/_vendor.py +39 -1
- diracx/client/aio/operations/__init__.py +1 -1
- diracx/client/aio/operations/_operations.py +338 -283
- diracx/client/aio/operations/_patch.py +1 -2
- diracx/client/models/__init__.py +1 -1
- diracx/client/models/_enums.py +12 -12
- diracx/client/models/_models.py +20 -62
- diracx/client/operations/__init__.py +1 -1
- diracx/client/operations/_operations.py +379 -324
- diracx/client/operations/_patch.py +0 -2
- {diracx_client-0.0.1a10.dist-info → diracx_client-0.0.1a12.dist-info}/METADATA +1 -1
- diracx_client-0.0.1a12.dist-info/RECORD +26 -0
- {diracx_client-0.0.1a10.dist-info → diracx_client-0.0.1a12.dist-info}/WHEEL +1 -1
- diracx_client-0.0.1a10.dist-info/RECORD +0 -26
- {diracx_client-0.0.1a10.dist-info → diracx_client-0.0.1a12.dist-info}/top_level.txt +0 -0
@@ -16,7 +16,7 @@ from azure.core.pipeline import PipelineResponse
|
|
16
16
|
from azure.core.utils import case_insensitive_dict
|
17
17
|
from azure.core.tracing.decorator_async import distributed_trace_async
|
18
18
|
|
19
|
-
from ...operations._operations import _SERIALIZER
|
19
|
+
from ...operations._operations import _SERIALIZER
|
20
20
|
from ._operations import (
|
21
21
|
AuthOperations as AuthOperationsGenerated,
|
22
22
|
JobsOperations as JobsOperationsGenerated,
|
@@ -46,7 +46,6 @@ def build_token_request(**kwargs: Any) -> HttpRequest:
|
|
46
46
|
|
47
47
|
# Construct URL
|
48
48
|
_url = "/api/auth/token"
|
49
|
-
_url: str = _format_url_section(_url)
|
50
49
|
|
51
50
|
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
52
51
|
|
diracx/client/models/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.2)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
diracx/client/models/_enums.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.2)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
@@ -15,17 +15,15 @@ class ChecksumAlgorithm(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
|
15
15
|
|
16
16
|
|
17
17
|
class Enum0(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
18
|
-
"""
|
18
|
+
"""Response Type."""
|
19
19
|
|
20
|
-
|
20
|
+
CODE = "code"
|
21
21
|
|
22
22
|
|
23
23
|
class Enum1(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
24
|
-
"""
|
24
|
+
"""Code Challenge Method."""
|
25
25
|
|
26
|
-
|
27
|
-
"urn:ietf:params:oauth:grant-type:device_code"
|
28
|
-
)
|
26
|
+
S256 = "S256"
|
29
27
|
|
30
28
|
|
31
29
|
class Enum10(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
@@ -43,19 +41,21 @@ class Enum11(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
|
43
41
|
class Enum2(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
44
42
|
"""Enum2."""
|
45
43
|
|
46
|
-
|
44
|
+
AUTHORIZATION_CODE = "authorization_code"
|
47
45
|
|
48
46
|
|
49
47
|
class Enum3(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
50
|
-
"""
|
48
|
+
"""Enum3."""
|
51
49
|
|
52
|
-
|
50
|
+
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_DEVICE_CODE = (
|
51
|
+
"urn:ietf:params:oauth:grant-type:device_code"
|
52
|
+
)
|
53
53
|
|
54
54
|
|
55
55
|
class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
56
|
-
"""
|
56
|
+
"""Enum4."""
|
57
57
|
|
58
|
-
|
58
|
+
REFRESH_TOKEN = "refresh_token"
|
59
59
|
|
60
60
|
|
61
61
|
class JobStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
diracx/client/models/_models.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# pylint: disable=too-many-lines
|
3
3
|
# --------------------------------------------------------------------------
|
4
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.
|
4
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.2)
|
5
5
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
6
6
|
# --------------------------------------------------------------------------
|
7
7
|
|
@@ -18,7 +18,7 @@ if TYPE_CHECKING:
|
|
18
18
|
class BodyAuthToken(_serialization.Model):
|
19
19
|
"""Body_auth_token.
|
20
20
|
|
21
|
-
All required parameters must be populated in order to send to
|
21
|
+
All required parameters must be populated in order to send to server.
|
22
22
|
|
23
23
|
:ivar grant_type: OAuth2 Grant type. Required.
|
24
24
|
:vartype grant_type: ~client.models.BodyAuthTokenGrantType
|
@@ -94,17 +94,11 @@ class BodyAuthToken(_serialization.Model):
|
|
94
94
|
class BodyAuthTokenGrantType(_serialization.Model):
|
95
95
|
"""OAuth2 Grant type."""
|
96
96
|
|
97
|
-
_attribute_map = {}
|
98
|
-
|
99
|
-
def __init__(self, **kwargs: Any) -> None:
|
100
|
-
""" """
|
101
|
-
super().__init__(**kwargs)
|
102
|
-
|
103
97
|
|
104
98
|
class GroupInfo(_serialization.Model):
|
105
99
|
"""GroupInfo.
|
106
100
|
|
107
|
-
All required parameters must be populated in order to send to
|
101
|
+
All required parameters must be populated in order to send to server.
|
108
102
|
|
109
103
|
:ivar properties: Properties. Required.
|
110
104
|
:vartype properties: list[str]
|
@@ -152,7 +146,7 @@ class HTTPValidationError(_serialization.Model):
|
|
152
146
|
class InitiateDeviceFlowResponse(_serialization.Model):
|
153
147
|
"""InitiateDeviceFlowResponse.
|
154
148
|
|
155
|
-
All required parameters must be populated in order to send to
|
149
|
+
All required parameters must be populated in order to send to server.
|
156
150
|
|
157
151
|
:ivar user_code: User Code. Required.
|
158
152
|
:vartype user_code: str
|
@@ -218,7 +212,7 @@ class InitiateDeviceFlowResponse(_serialization.Model):
|
|
218
212
|
class InsertedJob(_serialization.Model):
|
219
213
|
"""InsertedJob.
|
220
214
|
|
221
|
-
All required parameters must be populated in order to send to
|
215
|
+
All required parameters must be populated in order to send to server.
|
222
216
|
|
223
217
|
:ivar job_id: Jobid. Required.
|
224
218
|
:vartype job_id: int
|
@@ -319,17 +313,11 @@ class JobSearchParams(_serialization.Model):
|
|
319
313
|
class JobSearchParamsSearchItem(_serialization.Model):
|
320
314
|
"""JobSearchParamsSearchItem."""
|
321
315
|
|
322
|
-
_attribute_map = {}
|
323
|
-
|
324
|
-
def __init__(self, **kwargs: Any) -> None:
|
325
|
-
""" """
|
326
|
-
super().__init__(**kwargs)
|
327
|
-
|
328
316
|
|
329
317
|
class JobStatusReturn(_serialization.Model):
|
330
318
|
"""JobStatusReturn.
|
331
319
|
|
332
|
-
All required parameters must be populated in order to send to
|
320
|
+
All required parameters must be populated in order to send to server.
|
333
321
|
|
334
322
|
:ivar status: An enumeration. Required. Known values are: "Submitting", "Received", "Checking",
|
335
323
|
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
@@ -446,7 +434,7 @@ class JobStatusUpdate(_serialization.Model):
|
|
446
434
|
class JobSummaryParams(_serialization.Model):
|
447
435
|
"""JobSummaryParams.
|
448
436
|
|
449
|
-
All required parameters must be populated in order to send to
|
437
|
+
All required parameters must be populated in order to send to server.
|
450
438
|
|
451
439
|
:ivar grouping: Grouping. Required.
|
452
440
|
:vartype grouping: list[str]
|
@@ -484,17 +472,11 @@ class JobSummaryParams(_serialization.Model):
|
|
484
472
|
class JobSummaryParamsSearchItem(_serialization.Model):
|
485
473
|
"""JobSummaryParamsSearchItem."""
|
486
474
|
|
487
|
-
_attribute_map = {}
|
488
|
-
|
489
|
-
def __init__(self, **kwargs: Any) -> None:
|
490
|
-
""" """
|
491
|
-
super().__init__(**kwargs)
|
492
|
-
|
493
475
|
|
494
476
|
class LimitedJobStatusReturn(_serialization.Model):
|
495
477
|
"""LimitedJobStatusReturn.
|
496
478
|
|
497
|
-
All required parameters must be populated in order to send to
|
479
|
+
All required parameters must be populated in order to send to server.
|
498
480
|
|
499
481
|
:ivar status: An enumeration. Required. Known values are: "Submitting", "Received", "Checking",
|
500
482
|
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
@@ -545,7 +527,7 @@ class LimitedJobStatusReturn(_serialization.Model):
|
|
545
527
|
class Metadata(_serialization.Model):
|
546
528
|
"""Metadata.
|
547
529
|
|
548
|
-
All required parameters must be populated in order to send to
|
530
|
+
All required parameters must be populated in order to send to server.
|
549
531
|
|
550
532
|
:ivar virtual_organizations: Virtual Organizations. Required.
|
551
533
|
:vartype virtual_organizations: dict[str, ~client.models.VOInfo]
|
@@ -573,7 +555,7 @@ class Metadata(_serialization.Model):
|
|
573
555
|
class SandboxDownloadResponse(_serialization.Model):
|
574
556
|
"""SandboxDownloadResponse.
|
575
557
|
|
576
|
-
All required parameters must be populated in order to send to
|
558
|
+
All required parameters must be populated in order to send to server.
|
577
559
|
|
578
560
|
:ivar url: Url. Required.
|
579
561
|
:vartype url: str
|
@@ -606,7 +588,7 @@ class SandboxDownloadResponse(_serialization.Model):
|
|
606
588
|
class SandboxInfo(_serialization.Model):
|
607
589
|
"""SandboxInfo.
|
608
590
|
|
609
|
-
All required parameters must be populated in order to send to
|
591
|
+
All required parameters must be populated in order to send to server.
|
610
592
|
|
611
593
|
:ivar checksum_algorithm: An enumeration. Required. "sha256"
|
612
594
|
:vartype checksum_algorithm: str or ~client.models.ChecksumAlgorithm
|
@@ -661,7 +643,7 @@ class SandboxInfo(_serialization.Model):
|
|
661
643
|
class SandboxUploadResponse(_serialization.Model):
|
662
644
|
"""SandboxUploadResponse.
|
663
645
|
|
664
|
-
All required parameters must be populated in order to send to
|
646
|
+
All required parameters must be populated in order to send to server.
|
665
647
|
|
666
648
|
:ivar pfn: Pfn. Required.
|
667
649
|
:vartype pfn: str
|
@@ -706,7 +688,7 @@ class SandboxUploadResponse(_serialization.Model):
|
|
706
688
|
class ScalarSearchSpec(_serialization.Model):
|
707
689
|
"""ScalarSearchSpec.
|
708
690
|
|
709
|
-
All required parameters must be populated in order to send to
|
691
|
+
All required parameters must be populated in order to send to server.
|
710
692
|
|
711
693
|
:ivar parameter: Parameter. Required.
|
712
694
|
:vartype parameter: str
|
@@ -755,12 +737,6 @@ class ScalarSearchSpec(_serialization.Model):
|
|
755
737
|
class ScalarSearchSpecValue(_serialization.Model):
|
756
738
|
"""Value."""
|
757
739
|
|
758
|
-
_attribute_map = {}
|
759
|
-
|
760
|
-
def __init__(self, **kwargs: Any) -> None:
|
761
|
-
""" """
|
762
|
-
super().__init__(**kwargs)
|
763
|
-
|
764
740
|
|
765
741
|
class SetJobStatusReturn(_serialization.Model):
|
766
742
|
"""SetJobStatusReturn.
|
@@ -836,7 +812,7 @@ class SetJobStatusReturn(_serialization.Model):
|
|
836
812
|
class SortSpec(_serialization.Model):
|
837
813
|
"""SortSpec.
|
838
814
|
|
839
|
-
All required parameters must be populated in order to send to
|
815
|
+
All required parameters must be populated in order to send to server.
|
840
816
|
|
841
817
|
:ivar parameter: Parameter. Required.
|
842
818
|
:vartype parameter: str
|
@@ -871,17 +847,11 @@ class SortSpec(_serialization.Model):
|
|
871
847
|
class SortSpecDirection(_serialization.Model):
|
872
848
|
"""Direction."""
|
873
849
|
|
874
|
-
_attribute_map = {}
|
875
|
-
|
876
|
-
def __init__(self, **kwargs: Any) -> None:
|
877
|
-
""" """
|
878
|
-
super().__init__(**kwargs)
|
879
|
-
|
880
850
|
|
881
851
|
class SupportInfo(_serialization.Model):
|
882
852
|
"""SupportInfo.
|
883
853
|
|
884
|
-
All required parameters must be populated in order to send to
|
854
|
+
All required parameters must be populated in order to send to server.
|
885
855
|
|
886
856
|
:ivar message: Message. Required.
|
887
857
|
:vartype message: str
|
@@ -923,7 +893,7 @@ class SupportInfo(_serialization.Model):
|
|
923
893
|
class TokenResponse(_serialization.Model):
|
924
894
|
"""TokenResponse.
|
925
895
|
|
926
|
-
All required parameters must be populated in order to send to
|
896
|
+
All required parameters must be populated in order to send to server.
|
927
897
|
|
928
898
|
:ivar access_token: Access Token. Required.
|
929
899
|
:vartype access_token: str
|
@@ -976,7 +946,7 @@ class TokenResponse(_serialization.Model):
|
|
976
946
|
class UserInfoResponse(_serialization.Model):
|
977
947
|
"""UserInfoResponse.
|
978
948
|
|
979
|
-
All required parameters must be populated in order to send to
|
949
|
+
All required parameters must be populated in order to send to server.
|
980
950
|
|
981
951
|
:ivar sub: Sub. Required.
|
982
952
|
:vartype sub: str
|
@@ -1039,7 +1009,7 @@ class UserInfoResponse(_serialization.Model):
|
|
1039
1009
|
class ValidationError(_serialization.Model):
|
1040
1010
|
"""ValidationError.
|
1041
1011
|
|
1042
|
-
All required parameters must be populated in order to send to
|
1012
|
+
All required parameters must be populated in order to send to server.
|
1043
1013
|
|
1044
1014
|
:ivar loc: Location. Required.
|
1045
1015
|
:vartype loc: list[~client.models.ValidationErrorLocItem]
|
@@ -1086,17 +1056,11 @@ class ValidationError(_serialization.Model):
|
|
1086
1056
|
class ValidationErrorLocItem(_serialization.Model):
|
1087
1057
|
"""ValidationErrorLocItem."""
|
1088
1058
|
|
1089
|
-
_attribute_map = {}
|
1090
|
-
|
1091
|
-
def __init__(self, **kwargs: Any) -> None:
|
1092
|
-
""" """
|
1093
|
-
super().__init__(**kwargs)
|
1094
|
-
|
1095
1059
|
|
1096
1060
|
class VectorSearchSpec(_serialization.Model):
|
1097
1061
|
"""VectorSearchSpec.
|
1098
1062
|
|
1099
|
-
All required parameters must be populated in order to send to
|
1063
|
+
All required parameters must be populated in order to send to server.
|
1100
1064
|
|
1101
1065
|
:ivar parameter: Parameter. Required.
|
1102
1066
|
:vartype parameter: str
|
@@ -1143,17 +1107,11 @@ class VectorSearchSpec(_serialization.Model):
|
|
1143
1107
|
class VectorSearchSpecValues(_serialization.Model):
|
1144
1108
|
"""Values."""
|
1145
1109
|
|
1146
|
-
_attribute_map = {}
|
1147
|
-
|
1148
|
-
def __init__(self, **kwargs: Any) -> None:
|
1149
|
-
""" """
|
1150
|
-
super().__init__(**kwargs)
|
1151
|
-
|
1152
1110
|
|
1153
1111
|
class VOInfo(_serialization.Model):
|
1154
1112
|
"""VOInfo.
|
1155
1113
|
|
1156
|
-
All required parameters must be populated in order to send to
|
1114
|
+
All required parameters must be populated in order to send to server.
|
1157
1115
|
|
1158
1116
|
:ivar groups: Groups. Required.
|
1159
1117
|
:vartype groups: dict[str, ~client.models.GroupInfo]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.2)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|