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