diracx-client 0.0.1a33__py3-none-any.whl → 0.0.1a35__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.
Files changed (49) hide show
  1. _diracx_client_importer.pth +1 -0
  2. diracx/_client_importer.py +384 -0
  3. diracx/client/__init__.py +12 -4
  4. diracx/client/{generated → _generated}/__init__.py +1 -1
  5. diracx/client/{generated → _generated}/_client.py +5 -5
  6. diracx/client/{generated → _generated}/_configuration.py +1 -1
  7. diracx/client/{generated/aio → _generated}/_patch.py +4 -5
  8. diracx/client/{generated → _generated}/_serialization.py +1 -1
  9. diracx/client/{generated/aio → _generated}/_vendor.py +1 -1
  10. diracx/client/{generated → _generated}/aio/__init__.py +1 -1
  11. diracx/client/{generated → _generated}/aio/_client.py +5 -5
  12. diracx/client/{generated → _generated}/aio/_configuration.py +1 -1
  13. diracx/client/{generated → _generated/aio}/_patch.py +4 -9
  14. diracx/client/{generated → _generated/aio}/_vendor.py +1 -1
  15. diracx/client/{generated → _generated}/aio/operations/__init__.py +1 -1
  16. diracx/client/{generated → _generated}/aio/operations/_operations.py +158 -28
  17. diracx/client/_generated/aio/operations/_patch.py +26 -0
  18. diracx/client/{generated → _generated}/models/__init__.py +11 -1
  19. diracx/client/{generated → _generated}/models/_enums.py +1 -1
  20. diracx/client/{generated → _generated}/models/_models.py +152 -39
  21. diracx/client/{generated → _generated}/models/_patch.py +15 -12
  22. diracx/client/{generated → _generated}/operations/__init__.py +1 -1
  23. diracx/client/{generated → _generated}/operations/_operations.py +178 -28
  24. diracx/client/_generated/operations/_patch.py +26 -0
  25. diracx/client/aio.py +12 -2
  26. diracx/client/models.py +3 -6
  27. diracx/client/patches/auth/aio.py +45 -0
  28. diracx/client/patches/auth/common.py +56 -0
  29. diracx/client/patches/auth/sync.py +41 -0
  30. diracx/client/patches/{aio/utils.py → client/aio.py} +22 -40
  31. diracx/client/patches/client/common.py +196 -0
  32. diracx/client/patches/client/sync.py +141 -0
  33. diracx/client/patches/jobs/aio.py +34 -0
  34. diracx/client/patches/jobs/common.py +85 -0
  35. diracx/client/patches/jobs/sync.py +34 -0
  36. diracx/client/py.typed +0 -1
  37. diracx/client/sync.py +13 -0
  38. {diracx_client-0.0.1a33.dist-info → diracx_client-0.0.1a35.dist-info}/METADATA +3 -4
  39. diracx_client-0.0.1a35.dist-info/RECORD +42 -0
  40. {diracx_client-0.0.1a33.dist-info → diracx_client-0.0.1a35.dist-info}/WHEEL +1 -2
  41. diracx/client/extensions.py +0 -90
  42. diracx/client/generated/aio/operations/_patch.py +0 -126
  43. diracx/client/generated/operations/_patch.py +0 -129
  44. diracx/client/patches/__init__.py +0 -19
  45. diracx/client/patches/aio/__init__.py +0 -18
  46. diracx_client-0.0.1a33.dist-info/RECORD +0 -36
  47. diracx_client-0.0.1a33.dist-info/entry_points.txt +0 -3
  48. diracx_client-0.0.1a33.dist-info/top_level.txt +0 -1
  49. /diracx/client/{generated → _generated}/py.typed +0 -0
@@ -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.32.1)
4
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.32.2)
5
5
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
6
6
  # --------------------------------------------------------------------------
7
7
 
@@ -20,7 +20,7 @@ class BodyAuthGetOidcToken(_serialization.Model):
20
20
  All required parameters must be populated in order to send to server.
21
21
 
22
22
  :ivar grant_type: OAuth2 Grant type. Required.
23
- :vartype grant_type: ~generated.models.BodyAuthGetOidcTokenGrantType
23
+ :vartype grant_type: ~_generated.models.BodyAuthGetOidcTokenGrantType
24
24
  :ivar client_id: OAuth2 client id. Required.
25
25
  :vartype client_id: str
26
26
  :ivar device_code: device code for OAuth2 device flow.
@@ -65,7 +65,7 @@ class BodyAuthGetOidcToken(_serialization.Model):
65
65
  ) -> None:
66
66
  """
67
67
  :keyword grant_type: OAuth2 Grant type. Required.
68
- :paramtype grant_type: ~generated.models.BodyAuthGetOidcTokenGrantType
68
+ :paramtype grant_type: ~_generated.models.BodyAuthGetOidcTokenGrantType
69
69
  :keyword client_id: OAuth2 client id. Required.
70
70
  :paramtype client_id: str
71
71
  :keyword device_code: device code for OAuth2 device flow.
@@ -120,11 +120,78 @@ class GroupInfo(_serialization.Model):
120
120
  self.properties = properties
121
121
 
122
122
 
123
+ class HeartbeatData(_serialization.Model):
124
+ """HeartbeatData.
125
+
126
+ :ivar load_average: Loadaverage.
127
+ :vartype load_average: float
128
+ :ivar memory_used: Memoryused.
129
+ :vartype memory_used: float
130
+ :ivar vsize: Vsize.
131
+ :vartype vsize: float
132
+ :ivar available_disk_space: Availablediskspace.
133
+ :vartype available_disk_space: float
134
+ :ivar cpu_consumed: Cpuconsumed.
135
+ :vartype cpu_consumed: float
136
+ :ivar wall_clock_time: Wallclocktime.
137
+ :vartype wall_clock_time: float
138
+ :ivar standard_output: Standardoutput.
139
+ :vartype standard_output: str
140
+ """
141
+
142
+ _attribute_map = {
143
+ "load_average": {"key": "LoadAverage", "type": "float"},
144
+ "memory_used": {"key": "MemoryUsed", "type": "float"},
145
+ "vsize": {"key": "Vsize", "type": "float"},
146
+ "available_disk_space": {"key": "AvailableDiskSpace", "type": "float"},
147
+ "cpu_consumed": {"key": "CPUConsumed", "type": "float"},
148
+ "wall_clock_time": {"key": "WallClockTime", "type": "float"},
149
+ "standard_output": {"key": "StandardOutput", "type": "str"},
150
+ }
151
+
152
+ def __init__(
153
+ self,
154
+ *,
155
+ load_average: Optional[float] = None,
156
+ memory_used: Optional[float] = None,
157
+ vsize: Optional[float] = None,
158
+ available_disk_space: Optional[float] = None,
159
+ cpu_consumed: Optional[float] = None,
160
+ wall_clock_time: Optional[float] = None,
161
+ standard_output: Optional[str] = None,
162
+ **kwargs: Any,
163
+ ) -> None:
164
+ """
165
+ :keyword load_average: Loadaverage.
166
+ :paramtype load_average: float
167
+ :keyword memory_used: Memoryused.
168
+ :paramtype memory_used: float
169
+ :keyword vsize: Vsize.
170
+ :paramtype vsize: float
171
+ :keyword available_disk_space: Availablediskspace.
172
+ :paramtype available_disk_space: float
173
+ :keyword cpu_consumed: Cpuconsumed.
174
+ :paramtype cpu_consumed: float
175
+ :keyword wall_clock_time: Wallclocktime.
176
+ :paramtype wall_clock_time: float
177
+ :keyword standard_output: Standardoutput.
178
+ :paramtype standard_output: str
179
+ """
180
+ super().__init__(**kwargs)
181
+ self.load_average = load_average
182
+ self.memory_used = memory_used
183
+ self.vsize = vsize
184
+ self.available_disk_space = available_disk_space
185
+ self.cpu_consumed = cpu_consumed
186
+ self.wall_clock_time = wall_clock_time
187
+ self.standard_output = standard_output
188
+
189
+
123
190
  class HTTPValidationError(_serialization.Model):
124
191
  """HTTPValidationError.
125
192
 
126
193
  :ivar detail: Detail.
127
- :vartype detail: list[~generated.models.ValidationError]
194
+ :vartype detail: list[~_generated.models.ValidationError]
128
195
  """
129
196
 
130
197
  _attribute_map = {
@@ -136,7 +203,7 @@ class HTTPValidationError(_serialization.Model):
136
203
  ) -> None:
137
204
  """
138
205
  :keyword detail: Detail.
139
- :paramtype detail: list[~generated.models.ValidationError]
206
+ :paramtype detail: list[~_generated.models.ValidationError]
140
207
  """
141
208
  super().__init__(**kwargs)
142
209
  self.detail = detail
@@ -263,15 +330,61 @@ class InsertedJob(_serialization.Model):
263
330
  self.time_stamp = time_stamp
264
331
 
265
332
 
333
+ class JobCommand(_serialization.Model):
334
+ """JobCommand.
335
+
336
+ All required parameters must be populated in order to send to server.
337
+
338
+ :ivar job_id: Job Id. Required.
339
+ :vartype job_id: int
340
+ :ivar command: Command. Required.
341
+ :vartype command: str
342
+ :ivar arguments: Arguments.
343
+ :vartype arguments: str
344
+ """
345
+
346
+ _validation = {
347
+ "job_id": {"required": True},
348
+ "command": {"required": True},
349
+ }
350
+
351
+ _attribute_map = {
352
+ "job_id": {"key": "job_id", "type": "int"},
353
+ "command": {"key": "command", "type": "str"},
354
+ "arguments": {"key": "arguments", "type": "str"},
355
+ }
356
+
357
+ def __init__(
358
+ self,
359
+ *,
360
+ job_id: int,
361
+ command: str,
362
+ arguments: Optional[str] = None,
363
+ **kwargs: Any,
364
+ ) -> None:
365
+ """
366
+ :keyword job_id: Job Id. Required.
367
+ :paramtype job_id: int
368
+ :keyword command: Command. Required.
369
+ :paramtype command: str
370
+ :keyword arguments: Arguments.
371
+ :paramtype arguments: str
372
+ """
373
+ super().__init__(**kwargs)
374
+ self.job_id = job_id
375
+ self.command = command
376
+ self.arguments = arguments
377
+
378
+
266
379
  class JobSearchParams(_serialization.Model):
267
380
  """JobSearchParams.
268
381
 
269
382
  :ivar parameters: Parameters.
270
383
  :vartype parameters: list[str]
271
384
  :ivar search: Search.
272
- :vartype search: list[~generated.models.JobSearchParamsSearchItem]
385
+ :vartype search: list[~_generated.models.JobSearchParamsSearchItem]
273
386
  :ivar sort: Sort.
274
- :vartype sort: list[~generated.models.SortSpec]
387
+ :vartype sort: list[~_generated.models.SortSpec]
275
388
  :ivar distinct: Distinct.
276
389
  :vartype distinct: bool
277
390
  """
@@ -296,9 +409,9 @@ class JobSearchParams(_serialization.Model):
296
409
  :keyword parameters: Parameters.
297
410
  :paramtype parameters: list[str]
298
411
  :keyword search: Search.
299
- :paramtype search: list[~generated.models.JobSearchParamsSearchItem]
412
+ :paramtype search: list[~_generated.models.JobSearchParamsSearchItem]
300
413
  :keyword sort: Sort.
301
- :paramtype sort: list[~generated.models.SortSpec]
414
+ :paramtype sort: list[~_generated.models.SortSpec]
302
415
  :keyword distinct: Distinct.
303
416
  :paramtype distinct: bool
304
417
  """
@@ -319,7 +432,7 @@ class JobStatusUpdate(_serialization.Model):
319
432
  :ivar status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
320
433
  "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
321
434
  "Deleted", "Killed", and "Rescheduled".
322
- :vartype status: str or ~generated.models.JobStatus
435
+ :vartype status: str or ~_generated.models.JobStatus
323
436
  :ivar minor_status: Minorstatus.
324
437
  :vartype minor_status: str
325
438
  :ivar application_status: Applicationstatus.
@@ -348,7 +461,7 @@ class JobStatusUpdate(_serialization.Model):
348
461
  :keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
349
462
  "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
350
463
  "Deleted", "Killed", and "Rescheduled".
351
- :paramtype status: str or ~generated.models.JobStatus
464
+ :paramtype status: str or ~_generated.models.JobStatus
352
465
  :keyword minor_status: Minorstatus.
353
466
  :paramtype minor_status: str
354
467
  :keyword application_status: Applicationstatus.
@@ -371,7 +484,7 @@ class JobSummaryParams(_serialization.Model):
371
484
  :ivar grouping: Grouping. Required.
372
485
  :vartype grouping: list[str]
373
486
  :ivar search: Search.
374
- :vartype search: list[~generated.models.JobSummaryParamsSearchItem]
487
+ :vartype search: list[~_generated.models.JobSummaryParamsSearchItem]
375
488
  """
376
489
 
377
490
  _validation = {
@@ -394,7 +507,7 @@ class JobSummaryParams(_serialization.Model):
394
507
  :keyword grouping: Grouping. Required.
395
508
  :paramtype grouping: list[str]
396
509
  :keyword search: Search.
397
- :paramtype search: list[~generated.models.JobSummaryParamsSearchItem]
510
+ :paramtype search: list[~_generated.models.JobSummaryParamsSearchItem]
398
511
  """
399
512
  super().__init__(**kwargs)
400
513
  self.grouping = grouping
@@ -411,7 +524,7 @@ class Metadata(_serialization.Model):
411
524
  All required parameters must be populated in order to send to server.
412
525
 
413
526
  :ivar virtual_organizations: Virtual Organizations. Required.
414
- :vartype virtual_organizations: dict[str, ~generated.models.VOInfo]
527
+ :vartype virtual_organizations: dict[str, ~_generated.models.VOInfo]
415
528
  """
416
529
 
417
530
  _validation = {
@@ -427,7 +540,7 @@ class Metadata(_serialization.Model):
427
540
  ) -> None:
428
541
  """
429
542
  :keyword virtual_organizations: Virtual Organizations. Required.
430
- :paramtype virtual_organizations: dict[str, ~generated.models.VOInfo]
543
+ :paramtype virtual_organizations: dict[str, ~_generated.models.VOInfo]
431
544
  """
432
545
  super().__init__(**kwargs)
433
546
  self.virtual_organizations = virtual_organizations
@@ -605,13 +718,13 @@ class SandboxInfo(_serialization.Model):
605
718
  All required parameters must be populated in order to send to server.
606
719
 
607
720
  :ivar checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
608
- :vartype checksum_algorithm: str or ~generated.models.ChecksumAlgorithm
721
+ :vartype checksum_algorithm: str or ~_generated.models.ChecksumAlgorithm
609
722
  :ivar checksum: Checksum. Required.
610
723
  :vartype checksum: str
611
724
  :ivar size: Size. Required.
612
725
  :vartype size: int
613
726
  :ivar format: SandboxFormat. Required. "tar.bz2"
614
- :vartype format: str or ~generated.models.SandboxFormat
727
+ :vartype format: str or ~_generated.models.SandboxFormat
615
728
  """
616
729
 
617
730
  _validation = {
@@ -639,13 +752,13 @@ class SandboxInfo(_serialization.Model):
639
752
  ) -> None:
640
753
  """
641
754
  :keyword checksum_algorithm: ChecksumAlgorithm. Required. "sha256"
642
- :paramtype checksum_algorithm: str or ~generated.models.ChecksumAlgorithm
755
+ :paramtype checksum_algorithm: str or ~_generated.models.ChecksumAlgorithm
643
756
  :keyword checksum: Checksum. Required.
644
757
  :paramtype checksum: str
645
758
  :keyword size: Size. Required.
646
759
  :paramtype size: int
647
760
  :keyword format: SandboxFormat. Required. "tar.bz2"
648
- :paramtype format: str or ~generated.models.SandboxFormat
761
+ :paramtype format: str or ~_generated.models.SandboxFormat
649
762
  """
650
763
  super().__init__(**kwargs)
651
764
  self.checksum_algorithm = checksum_algorithm
@@ -708,9 +821,9 @@ class ScalarSearchSpec(_serialization.Model):
708
821
  :vartype parameter: str
709
822
  :ivar operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt", and
710
823
  "like".
711
- :vartype operator: str or ~generated.models.ScalarSearchOperator
824
+ :vartype operator: str or ~_generated.models.ScalarSearchOperator
712
825
  :ivar value: Value. Required.
713
- :vartype value: ~generated.models.ScalarSearchSpecValue
826
+ :vartype value: ~_generated.models.ScalarSearchSpecValue
714
827
  """
715
828
 
716
829
  _validation = {
@@ -738,9 +851,9 @@ class ScalarSearchSpec(_serialization.Model):
738
851
  :paramtype parameter: str
739
852
  :keyword operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
740
853
  and "like".
741
- :paramtype operator: str or ~generated.models.ScalarSearchOperator
854
+ :paramtype operator: str or ~_generated.models.ScalarSearchOperator
742
855
  :keyword value: Value. Required.
743
- :paramtype value: ~generated.models.ScalarSearchSpecValue
856
+ :paramtype value: ~_generated.models.ScalarSearchSpecValue
744
857
  """
745
858
  super().__init__(**kwargs)
746
859
  self.parameter = parameter
@@ -758,7 +871,7 @@ class SetJobStatusReturn(_serialization.Model):
758
871
  All required parameters must be populated in order to send to server.
759
872
 
760
873
  :ivar success: Success. Required.
761
- :vartype success: dict[str, ~generated.models.SetJobStatusReturnSuccess]
874
+ :vartype success: dict[str, ~_generated.models.SetJobStatusReturnSuccess]
762
875
  :ivar failed: Failed. Required.
763
876
  :vartype failed: dict[str, dict[str, str]]
764
877
  """
@@ -782,7 +895,7 @@ class SetJobStatusReturn(_serialization.Model):
782
895
  ) -> None:
783
896
  """
784
897
  :keyword success: Success. Required.
785
- :paramtype success: dict[str, ~generated.models.SetJobStatusReturnSuccess]
898
+ :paramtype success: dict[str, ~_generated.models.SetJobStatusReturnSuccess]
786
899
  :keyword failed: Failed. Required.
787
900
  :paramtype failed: dict[str, dict[str, str]]
788
901
  """
@@ -797,7 +910,7 @@ class SetJobStatusReturnSuccess(_serialization.Model):
797
910
  :ivar status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
798
911
  "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
799
912
  "Deleted", "Killed", and "Rescheduled".
800
- :vartype status: str or ~generated.models.JobStatus
913
+ :vartype status: str or ~_generated.models.JobStatus
801
914
  :ivar minor_status: Minorstatus.
802
915
  :vartype minor_status: str
803
916
  :ivar application_status: Applicationstatus.
@@ -838,7 +951,7 @@ class SetJobStatusReturnSuccess(_serialization.Model):
838
951
  :keyword status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
839
952
  "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
840
953
  "Deleted", "Killed", and "Rescheduled".
841
- :paramtype status: str or ~generated.models.JobStatus
954
+ :paramtype status: str or ~_generated.models.JobStatus
842
955
  :keyword minor_status: Minorstatus.
843
956
  :paramtype minor_status: str
844
957
  :keyword application_status: Applicationstatus.
@@ -870,7 +983,7 @@ class SortSpec(_serialization.Model):
870
983
  :ivar parameter: Parameter. Required.
871
984
  :vartype parameter: str
872
985
  :ivar direction: SortDirection. Required. Known values are: "asc" and "desc".
873
- :vartype direction: str or ~generated.models.SortDirection
986
+ :vartype direction: str or ~_generated.models.SortDirection
874
987
  """
875
988
 
876
989
  _validation = {
@@ -894,7 +1007,7 @@ class SortSpec(_serialization.Model):
894
1007
  :keyword parameter: Parameter. Required.
895
1008
  :paramtype parameter: str
896
1009
  :keyword direction: SortDirection. Required. Known values are: "asc" and "desc".
897
- :paramtype direction: str or ~generated.models.SortDirection
1010
+ :paramtype direction: str or ~_generated.models.SortDirection
898
1011
  """
899
1012
  super().__init__(**kwargs)
900
1013
  self.parameter = parameter
@@ -1073,7 +1186,7 @@ class ValidationError(_serialization.Model):
1073
1186
  All required parameters must be populated in order to send to server.
1074
1187
 
1075
1188
  :ivar loc: Location. Required.
1076
- :vartype loc: list[~generated.models.ValidationErrorLocItem]
1189
+ :vartype loc: list[~_generated.models.ValidationErrorLocItem]
1077
1190
  :ivar msg: Message. Required.
1078
1191
  :vartype msg: str
1079
1192
  :ivar type: Error Type. Required.
@@ -1102,7 +1215,7 @@ class ValidationError(_serialization.Model):
1102
1215
  ) -> None:
1103
1216
  """
1104
1217
  :keyword loc: Location. Required.
1105
- :paramtype loc: list[~generated.models.ValidationErrorLocItem]
1218
+ :paramtype loc: list[~_generated.models.ValidationErrorLocItem]
1106
1219
  :keyword msg: Message. Required.
1107
1220
  :paramtype msg: str
1108
1221
  :keyword type: Error Type. Required.
@@ -1126,9 +1239,9 @@ class VectorSearchSpec(_serialization.Model):
1126
1239
  :ivar parameter: Parameter. Required.
1127
1240
  :vartype parameter: str
1128
1241
  :ivar operator: VectorSearchOperator. Required. Known values are: "in" and "not in".
1129
- :vartype operator: str or ~generated.models.VectorSearchOperator
1242
+ :vartype operator: str or ~_generated.models.VectorSearchOperator
1130
1243
  :ivar values: Values. Required.
1131
- :vartype values: ~generated.models.VectorSearchSpecValues
1244
+ :vartype values: ~_generated.models.VectorSearchSpecValues
1132
1245
  """
1133
1246
 
1134
1247
  _validation = {
@@ -1155,9 +1268,9 @@ class VectorSearchSpec(_serialization.Model):
1155
1268
  :keyword parameter: Parameter. Required.
1156
1269
  :paramtype parameter: str
1157
1270
  :keyword operator: VectorSearchOperator. Required. Known values are: "in" and "not in".
1158
- :paramtype operator: str or ~generated.models.VectorSearchOperator
1271
+ :paramtype operator: str or ~_generated.models.VectorSearchOperator
1159
1272
  :keyword values: Values. Required.
1160
- :paramtype values: ~generated.models.VectorSearchSpecValues
1273
+ :paramtype values: ~_generated.models.VectorSearchSpecValues
1161
1274
  """
1162
1275
  super().__init__(**kwargs)
1163
1276
  self.parameter = parameter
@@ -1175,9 +1288,9 @@ class VOInfo(_serialization.Model):
1175
1288
  All required parameters must be populated in order to send to server.
1176
1289
 
1177
1290
  :ivar groups: Groups. Required.
1178
- :vartype groups: dict[str, ~generated.models.GroupInfo]
1291
+ :vartype groups: dict[str, ~_generated.models.GroupInfo]
1179
1292
  :ivar support: SupportInfo. Required.
1180
- :vartype support: ~generated.models.SupportInfo
1293
+ :vartype support: ~_generated.models.SupportInfo
1181
1294
  :ivar default_group: Default Group. Required.
1182
1295
  :vartype default_group: str
1183
1296
  """
@@ -1204,9 +1317,9 @@ class VOInfo(_serialization.Model):
1204
1317
  ) -> None:
1205
1318
  """
1206
1319
  :keyword groups: Groups. Required.
1207
- :paramtype groups: dict[str, ~generated.models.GroupInfo]
1320
+ :paramtype groups: dict[str, ~_generated.models.GroupInfo]
1208
1321
  :keyword support: SupportInfo. Required.
1209
- :paramtype support: ~generated.models.SupportInfo
1322
+ :paramtype support: ~_generated.models.SupportInfo
1210
1323
  :keyword default_group: Default Group. Required.
1211
1324
  :paramtype default_group: str
1212
1325
  """
@@ -6,22 +6,16 @@
6
6
 
7
7
  Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
8
8
  """
9
- from typing import Any, List
10
-
11
- # Add all objects you want publicly available to users at this package level
12
- __all__: List[str] = ["DeviceFlowErrorResponse"]
9
+ from __future__ import annotations
13
10
 
14
11
  from .. import _serialization
15
- from . import _models
16
-
17
12
 
18
- def patch_sdk():
19
- """Do not remove from this file.
13
+ # Add all objects you want publicly available to users at this package level
14
+ __all__ = [
15
+ "DeviceFlowErrorResponse",
16
+ ]
20
17
 
21
- `patch_sdk` is a last resort escape hatch that allows you to do customizations
22
- you can't accomplish using the techniques described in
23
- https://aka.ms/azsdk/python/dpcodegen/python/customize
24
- """
18
+ from typing import Any
25
19
 
26
20
 
27
21
  class DeviceFlowErrorResponse(_serialization.Model):
@@ -52,3 +46,12 @@ class DeviceFlowErrorResponse(_serialization.Model):
52
46
  """
53
47
  super().__init__(**kwargs)
54
48
  self.error = error
49
+
50
+
51
+ def patch_sdk():
52
+ """Do not remove from this file.
53
+
54
+ `patch_sdk` is a last resort escape hatch that allows you to do customizations
55
+ you can't accomplish using the techniques described in
56
+ https://aka.ms/azsdk/python/dpcodegen/python/customize
57
+ """
@@ -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.32.1)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.32.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