diracx-client 0.0.1a19__py3-none-any.whl → 0.0.1a20__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/generated/__init__.py +3 -3
- diracx/client/generated/_client.py +1 -1
- diracx/client/generated/_configuration.py +1 -1
- diracx/client/generated/_serialization.py +3 -4
- diracx/client/generated/_vendor.py +1 -1
- diracx/client/generated/aio/__init__.py +3 -3
- diracx/client/generated/aio/_client.py +1 -1
- diracx/client/generated/aio/_configuration.py +1 -1
- diracx/client/generated/aio/_vendor.py +1 -1
- diracx/client/generated/aio/operations/__init__.py +2 -2
- diracx/client/generated/aio/operations/_operations.py +232 -319
- diracx/client/generated/models/__init__.py +2 -2
- diracx/client/generated/models/_enums.py +1 -1
- diracx/client/generated/models/_models.py +3 -4
- diracx/client/generated/operations/__init__.py +2 -2
- diracx/client/generated/operations/_operations.py +232 -319
- diracx/client/patches/aio/utils.py +15 -0
- diracx/client/patches/utils.py +17 -1
- {diracx_client-0.0.1a19.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.1a19.dist-info → diracx_client-0.0.1a20.dist-info}/WHEEL +1 -1
- diracx_client-0.0.1a19.dist-info/RECORD +0 -36
- {diracx_client-0.0.1a19.dist-info → diracx_client-0.0.1a20.dist-info}/entry_points.txt +0 -0
- {diracx_client-0.0.1a19.dist-info → diracx_client-0.0.1a20.dist-info}/top_level.txt +0 -0
@@ -1,23 +1,12 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
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
|
+
# 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
|
from io import IOBase
|
8
8
|
import sys
|
9
|
-
from typing import
|
10
|
-
Any,
|
11
|
-
Callable,
|
12
|
-
Dict,
|
13
|
-
IO,
|
14
|
-
List,
|
15
|
-
Optional,
|
16
|
-
Type,
|
17
|
-
TypeVar,
|
18
|
-
Union,
|
19
|
-
overload,
|
20
|
-
)
|
9
|
+
from typing import Any, Callable, Dict, IO, List, Optional, TypeVar, Union, overload
|
21
10
|
|
22
11
|
from azure.core import MatchConditions
|
23
12
|
from azure.core.exceptions import (
|
@@ -80,7 +69,7 @@ from .._vendor import raise_if_not_implemented
|
|
80
69
|
if sys.version_info >= (3, 9):
|
81
70
|
from collections.abc import MutableMapping
|
82
71
|
else:
|
83
|
-
from typing import MutableMapping # type: ignore
|
72
|
+
from typing import MutableMapping # type: ignore
|
84
73
|
T = TypeVar("T")
|
85
74
|
ClsType = Optional[
|
86
75
|
Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]
|
@@ -119,14 +108,12 @@ class WellKnownOperations:
|
|
119
108
|
:rtype: any
|
120
109
|
:raises ~azure.core.exceptions.HttpResponseError:
|
121
110
|
"""
|
122
|
-
error_map: MutableMapping
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
}
|
129
|
-
)
|
111
|
+
error_map: MutableMapping = {
|
112
|
+
401: ClientAuthenticationError,
|
113
|
+
404: ResourceNotFoundError,
|
114
|
+
409: ResourceExistsError,
|
115
|
+
304: ResourceNotModifiedError,
|
116
|
+
}
|
130
117
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
131
118
|
|
132
119
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -172,14 +159,12 @@ class WellKnownOperations:
|
|
172
159
|
:rtype: ~generated.models.Metadata
|
173
160
|
:raises ~azure.core.exceptions.HttpResponseError:
|
174
161
|
"""
|
175
|
-
error_map: MutableMapping
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
}
|
182
|
-
)
|
162
|
+
error_map: MutableMapping = {
|
163
|
+
401: ClientAuthenticationError,
|
164
|
+
404: ResourceNotFoundError,
|
165
|
+
409: ResourceExistsError,
|
166
|
+
304: ResourceNotModifiedError,
|
167
|
+
}
|
183
168
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
184
169
|
|
185
170
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -266,14 +251,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
266
251
|
:rtype: ~generated.models.InitiateDeviceFlowResponse
|
267
252
|
:raises ~azure.core.exceptions.HttpResponseError:
|
268
253
|
"""
|
269
|
-
error_map: MutableMapping
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
}
|
276
|
-
)
|
254
|
+
error_map: MutableMapping = {
|
255
|
+
401: ClientAuthenticationError,
|
256
|
+
404: ResourceNotFoundError,
|
257
|
+
409: ResourceExistsError,
|
258
|
+
304: ResourceNotModifiedError,
|
259
|
+
}
|
277
260
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
278
261
|
|
279
262
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -332,14 +315,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
332
315
|
:rtype: any
|
333
316
|
:raises ~azure.core.exceptions.HttpResponseError:
|
334
317
|
"""
|
335
|
-
error_map: MutableMapping
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
}
|
342
|
-
)
|
318
|
+
error_map: MutableMapping = {
|
319
|
+
401: ClientAuthenticationError,
|
320
|
+
404: ResourceNotFoundError,
|
321
|
+
409: ResourceExistsError,
|
322
|
+
304: ResourceNotModifiedError,
|
323
|
+
}
|
343
324
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
344
325
|
|
345
326
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -394,14 +375,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
394
375
|
:rtype: any
|
395
376
|
:raises ~azure.core.exceptions.HttpResponseError:
|
396
377
|
"""
|
397
|
-
error_map: MutableMapping
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
}
|
404
|
-
)
|
378
|
+
error_map: MutableMapping = {
|
379
|
+
401: ClientAuthenticationError,
|
380
|
+
404: ResourceNotFoundError,
|
381
|
+
409: ResourceExistsError,
|
382
|
+
304: ResourceNotModifiedError,
|
383
|
+
}
|
405
384
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
406
385
|
|
407
386
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -449,14 +428,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
449
428
|
:rtype: any
|
450
429
|
:raises ~azure.core.exceptions.HttpResponseError:
|
451
430
|
"""
|
452
|
-
error_map: MutableMapping
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
}
|
459
|
-
)
|
431
|
+
error_map: MutableMapping = {
|
432
|
+
401: ClientAuthenticationError,
|
433
|
+
404: ResourceNotFoundError,
|
434
|
+
409: ResourceExistsError,
|
435
|
+
304: ResourceNotModifiedError,
|
436
|
+
}
|
460
437
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
461
438
|
|
462
439
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -503,14 +480,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
503
480
|
:rtype: list[any]
|
504
481
|
:raises ~azure.core.exceptions.HttpResponseError:
|
505
482
|
"""
|
506
|
-
error_map: MutableMapping
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
}
|
513
|
-
)
|
483
|
+
error_map: MutableMapping = {
|
484
|
+
401: ClientAuthenticationError,
|
485
|
+
404: ResourceNotFoundError,
|
486
|
+
409: ResourceExistsError,
|
487
|
+
304: ResourceNotModifiedError,
|
488
|
+
}
|
514
489
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
515
490
|
|
516
491
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -559,14 +534,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
559
534
|
:rtype: str
|
560
535
|
:raises ~azure.core.exceptions.HttpResponseError:
|
561
536
|
"""
|
562
|
-
error_map: MutableMapping
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
}
|
569
|
-
)
|
537
|
+
error_map: MutableMapping = {
|
538
|
+
401: ClientAuthenticationError,
|
539
|
+
404: ResourceNotFoundError,
|
540
|
+
409: ResourceExistsError,
|
541
|
+
304: ResourceNotModifiedError,
|
542
|
+
}
|
570
543
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
571
544
|
|
572
545
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -613,14 +586,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
613
586
|
:rtype: ~generated.models.UserInfoResponse
|
614
587
|
:raises ~azure.core.exceptions.HttpResponseError:
|
615
588
|
"""
|
616
|
-
error_map: MutableMapping
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
}
|
623
|
-
)
|
589
|
+
error_map: MutableMapping = {
|
590
|
+
401: ClientAuthenticationError,
|
591
|
+
404: ResourceNotFoundError,
|
592
|
+
409: ResourceExistsError,
|
593
|
+
304: ResourceNotModifiedError,
|
594
|
+
}
|
624
595
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
625
596
|
|
626
597
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -699,14 +670,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
699
670
|
:rtype: any
|
700
671
|
:raises ~azure.core.exceptions.HttpResponseError:
|
701
672
|
"""
|
702
|
-
error_map: MutableMapping
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
}
|
709
|
-
)
|
673
|
+
error_map: MutableMapping = {
|
674
|
+
401: ClientAuthenticationError,
|
675
|
+
404: ResourceNotFoundError,
|
676
|
+
409: ResourceExistsError,
|
677
|
+
304: ResourceNotModifiedError,
|
678
|
+
}
|
710
679
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
711
680
|
|
712
681
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -771,14 +740,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
771
740
|
:rtype: any
|
772
741
|
:raises ~azure.core.exceptions.HttpResponseError:
|
773
742
|
"""
|
774
|
-
error_map: MutableMapping
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
}
|
781
|
-
)
|
743
|
+
error_map: MutableMapping = {
|
744
|
+
401: ClientAuthenticationError,
|
745
|
+
404: ResourceNotFoundError,
|
746
|
+
409: ResourceExistsError,
|
747
|
+
304: ResourceNotModifiedError,
|
748
|
+
}
|
782
749
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
783
750
|
|
784
751
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -867,14 +834,12 @@ class ConfigOperations:
|
|
867
834
|
:rtype: any
|
868
835
|
:raises ~azure.core.exceptions.HttpResponseError:
|
869
836
|
"""
|
870
|
-
error_map: MutableMapping
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
}
|
877
|
-
)
|
837
|
+
error_map: MutableMapping = {
|
838
|
+
401: ClientAuthenticationError,
|
839
|
+
404: ResourceNotFoundError,
|
840
|
+
409: ResourceExistsError,
|
841
|
+
304: ResourceNotModifiedError,
|
842
|
+
}
|
878
843
|
if match_condition == MatchConditions.IfNotModified:
|
879
844
|
error_map[412] = ResourceModifiedError
|
880
845
|
elif match_condition == MatchConditions.IfPresent:
|
@@ -1013,14 +978,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1013
978
|
:rtype: ~generated.models.SandboxUploadResponse
|
1014
979
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1015
980
|
"""
|
1016
|
-
error_map: MutableMapping
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
}
|
1023
|
-
)
|
981
|
+
error_map: MutableMapping = {
|
982
|
+
401: ClientAuthenticationError,
|
983
|
+
404: ResourceNotFoundError,
|
984
|
+
409: ResourceExistsError,
|
985
|
+
304: ResourceNotModifiedError,
|
986
|
+
}
|
1024
987
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1025
988
|
|
1026
989
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -1092,14 +1055,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1092
1055
|
:rtype: ~generated.models.SandboxDownloadResponse
|
1093
1056
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1094
1057
|
"""
|
1095
|
-
error_map: MutableMapping
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
}
|
1102
|
-
)
|
1058
|
+
error_map: MutableMapping = {
|
1059
|
+
401: ClientAuthenticationError,
|
1060
|
+
404: ResourceNotFoundError,
|
1061
|
+
409: ResourceExistsError,
|
1062
|
+
304: ResourceNotModifiedError,
|
1063
|
+
}
|
1103
1064
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1104
1065
|
|
1105
1066
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1152,14 +1113,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1152
1113
|
:rtype: any
|
1153
1114
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1154
1115
|
"""
|
1155
|
-
error_map: MutableMapping
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
}
|
1162
|
-
)
|
1116
|
+
error_map: MutableMapping = {
|
1117
|
+
401: ClientAuthenticationError,
|
1118
|
+
404: ResourceNotFoundError,
|
1119
|
+
409: ResourceExistsError,
|
1120
|
+
304: ResourceNotModifiedError,
|
1121
|
+
}
|
1163
1122
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1164
1123
|
|
1165
1124
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1210,14 +1169,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1210
1169
|
:rtype: dict[str, list[any]]
|
1211
1170
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1212
1171
|
"""
|
1213
|
-
error_map: MutableMapping
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
}
|
1220
|
-
)
|
1172
|
+
error_map: MutableMapping = {
|
1173
|
+
401: ClientAuthenticationError,
|
1174
|
+
404: ResourceNotFoundError,
|
1175
|
+
409: ResourceExistsError,
|
1176
|
+
304: ResourceNotModifiedError,
|
1177
|
+
}
|
1221
1178
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1222
1179
|
|
1223
1180
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1266,14 +1223,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1266
1223
|
:rtype: any
|
1267
1224
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1268
1225
|
"""
|
1269
|
-
error_map: MutableMapping
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
}
|
1276
|
-
)
|
1226
|
+
error_map: MutableMapping = {
|
1227
|
+
401: ClientAuthenticationError,
|
1228
|
+
404: ResourceNotFoundError,
|
1229
|
+
409: ResourceExistsError,
|
1230
|
+
304: ResourceNotModifiedError,
|
1231
|
+
}
|
1277
1232
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1278
1233
|
|
1279
1234
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1326,14 +1281,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1326
1281
|
:rtype: list[any]
|
1327
1282
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1328
1283
|
"""
|
1329
|
-
error_map: MutableMapping
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
}
|
1336
|
-
)
|
1284
|
+
error_map: MutableMapping = {
|
1285
|
+
401: ClientAuthenticationError,
|
1286
|
+
404: ResourceNotFoundError,
|
1287
|
+
409: ResourceExistsError,
|
1288
|
+
304: ResourceNotModifiedError,
|
1289
|
+
}
|
1337
1290
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1338
1291
|
|
1339
1292
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1385,14 +1338,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1385
1338
|
:rtype: any
|
1386
1339
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1387
1340
|
"""
|
1388
|
-
error_map: MutableMapping
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
}
|
1395
|
-
)
|
1341
|
+
error_map: MutableMapping = {
|
1342
|
+
401: ClientAuthenticationError,
|
1343
|
+
404: ResourceNotFoundError,
|
1344
|
+
409: ResourceExistsError,
|
1345
|
+
304: ResourceNotModifiedError,
|
1346
|
+
}
|
1396
1347
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1397
1348
|
|
1398
1349
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -1486,14 +1437,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1486
1437
|
:rtype: list[~generated.models.InsertedJob]
|
1487
1438
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1488
1439
|
"""
|
1489
|
-
error_map: MutableMapping
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
}
|
1496
|
-
)
|
1440
|
+
error_map: MutableMapping = {
|
1441
|
+
401: ClientAuthenticationError,
|
1442
|
+
404: ResourceNotFoundError,
|
1443
|
+
409: ResourceExistsError,
|
1444
|
+
304: ResourceNotModifiedError,
|
1445
|
+
}
|
1497
1446
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1498
1447
|
|
1499
1448
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -1557,14 +1506,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1557
1506
|
:rtype: any
|
1558
1507
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1559
1508
|
"""
|
1560
|
-
error_map: MutableMapping
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
}
|
1567
|
-
)
|
1509
|
+
error_map: MutableMapping = {
|
1510
|
+
401: ClientAuthenticationError,
|
1511
|
+
404: ResourceNotFoundError,
|
1512
|
+
409: ResourceExistsError,
|
1513
|
+
304: ResourceNotModifiedError,
|
1514
|
+
}
|
1568
1515
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1569
1516
|
|
1570
1517
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1613,14 +1560,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1613
1560
|
:rtype: any
|
1614
1561
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1615
1562
|
"""
|
1616
|
-
error_map: MutableMapping
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
}
|
1623
|
-
)
|
1563
|
+
error_map: MutableMapping = {
|
1564
|
+
401: ClientAuthenticationError,
|
1565
|
+
404: ResourceNotFoundError,
|
1566
|
+
409: ResourceExistsError,
|
1567
|
+
304: ResourceNotModifiedError,
|
1568
|
+
}
|
1624
1569
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1625
1570
|
|
1626
1571
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1673,14 +1618,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1673
1618
|
:rtype: any
|
1674
1619
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1675
1620
|
"""
|
1676
|
-
error_map: MutableMapping
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
}
|
1683
|
-
)
|
1621
|
+
error_map: MutableMapping = {
|
1622
|
+
401: ClientAuthenticationError,
|
1623
|
+
404: ResourceNotFoundError,
|
1624
|
+
409: ResourceExistsError,
|
1625
|
+
304: ResourceNotModifiedError,
|
1626
|
+
}
|
1684
1627
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1685
1628
|
|
1686
1629
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1731,14 +1674,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1731
1674
|
:rtype: dict[str, ~generated.models.LimitedJobStatusReturn]
|
1732
1675
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1733
1676
|
"""
|
1734
|
-
error_map: MutableMapping
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
}
|
1741
|
-
)
|
1677
|
+
error_map: MutableMapping = {
|
1678
|
+
401: ClientAuthenticationError,
|
1679
|
+
404: ResourceNotFoundError,
|
1680
|
+
409: ResourceExistsError,
|
1681
|
+
304: ResourceNotModifiedError,
|
1682
|
+
}
|
1742
1683
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1743
1684
|
|
1744
1685
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1849,14 +1790,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1849
1790
|
:rtype: dict[str, ~generated.models.SetJobStatusReturn]
|
1850
1791
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1851
1792
|
"""
|
1852
|
-
error_map: MutableMapping
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
}
|
1859
|
-
)
|
1793
|
+
error_map: MutableMapping = {
|
1794
|
+
401: ClientAuthenticationError,
|
1795
|
+
404: ResourceNotFoundError,
|
1796
|
+
409: ResourceExistsError,
|
1797
|
+
304: ResourceNotModifiedError,
|
1798
|
+
}
|
1860
1799
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1861
1800
|
|
1862
1801
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -1923,14 +1862,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1923
1862
|
:rtype: dict[str, list[~generated.models.JobStatusReturn]]
|
1924
1863
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1925
1864
|
"""
|
1926
|
-
error_map: MutableMapping
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
}
|
1933
|
-
)
|
1865
|
+
error_map: MutableMapping = {
|
1866
|
+
401: ClientAuthenticationError,
|
1867
|
+
404: ResourceNotFoundError,
|
1868
|
+
409: ResourceExistsError,
|
1869
|
+
304: ResourceNotModifiedError,
|
1870
|
+
}
|
1934
1871
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1935
1872
|
|
1936
1873
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1981,14 +1918,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1981
1918
|
:rtype: any
|
1982
1919
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1983
1920
|
"""
|
1984
|
-
error_map: MutableMapping
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1990
|
-
}
|
1991
|
-
)
|
1921
|
+
error_map: MutableMapping = {
|
1922
|
+
401: ClientAuthenticationError,
|
1923
|
+
404: ResourceNotFoundError,
|
1924
|
+
409: ResourceExistsError,
|
1925
|
+
304: ResourceNotModifiedError,
|
1926
|
+
}
|
1992
1927
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1993
1928
|
|
1994
1929
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2037,14 +1972,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2037
1972
|
:rtype: any
|
2038
1973
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2039
1974
|
"""
|
2040
|
-
error_map: MutableMapping
|
2041
|
-
|
2042
|
-
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
}
|
2047
|
-
)
|
1975
|
+
error_map: MutableMapping = {
|
1976
|
+
401: ClientAuthenticationError,
|
1977
|
+
404: ResourceNotFoundError,
|
1978
|
+
409: ResourceExistsError,
|
1979
|
+
304: ResourceNotModifiedError,
|
1980
|
+
}
|
2048
1981
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2049
1982
|
|
2050
1983
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2166,14 +2099,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2166
2099
|
:rtype: list[JSON]
|
2167
2100
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2168
2101
|
"""
|
2169
|
-
error_map: MutableMapping
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
}
|
2176
|
-
)
|
2102
|
+
error_map: MutableMapping = {
|
2103
|
+
401: ClientAuthenticationError,
|
2104
|
+
404: ResourceNotFoundError,
|
2105
|
+
409: ResourceExistsError,
|
2106
|
+
304: ResourceNotModifiedError,
|
2107
|
+
}
|
2177
2108
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2178
2109
|
|
2179
2110
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2288,14 +2219,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2288
2219
|
:rtype: any
|
2289
2220
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2290
2221
|
"""
|
2291
|
-
error_map: MutableMapping
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
}
|
2298
|
-
)
|
2222
|
+
error_map: MutableMapping = {
|
2223
|
+
401: ClientAuthenticationError,
|
2224
|
+
404: ResourceNotFoundError,
|
2225
|
+
409: ResourceExistsError,
|
2226
|
+
304: ResourceNotModifiedError,
|
2227
|
+
}
|
2299
2228
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2300
2229
|
|
2301
2230
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2357,14 +2286,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2357
2286
|
:rtype: any
|
2358
2287
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2359
2288
|
"""
|
2360
|
-
error_map: MutableMapping
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2364
|
-
|
2365
|
-
|
2366
|
-
}
|
2367
|
-
)
|
2289
|
+
error_map: MutableMapping = {
|
2290
|
+
401: ClientAuthenticationError,
|
2291
|
+
404: ResourceNotFoundError,
|
2292
|
+
409: ResourceExistsError,
|
2293
|
+
304: ResourceNotModifiedError,
|
2294
|
+
}
|
2368
2295
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2369
2296
|
|
2370
2297
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2413,14 +2340,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2413
2340
|
:rtype: any
|
2414
2341
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2415
2342
|
"""
|
2416
|
-
error_map: MutableMapping
|
2417
|
-
|
2418
|
-
|
2419
|
-
|
2420
|
-
|
2421
|
-
|
2422
|
-
}
|
2423
|
-
)
|
2343
|
+
error_map: MutableMapping = {
|
2344
|
+
401: ClientAuthenticationError,
|
2345
|
+
404: ResourceNotFoundError,
|
2346
|
+
409: ResourceExistsError,
|
2347
|
+
304: ResourceNotModifiedError,
|
2348
|
+
}
|
2424
2349
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2425
2350
|
|
2426
2351
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2475,14 +2400,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2475
2400
|
:rtype: any
|
2476
2401
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2477
2402
|
"""
|
2478
|
-
error_map: MutableMapping
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
}
|
2485
|
-
)
|
2403
|
+
error_map: MutableMapping = {
|
2404
|
+
401: ClientAuthenticationError,
|
2405
|
+
404: ResourceNotFoundError,
|
2406
|
+
409: ResourceExistsError,
|
2407
|
+
304: ResourceNotModifiedError,
|
2408
|
+
}
|
2486
2409
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2487
2410
|
|
2488
2411
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2539,14 +2462,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2539
2462
|
:rtype: any
|
2540
2463
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2541
2464
|
"""
|
2542
|
-
error_map: MutableMapping
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
}
|
2549
|
-
)
|
2465
|
+
error_map: MutableMapping = {
|
2466
|
+
401: ClientAuthenticationError,
|
2467
|
+
404: ResourceNotFoundError,
|
2468
|
+
409: ResourceExistsError,
|
2469
|
+
304: ResourceNotModifiedError,
|
2470
|
+
}
|
2550
2471
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2551
2472
|
|
2552
2473
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2599,14 +2520,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2599
2520
|
:rtype: any
|
2600
2521
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2601
2522
|
"""
|
2602
|
-
error_map: MutableMapping
|
2603
|
-
|
2604
|
-
|
2605
|
-
|
2606
|
-
|
2607
|
-
|
2608
|
-
}
|
2609
|
-
)
|
2523
|
+
error_map: MutableMapping = {
|
2524
|
+
401: ClientAuthenticationError,
|
2525
|
+
404: ResourceNotFoundError,
|
2526
|
+
409: ResourceExistsError,
|
2527
|
+
304: ResourceNotModifiedError,
|
2528
|
+
}
|
2610
2529
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2611
2530
|
|
2612
2531
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2657,14 +2576,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2657
2576
|
:rtype: dict[str, ~generated.models.LimitedJobStatusReturn]
|
2658
2577
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2659
2578
|
"""
|
2660
|
-
error_map: MutableMapping
|
2661
|
-
|
2662
|
-
|
2663
|
-
|
2664
|
-
|
2665
|
-
|
2666
|
-
}
|
2667
|
-
)
|
2579
|
+
error_map: MutableMapping = {
|
2580
|
+
401: ClientAuthenticationError,
|
2581
|
+
404: ResourceNotFoundError,
|
2582
|
+
409: ResourceExistsError,
|
2583
|
+
304: ResourceNotModifiedError,
|
2584
|
+
}
|
2668
2585
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2669
2586
|
|
2670
2587
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2784,14 +2701,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2784
2701
|
:rtype: dict[str, ~generated.models.SetJobStatusReturn]
|
2785
2702
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2786
2703
|
"""
|
2787
|
-
error_map: MutableMapping
|
2788
|
-
|
2789
|
-
|
2790
|
-
|
2791
|
-
|
2792
|
-
|
2793
|
-
}
|
2794
|
-
)
|
2704
|
+
error_map: MutableMapping = {
|
2705
|
+
401: ClientAuthenticationError,
|
2706
|
+
404: ResourceNotFoundError,
|
2707
|
+
409: ResourceExistsError,
|
2708
|
+
304: ResourceNotModifiedError,
|
2709
|
+
}
|
2795
2710
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2796
2711
|
|
2797
2712
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2859,14 +2774,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2859
2774
|
:rtype: dict[str, list[~generated.models.JobStatusReturn]]
|
2860
2775
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2861
2776
|
"""
|
2862
|
-
error_map: MutableMapping
|
2863
|
-
|
2864
|
-
|
2865
|
-
|
2866
|
-
|
2867
|
-
|
2868
|
-
}
|
2869
|
-
)
|
2777
|
+
error_map: MutableMapping = {
|
2778
|
+
401: ClientAuthenticationError,
|
2779
|
+
404: ResourceNotFoundError,
|
2780
|
+
409: ResourceExistsError,
|
2781
|
+
304: ResourceNotModifiedError,
|
2782
|
+
}
|
2870
2783
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2871
2784
|
|
2872
2785
|
_headers = kwargs.pop("headers", {}) or {}
|