diracx-client 0.0.1a18__py3-none-any.whl → 0.0.1a20__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 +4 -18
- diracx/client/aio.py +1 -0
- diracx/client/extensions.py +90 -0
- diracx/client/{aio → generated}/__init__.py +2 -2
- diracx/client/{_client.py → generated/_client.py} +7 -6
- diracx/client/{_configuration.py → generated/_configuration.py} +1 -1
- diracx/client/generated/_patch.py +47 -0
- diracx/client/{_serialization.py → generated/_serialization.py} +303 -154
- diracx/client/{_vendor.py → generated/_vendor.py} +1 -1
- diracx/client/generated/aio/__init__.py +21 -0
- diracx/client/{aio → generated/aio}/_client.py +7 -6
- diracx/client/{aio → generated/aio}/_configuration.py +1 -1
- diracx/client/generated/aio/_patch.py +23 -0
- diracx/client/{aio → generated/aio}/_vendor.py +1 -1
- diracx/client/{aio → generated/aio}/operations/__init__.py +2 -2
- diracx/client/{aio → generated/aio}/operations/_operations.py +139 -209
- diracx/client/{models → generated/models}/__init__.py +4 -2
- diracx/client/{models → generated/models}/_enums.py +2 -2
- diracx/client/{models → generated/models}/_models.py +86 -46
- diracx/client/{operations → generated/operations}/__init__.py +2 -2
- diracx/client/{operations → generated/operations}/_operations.py +139 -209
- diracx/client/generated/py.typed +1 -0
- diracx/client/models.py +5 -0
- diracx/client/patches/__init__.py +19 -0
- diracx/client/patches/aio/__init__.py +18 -0
- diracx/client/{aio/_patch.py → patches/aio/utils.py} +25 -19
- diracx/client/{_patch.py → patches/utils.py} +115 -122
- {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a20.dist-info}/METADATA +1 -2
- diracx_client-0.0.1a20.dist-info/RECORD +36 -0
- {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a20.dist-info}/WHEEL +1 -1
- diracx_client-0.0.1a20.dist-info/entry_points.txt +3 -0
- diracx_client-0.0.1a18.dist-info/RECORD +0 -26
- /diracx/client/{aio → generated/aio}/operations/_patch.py +0 -0
- /diracx/client/{models → generated/models}/_patch.py +0 -0
- /diracx/client/{operations → generated/operations}/_patch.py +0 -0
- {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a20.dist-info}/top_level.txt +0 -0
@@ -1,11 +1,12 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
7
7
|
from ._models import BodyAuthToken
|
8
8
|
from ._models import BodyAuthTokenGrantType
|
9
|
+
from ._models import DevelopmentSettings
|
9
10
|
from ._models import GroupInfo
|
10
11
|
from ._models import HTTPValidationError
|
11
12
|
from ._models import InitiateDeviceFlowResponse
|
@@ -53,6 +54,7 @@ from ._patch import patch_sdk as _patch_sdk
|
|
53
54
|
__all__ = [
|
54
55
|
"BodyAuthToken",
|
55
56
|
"BodyAuthTokenGrantType",
|
57
|
+
"DevelopmentSettings",
|
56
58
|
"GroupInfo",
|
57
59
|
"HTTPValidationError",
|
58
60
|
"InitiateDeviceFlowResponse",
|
@@ -93,5 +95,5 @@ __all__ = [
|
|
93
95
|
"SortDirection",
|
94
96
|
"VectorSearchOperator",
|
95
97
|
]
|
96
|
-
__all__.extend([p for p in _patch_all if p not in __all__])
|
98
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
97
99
|
_patch_sdk()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
@@ -99,5 +99,5 @@ class SortDirection(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
|
99
99
|
class VectorSearchOperator(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
100
100
|
"""VectorSearchOperator."""
|
101
101
|
|
102
|
-
|
102
|
+
IN = "in"
|
103
103
|
NOT_IN = "not in"
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# coding=utf-8
|
2
1
|
# pylint: disable=too-many-lines
|
2
|
+
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
4
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
5
5
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
6
6
|
# --------------------------------------------------------------------------
|
7
7
|
|
@@ -14,10 +14,9 @@ from .. import _serialization
|
|
14
14
|
if sys.version_info >= (3, 9):
|
15
15
|
from collections.abc import MutableMapping
|
16
16
|
else:
|
17
|
-
from typing import MutableMapping # type: ignore
|
17
|
+
from typing import MutableMapping # type: ignore
|
18
18
|
|
19
19
|
if TYPE_CHECKING:
|
20
|
-
# pylint: disable=unused-import,ungrouped-imports
|
21
20
|
from .. import models as _models
|
22
21
|
JSON = MutableMapping[str, Any] # pylint: disable=unsubscriptable-object
|
23
22
|
|
@@ -28,7 +27,7 @@ class BodyAuthToken(_serialization.Model):
|
|
28
27
|
All required parameters must be populated in order to send to server.
|
29
28
|
|
30
29
|
:ivar grant_type: OAuth2 Grant type. Required.
|
31
|
-
:vartype grant_type: ~
|
30
|
+
:vartype grant_type: ~generated.models.BodyAuthTokenGrantType
|
32
31
|
:ivar client_id: OAuth2 client id. Required.
|
33
32
|
:vartype client_id: str
|
34
33
|
:ivar device_code: device code for OAuth2 device flow.
|
@@ -73,7 +72,7 @@ class BodyAuthToken(_serialization.Model):
|
|
73
72
|
) -> None:
|
74
73
|
"""
|
75
74
|
:keyword grant_type: OAuth2 Grant type. Required.
|
76
|
-
:paramtype grant_type: ~
|
75
|
+
:paramtype grant_type: ~generated.models.BodyAuthTokenGrantType
|
77
76
|
:keyword client_id: OAuth2 client id. Required.
|
78
77
|
:paramtype client_id: str
|
79
78
|
:keyword device_code: device code for OAuth2 device flow.
|
@@ -102,6 +101,31 @@ class BodyAuthTokenGrantType(_serialization.Model):
|
|
102
101
|
"""OAuth2 Grant type."""
|
103
102
|
|
104
103
|
|
104
|
+
class DevelopmentSettings(_serialization.Model):
|
105
|
+
"""Settings for the Development Configuration that can influence run time.
|
106
|
+
|
107
|
+
:ivar crash_on_missed_access_policy: Crash On Missed Access Policy.
|
108
|
+
:vartype crash_on_missed_access_policy: bool
|
109
|
+
"""
|
110
|
+
|
111
|
+
_attribute_map = {
|
112
|
+
"crash_on_missed_access_policy": {
|
113
|
+
"key": "crash_on_missed_access_policy",
|
114
|
+
"type": "bool",
|
115
|
+
},
|
116
|
+
}
|
117
|
+
|
118
|
+
def __init__(
|
119
|
+
self, *, crash_on_missed_access_policy: bool = False, **kwargs: Any
|
120
|
+
) -> None:
|
121
|
+
"""
|
122
|
+
:keyword crash_on_missed_access_policy: Crash On Missed Access Policy.
|
123
|
+
:paramtype crash_on_missed_access_policy: bool
|
124
|
+
"""
|
125
|
+
super().__init__(**kwargs)
|
126
|
+
self.crash_on_missed_access_policy = crash_on_missed_access_policy
|
127
|
+
|
128
|
+
|
105
129
|
class GroupInfo(_serialization.Model):
|
106
130
|
"""GroupInfo.
|
107
131
|
|
@@ -132,7 +156,7 @@ class HTTPValidationError(_serialization.Model):
|
|
132
156
|
"""HTTPValidationError.
|
133
157
|
|
134
158
|
:ivar detail: Detail.
|
135
|
-
:vartype detail: list[~
|
159
|
+
:vartype detail: list[~generated.models.ValidationError]
|
136
160
|
"""
|
137
161
|
|
138
162
|
_attribute_map = {
|
@@ -144,7 +168,7 @@ class HTTPValidationError(_serialization.Model):
|
|
144
168
|
) -> None:
|
145
169
|
"""
|
146
170
|
:keyword detail: Detail.
|
147
|
-
:paramtype detail: list[~
|
171
|
+
:paramtype detail: list[~generated.models.ValidationError]
|
148
172
|
"""
|
149
173
|
super().__init__(**kwargs)
|
150
174
|
self.detail = detail
|
@@ -277,9 +301,9 @@ class JobSearchParams(_serialization.Model):
|
|
277
301
|
:ivar parameters: Parameters.
|
278
302
|
:vartype parameters: list[str]
|
279
303
|
:ivar search: Search.
|
280
|
-
:vartype search: list[~
|
304
|
+
:vartype search: list[~generated.models.JobSearchParamsSearchItem]
|
281
305
|
:ivar sort: Sort.
|
282
|
-
:vartype sort: list[~
|
306
|
+
:vartype sort: list[~generated.models.SortSpec]
|
283
307
|
:ivar distinct: Distinct.
|
284
308
|
:vartype distinct: bool
|
285
309
|
"""
|
@@ -304,9 +328,9 @@ class JobSearchParams(_serialization.Model):
|
|
304
328
|
:keyword parameters: Parameters.
|
305
329
|
:paramtype parameters: list[str]
|
306
330
|
:keyword search: Search.
|
307
|
-
:paramtype search: list[~
|
331
|
+
:paramtype search: list[~generated.models.JobSearchParamsSearchItem]
|
308
332
|
:keyword sort: Sort.
|
309
|
-
:paramtype sort: list[~
|
333
|
+
:paramtype sort: list[~generated.models.SortSpec]
|
310
334
|
:keyword distinct: Distinct.
|
311
335
|
:paramtype distinct: bool
|
312
336
|
"""
|
@@ -329,7 +353,7 @@ class JobStatusReturn(_serialization.Model):
|
|
329
353
|
:ivar status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
330
354
|
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
331
355
|
"Failed", "Deleted", "Killed", and "Rescheduled".
|
332
|
-
:vartype status: str or ~
|
356
|
+
:vartype status: str or ~generated.models.JobStatus
|
333
357
|
:ivar minor_status: Minorstatus. Required.
|
334
358
|
:vartype minor_status: str
|
335
359
|
:ivar application_status: Applicationstatus. Required.
|
@@ -370,7 +394,7 @@ class JobStatusReturn(_serialization.Model):
|
|
370
394
|
:keyword status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
371
395
|
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
372
396
|
"Failed", "Deleted", "Killed", and "Rescheduled".
|
373
|
-
:paramtype status: str or ~
|
397
|
+
:paramtype status: str or ~generated.models.JobStatus
|
374
398
|
:keyword minor_status: Minorstatus. Required.
|
375
399
|
:paramtype minor_status: str
|
376
400
|
:keyword application_status: Applicationstatus. Required.
|
@@ -394,7 +418,7 @@ class JobStatusUpdate(_serialization.Model):
|
|
394
418
|
:ivar status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
395
419
|
"Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
|
396
420
|
"Deleted", "Killed", and "Rescheduled".
|
397
|
-
:vartype status: str or ~
|
421
|
+
:vartype status: str or ~generated.models.JobStatus
|
398
422
|
:ivar minor_status: Minorstatus.
|
399
423
|
:vartype minor_status: str
|
400
424
|
:ivar application_status: Applicationstatus.
|
@@ -423,7 +447,7 @@ class JobStatusUpdate(_serialization.Model):
|
|
423
447
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
424
448
|
"Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
|
425
449
|
"Deleted", "Killed", and "Rescheduled".
|
426
|
-
:paramtype status: str or ~
|
450
|
+
:paramtype status: str or ~generated.models.JobStatus
|
427
451
|
:keyword minor_status: Minorstatus.
|
428
452
|
:paramtype minor_status: str
|
429
453
|
:keyword application_status: Applicationstatus.
|
@@ -446,7 +470,7 @@ class JobSummaryParams(_serialization.Model):
|
|
446
470
|
:ivar grouping: Grouping. Required.
|
447
471
|
:vartype grouping: list[str]
|
448
472
|
:ivar search: Search.
|
449
|
-
:vartype search: list[~
|
473
|
+
:vartype search: list[~generated.models.JobSummaryParamsSearchItem]
|
450
474
|
"""
|
451
475
|
|
452
476
|
_validation = {
|
@@ -469,7 +493,7 @@ class JobSummaryParams(_serialization.Model):
|
|
469
493
|
:keyword grouping: Grouping. Required.
|
470
494
|
:paramtype grouping: list[str]
|
471
495
|
:keyword search: Search.
|
472
|
-
:paramtype search: list[~
|
496
|
+
:paramtype search: list[~generated.models.JobSummaryParamsSearchItem]
|
473
497
|
"""
|
474
498
|
super().__init__(**kwargs)
|
475
499
|
self.grouping = grouping
|
@@ -488,7 +512,7 @@ class LimitedJobStatusReturn(_serialization.Model):
|
|
488
512
|
:ivar status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
489
513
|
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
490
514
|
"Failed", "Deleted", "Killed", and "Rescheduled".
|
491
|
-
:vartype status: str or ~
|
515
|
+
:vartype status: str or ~generated.models.JobStatus
|
492
516
|
:ivar minor_status: Minorstatus. Required.
|
493
517
|
:vartype minor_status: str
|
494
518
|
:ivar application_status: Applicationstatus. Required.
|
@@ -519,7 +543,7 @@ class LimitedJobStatusReturn(_serialization.Model):
|
|
519
543
|
:keyword status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
520
544
|
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
521
545
|
"Failed", "Deleted", "Killed", and "Rescheduled".
|
522
|
-
:paramtype status: str or ~
|
546
|
+
:paramtype status: str or ~generated.models.JobStatus
|
523
547
|
:keyword minor_status: Minorstatus. Required.
|
524
548
|
:paramtype minor_status: str
|
525
549
|
:keyword application_status: Applicationstatus. Required.
|
@@ -537,26 +561,42 @@ class Metadata(_serialization.Model):
|
|
537
561
|
All required parameters must be populated in order to send to server.
|
538
562
|
|
539
563
|
:ivar virtual_organizations: Virtual Organizations. Required.
|
540
|
-
:vartype virtual_organizations: dict[str, ~
|
564
|
+
:vartype virtual_organizations: dict[str, ~generated.models.VOInfo]
|
565
|
+
:ivar development_settings: Settings for the Development Configuration that can influence run
|
566
|
+
time. Required.
|
567
|
+
:vartype development_settings: ~generated.models.DevelopmentSettings
|
541
568
|
"""
|
542
569
|
|
543
570
|
_validation = {
|
544
571
|
"virtual_organizations": {"required": True},
|
572
|
+
"development_settings": {"required": True},
|
545
573
|
}
|
546
574
|
|
547
575
|
_attribute_map = {
|
548
576
|
"virtual_organizations": {"key": "virtual_organizations", "type": "{VOInfo}"},
|
577
|
+
"development_settings": {
|
578
|
+
"key": "development_settings",
|
579
|
+
"type": "DevelopmentSettings",
|
580
|
+
},
|
549
581
|
}
|
550
582
|
|
551
583
|
def __init__(
|
552
|
-
self,
|
584
|
+
self,
|
585
|
+
*,
|
586
|
+
virtual_organizations: Dict[str, "_models.VOInfo"],
|
587
|
+
development_settings: "_models.DevelopmentSettings",
|
588
|
+
**kwargs: Any,
|
553
589
|
) -> None:
|
554
590
|
"""
|
555
591
|
:keyword virtual_organizations: Virtual Organizations. Required.
|
556
|
-
:paramtype virtual_organizations: dict[str, ~
|
592
|
+
:paramtype virtual_organizations: dict[str, ~generated.models.VOInfo]
|
593
|
+
:keyword development_settings: Settings for the Development Configuration that can influence
|
594
|
+
run time. Required.
|
595
|
+
:paramtype development_settings: ~generated.models.DevelopmentSettings
|
557
596
|
"""
|
558
597
|
super().__init__(**kwargs)
|
559
598
|
self.virtual_organizations = virtual_organizations
|
599
|
+
self.development_settings = development_settings
|
560
600
|
|
561
601
|
|
562
602
|
class SandboxDownloadResponse(_serialization.Model):
|
@@ -598,18 +638,18 @@ class SandboxInfo(_serialization.Model):
|
|
598
638
|
All required parameters must be populated in order to send to server.
|
599
639
|
|
600
640
|
:ivar checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
|
601
|
-
:vartype checksum_algorithm: str or ~
|
641
|
+
:vartype checksum_algorithm: str or ~generated.models.ChecksumAlgorithm
|
602
642
|
:ivar checksum: Checksum. Required.
|
603
643
|
:vartype checksum: str
|
604
644
|
:ivar size: Size. Required.
|
605
645
|
:vartype size: int
|
606
646
|
:ivar format: SandboxFormat. Required. "tar.bz2"
|
607
|
-
:vartype format: str or ~
|
647
|
+
:vartype format: str or ~generated.models.SandboxFormat
|
608
648
|
"""
|
609
649
|
|
610
650
|
_validation = {
|
611
651
|
"checksum_algorithm": {"required": True},
|
612
|
-
"checksum": {"required": True, "pattern": r"^[0-
|
652
|
+
"checksum": {"required": True, "pattern": r"^[0-9a-fA-F]{64}$"},
|
613
653
|
"size": {"required": True, "minimum": 1},
|
614
654
|
"format": {"required": True},
|
615
655
|
}
|
@@ -632,13 +672,13 @@ class SandboxInfo(_serialization.Model):
|
|
632
672
|
) -> None:
|
633
673
|
"""
|
634
674
|
:keyword checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
|
635
|
-
:paramtype checksum_algorithm: str or ~
|
675
|
+
:paramtype checksum_algorithm: str or ~generated.models.ChecksumAlgorithm
|
636
676
|
:keyword checksum: Checksum. Required.
|
637
677
|
:paramtype checksum: str
|
638
678
|
:keyword size: Size. Required.
|
639
679
|
:paramtype size: int
|
640
680
|
:keyword format: SandboxFormat. Required. "tar.bz2"
|
641
|
-
:paramtype format: str or ~
|
681
|
+
:paramtype format: str or ~generated.models.SandboxFormat
|
642
682
|
"""
|
643
683
|
super().__init__(**kwargs)
|
644
684
|
self.checksum_algorithm = checksum_algorithm
|
@@ -701,9 +741,9 @@ class ScalarSearchSpec(_serialization.Model):
|
|
701
741
|
:vartype parameter: str
|
702
742
|
:ivar operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt", and
|
703
743
|
"like".
|
704
|
-
:vartype operator: str or ~
|
744
|
+
:vartype operator: str or ~generated.models.ScalarSearchOperator
|
705
745
|
:ivar value: Value. Required.
|
706
|
-
:vartype value: ~
|
746
|
+
:vartype value: ~generated.models.ScalarSearchSpecValue
|
707
747
|
"""
|
708
748
|
|
709
749
|
_validation = {
|
@@ -731,9 +771,9 @@ class ScalarSearchSpec(_serialization.Model):
|
|
731
771
|
:paramtype parameter: str
|
732
772
|
:keyword operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
733
773
|
and "like".
|
734
|
-
:paramtype operator: str or ~
|
774
|
+
:paramtype operator: str or ~generated.models.ScalarSearchOperator
|
735
775
|
:keyword value: Value. Required.
|
736
|
-
:paramtype value: ~
|
776
|
+
:paramtype value: ~generated.models.ScalarSearchSpecValue
|
737
777
|
"""
|
738
778
|
super().__init__(**kwargs)
|
739
779
|
self.parameter = parameter
|
@@ -751,7 +791,7 @@ class SetJobStatusReturn(_serialization.Model):
|
|
751
791
|
:ivar status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
752
792
|
"Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
|
753
793
|
"Deleted", "Killed", and "Rescheduled".
|
754
|
-
:vartype status: str or ~
|
794
|
+
:vartype status: str or ~generated.models.JobStatus
|
755
795
|
:ivar minor_status: Minorstatus.
|
756
796
|
:vartype minor_status: str
|
757
797
|
:ivar application_status: Applicationstatus.
|
@@ -792,7 +832,7 @@ class SetJobStatusReturn(_serialization.Model):
|
|
792
832
|
:keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
793
833
|
"Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
|
794
834
|
"Deleted", "Killed", and "Rescheduled".
|
795
|
-
:paramtype status: str or ~
|
835
|
+
:paramtype status: str or ~generated.models.JobStatus
|
796
836
|
:keyword minor_status: Minorstatus.
|
797
837
|
:paramtype minor_status: str
|
798
838
|
:keyword application_status: Applicationstatus.
|
@@ -824,7 +864,7 @@ class SortSpec(_serialization.Model):
|
|
824
864
|
:ivar parameter: Parameter. Required.
|
825
865
|
:vartype parameter: str
|
826
866
|
:ivar direction: SortDirection. Required. Known values are: "asc" and "desc".
|
827
|
-
:vartype direction: str or ~
|
867
|
+
:vartype direction: str or ~generated.models.SortDirection
|
828
868
|
"""
|
829
869
|
|
830
870
|
_validation = {
|
@@ -848,7 +888,7 @@ class SortSpec(_serialization.Model):
|
|
848
888
|
:keyword parameter: Parameter. Required.
|
849
889
|
:paramtype parameter: str
|
850
890
|
:keyword direction: SortDirection. Required. Known values are: "asc" and "desc".
|
851
|
-
:paramtype direction: str or ~
|
891
|
+
:paramtype direction: str or ~generated.models.SortDirection
|
852
892
|
"""
|
853
893
|
super().__init__(**kwargs)
|
854
894
|
self.parameter = parameter
|
@@ -1027,7 +1067,7 @@ class ValidationError(_serialization.Model):
|
|
1027
1067
|
All required parameters must be populated in order to send to server.
|
1028
1068
|
|
1029
1069
|
:ivar loc: Location. Required.
|
1030
|
-
:vartype loc: list[~
|
1070
|
+
:vartype loc: list[~generated.models.ValidationErrorLocItem]
|
1031
1071
|
:ivar msg: Message. Required.
|
1032
1072
|
:vartype msg: str
|
1033
1073
|
:ivar type: Error Type. Required.
|
@@ -1056,7 +1096,7 @@ class ValidationError(_serialization.Model):
|
|
1056
1096
|
) -> None:
|
1057
1097
|
"""
|
1058
1098
|
:keyword loc: Location. Required.
|
1059
|
-
:paramtype loc: list[~
|
1099
|
+
:paramtype loc: list[~generated.models.ValidationErrorLocItem]
|
1060
1100
|
:keyword msg: Message. Required.
|
1061
1101
|
:paramtype msg: str
|
1062
1102
|
:keyword type: Error Type. Required.
|
@@ -1080,9 +1120,9 @@ class VectorSearchSpec(_serialization.Model):
|
|
1080
1120
|
:ivar parameter: Parameter. Required.
|
1081
1121
|
:vartype parameter: str
|
1082
1122
|
:ivar operator: VectorSearchOperator. Required. Known values are: "in" and "not in".
|
1083
|
-
:vartype operator: str or ~
|
1123
|
+
:vartype operator: str or ~generated.models.VectorSearchOperator
|
1084
1124
|
:ivar values: Values. Required.
|
1085
|
-
:vartype values: ~
|
1125
|
+
:vartype values: ~generated.models.VectorSearchSpecValues
|
1086
1126
|
"""
|
1087
1127
|
|
1088
1128
|
_validation = {
|
@@ -1109,9 +1149,9 @@ class VectorSearchSpec(_serialization.Model):
|
|
1109
1149
|
:keyword parameter: Parameter. Required.
|
1110
1150
|
:paramtype parameter: str
|
1111
1151
|
:keyword operator: VectorSearchOperator. Required. Known values are: "in" and "not in".
|
1112
|
-
:paramtype operator: str or ~
|
1152
|
+
:paramtype operator: str or ~generated.models.VectorSearchOperator
|
1113
1153
|
:keyword values: Values. Required.
|
1114
|
-
:paramtype values: ~
|
1154
|
+
:paramtype values: ~generated.models.VectorSearchSpecValues
|
1115
1155
|
"""
|
1116
1156
|
super().__init__(**kwargs)
|
1117
1157
|
self.parameter = parameter
|
@@ -1129,9 +1169,9 @@ class VOInfo(_serialization.Model):
|
|
1129
1169
|
All required parameters must be populated in order to send to server.
|
1130
1170
|
|
1131
1171
|
:ivar groups: Groups. Required.
|
1132
|
-
:vartype groups: dict[str, ~
|
1172
|
+
:vartype groups: dict[str, ~generated.models.GroupInfo]
|
1133
1173
|
:ivar support: SupportInfo. Required.
|
1134
|
-
:vartype support: ~
|
1174
|
+
:vartype support: ~generated.models.SupportInfo
|
1135
1175
|
:ivar default_group: Default Group. Required.
|
1136
1176
|
:vartype default_group: str
|
1137
1177
|
"""
|
@@ -1158,9 +1198,9 @@ class VOInfo(_serialization.Model):
|
|
1158
1198
|
) -> None:
|
1159
1199
|
"""
|
1160
1200
|
:keyword groups: Groups. Required.
|
1161
|
-
:paramtype groups: dict[str, ~
|
1201
|
+
:paramtype groups: dict[str, ~generated.models.GroupInfo]
|
1162
1202
|
:keyword support: SupportInfo. Required.
|
1163
|
-
:paramtype support: ~
|
1203
|
+
:paramtype support: ~generated.models.SupportInfo
|
1164
1204
|
:keyword default_group: Default Group. Required.
|
1165
1205
|
:paramtype default_group: str
|
1166
1206
|
"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
@@ -19,5 +19,5 @@ __all__ = [
|
|
19
19
|
"ConfigOperations",
|
20
20
|
"JobsOperations",
|
21
21
|
]
|
22
|
-
__all__.extend([p for p in _patch_all if p not in __all__])
|
22
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
23
23
|
_patch_sdk()
|