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 (
|
@@ -41,7 +30,7 @@ from .._vendor import prep_if_match, prep_if_none_match, raise_if_not_implemente
|
|
41
30
|
if sys.version_info >= (3, 9):
|
42
31
|
from collections.abc import MutableMapping
|
43
32
|
else:
|
44
|
-
from typing import MutableMapping # type: ignore
|
33
|
+
from typing import MutableMapping # type: ignore
|
45
34
|
T = TypeVar("T")
|
46
35
|
ClsType = Optional[
|
47
36
|
Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]
|
@@ -943,14 +932,12 @@ class WellKnownOperations:
|
|
943
932
|
:rtype: any
|
944
933
|
:raises ~azure.core.exceptions.HttpResponseError:
|
945
934
|
"""
|
946
|
-
error_map: MutableMapping
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
}
|
953
|
-
)
|
935
|
+
error_map: MutableMapping = {
|
936
|
+
401: ClientAuthenticationError,
|
937
|
+
404: ResourceNotFoundError,
|
938
|
+
409: ResourceExistsError,
|
939
|
+
304: ResourceNotModifiedError,
|
940
|
+
}
|
954
941
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
955
942
|
|
956
943
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -996,14 +983,12 @@ class WellKnownOperations:
|
|
996
983
|
:rtype: ~generated.models.Metadata
|
997
984
|
:raises ~azure.core.exceptions.HttpResponseError:
|
998
985
|
"""
|
999
|
-
error_map: MutableMapping
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
}
|
1006
|
-
)
|
986
|
+
error_map: MutableMapping = {
|
987
|
+
401: ClientAuthenticationError,
|
988
|
+
404: ResourceNotFoundError,
|
989
|
+
409: ResourceExistsError,
|
990
|
+
304: ResourceNotModifiedError,
|
991
|
+
}
|
1007
992
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1008
993
|
|
1009
994
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1090,14 +1075,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1090
1075
|
:rtype: ~generated.models.InitiateDeviceFlowResponse
|
1091
1076
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1092
1077
|
"""
|
1093
|
-
error_map: MutableMapping
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
}
|
1100
|
-
)
|
1078
|
+
error_map: MutableMapping = {
|
1079
|
+
401: ClientAuthenticationError,
|
1080
|
+
404: ResourceNotFoundError,
|
1081
|
+
409: ResourceExistsError,
|
1082
|
+
304: ResourceNotModifiedError,
|
1083
|
+
}
|
1101
1084
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1102
1085
|
|
1103
1086
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1156,14 +1139,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1156
1139
|
:rtype: any
|
1157
1140
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1158
1141
|
"""
|
1159
|
-
error_map: MutableMapping
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
}
|
1166
|
-
)
|
1142
|
+
error_map: MutableMapping = {
|
1143
|
+
401: ClientAuthenticationError,
|
1144
|
+
404: ResourceNotFoundError,
|
1145
|
+
409: ResourceExistsError,
|
1146
|
+
304: ResourceNotModifiedError,
|
1147
|
+
}
|
1167
1148
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1168
1149
|
|
1169
1150
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1218,14 +1199,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1218
1199
|
:rtype: any
|
1219
1200
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1220
1201
|
"""
|
1221
|
-
error_map: MutableMapping
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
}
|
1228
|
-
)
|
1202
|
+
error_map: MutableMapping = {
|
1203
|
+
401: ClientAuthenticationError,
|
1204
|
+
404: ResourceNotFoundError,
|
1205
|
+
409: ResourceExistsError,
|
1206
|
+
304: ResourceNotModifiedError,
|
1207
|
+
}
|
1229
1208
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1230
1209
|
|
1231
1210
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1273,14 +1252,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1273
1252
|
:rtype: any
|
1274
1253
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1275
1254
|
"""
|
1276
|
-
error_map: MutableMapping
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
}
|
1283
|
-
)
|
1255
|
+
error_map: MutableMapping = {
|
1256
|
+
401: ClientAuthenticationError,
|
1257
|
+
404: ResourceNotFoundError,
|
1258
|
+
409: ResourceExistsError,
|
1259
|
+
304: ResourceNotModifiedError,
|
1260
|
+
}
|
1284
1261
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1285
1262
|
|
1286
1263
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1327,14 +1304,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1327
1304
|
:rtype: list[any]
|
1328
1305
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1329
1306
|
"""
|
1330
|
-
error_map: MutableMapping
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
}
|
1337
|
-
)
|
1307
|
+
error_map: MutableMapping = {
|
1308
|
+
401: ClientAuthenticationError,
|
1309
|
+
404: ResourceNotFoundError,
|
1310
|
+
409: ResourceExistsError,
|
1311
|
+
304: ResourceNotModifiedError,
|
1312
|
+
}
|
1338
1313
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1339
1314
|
|
1340
1315
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1383,14 +1358,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1383
1358
|
:rtype: str
|
1384
1359
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1385
1360
|
"""
|
1386
|
-
error_map: MutableMapping
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
}
|
1393
|
-
)
|
1361
|
+
error_map: MutableMapping = {
|
1362
|
+
401: ClientAuthenticationError,
|
1363
|
+
404: ResourceNotFoundError,
|
1364
|
+
409: ResourceExistsError,
|
1365
|
+
304: ResourceNotModifiedError,
|
1366
|
+
}
|
1394
1367
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1395
1368
|
|
1396
1369
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1437,14 +1410,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1437
1410
|
:rtype: ~generated.models.UserInfoResponse
|
1438
1411
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1439
1412
|
"""
|
1440
|
-
error_map: MutableMapping
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
}
|
1447
|
-
)
|
1413
|
+
error_map: MutableMapping = {
|
1414
|
+
401: ClientAuthenticationError,
|
1415
|
+
404: ResourceNotFoundError,
|
1416
|
+
409: ResourceExistsError,
|
1417
|
+
304: ResourceNotModifiedError,
|
1418
|
+
}
|
1448
1419
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1449
1420
|
|
1450
1421
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1523,14 +1494,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1523
1494
|
:rtype: any
|
1524
1495
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1525
1496
|
"""
|
1526
|
-
error_map: MutableMapping
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
}
|
1533
|
-
)
|
1497
|
+
error_map: MutableMapping = {
|
1498
|
+
401: ClientAuthenticationError,
|
1499
|
+
404: ResourceNotFoundError,
|
1500
|
+
409: ResourceExistsError,
|
1501
|
+
304: ResourceNotModifiedError,
|
1502
|
+
}
|
1534
1503
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1535
1504
|
|
1536
1505
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1595,14 +1564,12 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
|
|
1595
1564
|
:rtype: any
|
1596
1565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1597
1566
|
"""
|
1598
|
-
error_map: MutableMapping
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
}
|
1605
|
-
)
|
1567
|
+
error_map: MutableMapping = {
|
1568
|
+
401: ClientAuthenticationError,
|
1569
|
+
404: ResourceNotFoundError,
|
1570
|
+
409: ResourceExistsError,
|
1571
|
+
304: ResourceNotModifiedError,
|
1572
|
+
}
|
1606
1573
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1607
1574
|
|
1608
1575
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1691,14 +1658,12 @@ class ConfigOperations:
|
|
1691
1658
|
:rtype: any
|
1692
1659
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1693
1660
|
"""
|
1694
|
-
error_map: MutableMapping
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
}
|
1701
|
-
)
|
1661
|
+
error_map: MutableMapping = {
|
1662
|
+
401: ClientAuthenticationError,
|
1663
|
+
404: ResourceNotFoundError,
|
1664
|
+
409: ResourceExistsError,
|
1665
|
+
304: ResourceNotModifiedError,
|
1666
|
+
}
|
1702
1667
|
if match_condition == MatchConditions.IfNotModified:
|
1703
1668
|
error_map[412] = ResourceModifiedError
|
1704
1669
|
elif match_condition == MatchConditions.IfPresent:
|
@@ -1837,14 +1802,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1837
1802
|
:rtype: ~generated.models.SandboxUploadResponse
|
1838
1803
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1839
1804
|
"""
|
1840
|
-
error_map: MutableMapping
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
}
|
1847
|
-
)
|
1805
|
+
error_map: MutableMapping = {
|
1806
|
+
401: ClientAuthenticationError,
|
1807
|
+
404: ResourceNotFoundError,
|
1808
|
+
409: ResourceExistsError,
|
1809
|
+
304: ResourceNotModifiedError,
|
1810
|
+
}
|
1848
1811
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1849
1812
|
|
1850
1813
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -1916,14 +1879,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1916
1879
|
:rtype: ~generated.models.SandboxDownloadResponse
|
1917
1880
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1918
1881
|
"""
|
1919
|
-
error_map: MutableMapping
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
}
|
1926
|
-
)
|
1882
|
+
error_map: MutableMapping = {
|
1883
|
+
401: ClientAuthenticationError,
|
1884
|
+
404: ResourceNotFoundError,
|
1885
|
+
409: ResourceExistsError,
|
1886
|
+
304: ResourceNotModifiedError,
|
1887
|
+
}
|
1927
1888
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1928
1889
|
|
1929
1890
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -1976,14 +1937,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
1976
1937
|
:rtype: any
|
1977
1938
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1978
1939
|
"""
|
1979
|
-
error_map: MutableMapping
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
1985
|
-
}
|
1986
|
-
)
|
1940
|
+
error_map: MutableMapping = {
|
1941
|
+
401: ClientAuthenticationError,
|
1942
|
+
404: ResourceNotFoundError,
|
1943
|
+
409: ResourceExistsError,
|
1944
|
+
304: ResourceNotModifiedError,
|
1945
|
+
}
|
1987
1946
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
1988
1947
|
|
1989
1948
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2032,14 +1991,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2032
1991
|
:rtype: dict[str, list[any]]
|
2033
1992
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2034
1993
|
"""
|
2035
|
-
error_map: MutableMapping
|
2036
|
-
|
2037
|
-
|
2038
|
-
|
2039
|
-
|
2040
|
-
|
2041
|
-
}
|
2042
|
-
)
|
1994
|
+
error_map: MutableMapping = {
|
1995
|
+
401: ClientAuthenticationError,
|
1996
|
+
404: ResourceNotFoundError,
|
1997
|
+
409: ResourceExistsError,
|
1998
|
+
304: ResourceNotModifiedError,
|
1999
|
+
}
|
2043
2000
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2044
2001
|
|
2045
2002
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2088,14 +2045,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2088
2045
|
:rtype: any
|
2089
2046
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2090
2047
|
"""
|
2091
|
-
error_map: MutableMapping
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
}
|
2098
|
-
)
|
2048
|
+
error_map: MutableMapping = {
|
2049
|
+
401: ClientAuthenticationError,
|
2050
|
+
404: ResourceNotFoundError,
|
2051
|
+
409: ResourceExistsError,
|
2052
|
+
304: ResourceNotModifiedError,
|
2053
|
+
}
|
2099
2054
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2100
2055
|
|
2101
2056
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2148,14 +2103,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2148
2103
|
:rtype: list[any]
|
2149
2104
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2150
2105
|
"""
|
2151
|
-
error_map: MutableMapping
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2157
|
-
}
|
2158
|
-
)
|
2106
|
+
error_map: MutableMapping = {
|
2107
|
+
401: ClientAuthenticationError,
|
2108
|
+
404: ResourceNotFoundError,
|
2109
|
+
409: ResourceExistsError,
|
2110
|
+
304: ResourceNotModifiedError,
|
2111
|
+
}
|
2159
2112
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2160
2113
|
|
2161
2114
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2207,14 +2160,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2207
2160
|
:rtype: any
|
2208
2161
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2209
2162
|
"""
|
2210
|
-
error_map: MutableMapping
|
2211
|
-
|
2212
|
-
|
2213
|
-
|
2214
|
-
|
2215
|
-
|
2216
|
-
}
|
2217
|
-
)
|
2163
|
+
error_map: MutableMapping = {
|
2164
|
+
401: ClientAuthenticationError,
|
2165
|
+
404: ResourceNotFoundError,
|
2166
|
+
409: ResourceExistsError,
|
2167
|
+
304: ResourceNotModifiedError,
|
2168
|
+
}
|
2218
2169
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2219
2170
|
|
2220
2171
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2308,14 +2259,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2308
2259
|
:rtype: list[~generated.models.InsertedJob]
|
2309
2260
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2310
2261
|
"""
|
2311
|
-
error_map: MutableMapping
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2316
|
-
|
2317
|
-
}
|
2318
|
-
)
|
2262
|
+
error_map: MutableMapping = {
|
2263
|
+
401: ClientAuthenticationError,
|
2264
|
+
404: ResourceNotFoundError,
|
2265
|
+
409: ResourceExistsError,
|
2266
|
+
304: ResourceNotModifiedError,
|
2267
|
+
}
|
2319
2268
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2320
2269
|
|
2321
2270
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2379,14 +2328,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2379
2328
|
:rtype: any
|
2380
2329
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2381
2330
|
"""
|
2382
|
-
error_map: MutableMapping
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
}
|
2389
|
-
)
|
2331
|
+
error_map: MutableMapping = {
|
2332
|
+
401: ClientAuthenticationError,
|
2333
|
+
404: ResourceNotFoundError,
|
2334
|
+
409: ResourceExistsError,
|
2335
|
+
304: ResourceNotModifiedError,
|
2336
|
+
}
|
2390
2337
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2391
2338
|
|
2392
2339
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2435,14 +2382,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2435
2382
|
:rtype: any
|
2436
2383
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2437
2384
|
"""
|
2438
|
-
error_map: MutableMapping
|
2439
|
-
|
2440
|
-
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
}
|
2445
|
-
)
|
2385
|
+
error_map: MutableMapping = {
|
2386
|
+
401: ClientAuthenticationError,
|
2387
|
+
404: ResourceNotFoundError,
|
2388
|
+
409: ResourceExistsError,
|
2389
|
+
304: ResourceNotModifiedError,
|
2390
|
+
}
|
2446
2391
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2447
2392
|
|
2448
2393
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2495,14 +2440,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2495
2440
|
:rtype: any
|
2496
2441
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2497
2442
|
"""
|
2498
|
-
error_map: MutableMapping
|
2499
|
-
|
2500
|
-
|
2501
|
-
|
2502
|
-
|
2503
|
-
|
2504
|
-
}
|
2505
|
-
)
|
2443
|
+
error_map: MutableMapping = {
|
2444
|
+
401: ClientAuthenticationError,
|
2445
|
+
404: ResourceNotFoundError,
|
2446
|
+
409: ResourceExistsError,
|
2447
|
+
304: ResourceNotModifiedError,
|
2448
|
+
}
|
2506
2449
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2507
2450
|
|
2508
2451
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2553,14 +2496,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2553
2496
|
:rtype: dict[str, ~generated.models.LimitedJobStatusReturn]
|
2554
2497
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2555
2498
|
"""
|
2556
|
-
error_map: MutableMapping
|
2557
|
-
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2562
|
-
}
|
2563
|
-
)
|
2499
|
+
error_map: MutableMapping = {
|
2500
|
+
401: ClientAuthenticationError,
|
2501
|
+
404: ResourceNotFoundError,
|
2502
|
+
409: ResourceExistsError,
|
2503
|
+
304: ResourceNotModifiedError,
|
2504
|
+
}
|
2564
2505
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2565
2506
|
|
2566
2507
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2671,14 +2612,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2671
2612
|
:rtype: dict[str, ~generated.models.SetJobStatusReturn]
|
2672
2613
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2673
2614
|
"""
|
2674
|
-
error_map: MutableMapping
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
|
2680
|
-
}
|
2681
|
-
)
|
2615
|
+
error_map: MutableMapping = {
|
2616
|
+
401: ClientAuthenticationError,
|
2617
|
+
404: ResourceNotFoundError,
|
2618
|
+
409: ResourceExistsError,
|
2619
|
+
304: ResourceNotModifiedError,
|
2620
|
+
}
|
2682
2621
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2683
2622
|
|
2684
2623
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -2745,14 +2684,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2745
2684
|
:rtype: dict[str, list[~generated.models.JobStatusReturn]]
|
2746
2685
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2747
2686
|
"""
|
2748
|
-
error_map: MutableMapping
|
2749
|
-
|
2750
|
-
|
2751
|
-
|
2752
|
-
|
2753
|
-
|
2754
|
-
}
|
2755
|
-
)
|
2687
|
+
error_map: MutableMapping = {
|
2688
|
+
401: ClientAuthenticationError,
|
2689
|
+
404: ResourceNotFoundError,
|
2690
|
+
409: ResourceExistsError,
|
2691
|
+
304: ResourceNotModifiedError,
|
2692
|
+
}
|
2756
2693
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2757
2694
|
|
2758
2695
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2803,14 +2740,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2803
2740
|
:rtype: any
|
2804
2741
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2805
2742
|
"""
|
2806
|
-
error_map: MutableMapping
|
2807
|
-
|
2808
|
-
|
2809
|
-
|
2810
|
-
|
2811
|
-
|
2812
|
-
}
|
2813
|
-
)
|
2743
|
+
error_map: MutableMapping = {
|
2744
|
+
401: ClientAuthenticationError,
|
2745
|
+
404: ResourceNotFoundError,
|
2746
|
+
409: ResourceExistsError,
|
2747
|
+
304: ResourceNotModifiedError,
|
2748
|
+
}
|
2814
2749
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2815
2750
|
|
2816
2751
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2859,14 +2794,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2859
2794
|
:rtype: any
|
2860
2795
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2861
2796
|
"""
|
2862
|
-
error_map: MutableMapping
|
2863
|
-
|
2864
|
-
|
2865
|
-
|
2866
|
-
|
2867
|
-
|
2868
|
-
}
|
2869
|
-
)
|
2797
|
+
error_map: MutableMapping = {
|
2798
|
+
401: ClientAuthenticationError,
|
2799
|
+
404: ResourceNotFoundError,
|
2800
|
+
409: ResourceExistsError,
|
2801
|
+
304: ResourceNotModifiedError,
|
2802
|
+
}
|
2870
2803
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
2871
2804
|
|
2872
2805
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -2988,14 +2921,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
2988
2921
|
:rtype: list[JSON]
|
2989
2922
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2990
2923
|
"""
|
2991
|
-
error_map: MutableMapping
|
2992
|
-
|
2993
|
-
|
2994
|
-
|
2995
|
-
|
2996
|
-
|
2997
|
-
}
|
2998
|
-
)
|
2924
|
+
error_map: MutableMapping = {
|
2925
|
+
401: ClientAuthenticationError,
|
2926
|
+
404: ResourceNotFoundError,
|
2927
|
+
409: ResourceExistsError,
|
2928
|
+
304: ResourceNotModifiedError,
|
2929
|
+
}
|
2999
2930
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3000
2931
|
|
3001
2932
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -3110,14 +3041,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3110
3041
|
:rtype: any
|
3111
3042
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3112
3043
|
"""
|
3113
|
-
error_map: MutableMapping
|
3114
|
-
|
3115
|
-
|
3116
|
-
|
3117
|
-
|
3118
|
-
|
3119
|
-
}
|
3120
|
-
)
|
3044
|
+
error_map: MutableMapping = {
|
3045
|
+
401: ClientAuthenticationError,
|
3046
|
+
404: ResourceNotFoundError,
|
3047
|
+
409: ResourceExistsError,
|
3048
|
+
304: ResourceNotModifiedError,
|
3049
|
+
}
|
3121
3050
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3122
3051
|
|
3123
3052
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -3179,14 +3108,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3179
3108
|
:rtype: any
|
3180
3109
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3181
3110
|
"""
|
3182
|
-
error_map: MutableMapping
|
3183
|
-
|
3184
|
-
|
3185
|
-
|
3186
|
-
|
3187
|
-
|
3188
|
-
}
|
3189
|
-
)
|
3111
|
+
error_map: MutableMapping = {
|
3112
|
+
401: ClientAuthenticationError,
|
3113
|
+
404: ResourceNotFoundError,
|
3114
|
+
409: ResourceExistsError,
|
3115
|
+
304: ResourceNotModifiedError,
|
3116
|
+
}
|
3190
3117
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3191
3118
|
|
3192
3119
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -3235,14 +3162,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3235
3162
|
:rtype: any
|
3236
3163
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3237
3164
|
"""
|
3238
|
-
error_map: MutableMapping
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
|
3243
|
-
|
3244
|
-
}
|
3245
|
-
)
|
3165
|
+
error_map: MutableMapping = {
|
3166
|
+
401: ClientAuthenticationError,
|
3167
|
+
404: ResourceNotFoundError,
|
3168
|
+
409: ResourceExistsError,
|
3169
|
+
304: ResourceNotModifiedError,
|
3170
|
+
}
|
3246
3171
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3247
3172
|
|
3248
3173
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -3297,14 +3222,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3297
3222
|
:rtype: any
|
3298
3223
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3299
3224
|
"""
|
3300
|
-
error_map: MutableMapping
|
3301
|
-
|
3302
|
-
|
3303
|
-
|
3304
|
-
|
3305
|
-
|
3306
|
-
}
|
3307
|
-
)
|
3225
|
+
error_map: MutableMapping = {
|
3226
|
+
401: ClientAuthenticationError,
|
3227
|
+
404: ResourceNotFoundError,
|
3228
|
+
409: ResourceExistsError,
|
3229
|
+
304: ResourceNotModifiedError,
|
3230
|
+
}
|
3308
3231
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3309
3232
|
|
3310
3233
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -3361,14 +3284,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3361
3284
|
:rtype: any
|
3362
3285
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3363
3286
|
"""
|
3364
|
-
error_map: MutableMapping
|
3365
|
-
|
3366
|
-
|
3367
|
-
|
3368
|
-
|
3369
|
-
|
3370
|
-
}
|
3371
|
-
)
|
3287
|
+
error_map: MutableMapping = {
|
3288
|
+
401: ClientAuthenticationError,
|
3289
|
+
404: ResourceNotFoundError,
|
3290
|
+
409: ResourceExistsError,
|
3291
|
+
304: ResourceNotModifiedError,
|
3292
|
+
}
|
3372
3293
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3373
3294
|
|
3374
3295
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -3421,14 +3342,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3421
3342
|
:rtype: any
|
3422
3343
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3423
3344
|
"""
|
3424
|
-
error_map: MutableMapping
|
3425
|
-
|
3426
|
-
|
3427
|
-
|
3428
|
-
|
3429
|
-
|
3430
|
-
}
|
3431
|
-
)
|
3345
|
+
error_map: MutableMapping = {
|
3346
|
+
401: ClientAuthenticationError,
|
3347
|
+
404: ResourceNotFoundError,
|
3348
|
+
409: ResourceExistsError,
|
3349
|
+
304: ResourceNotModifiedError,
|
3350
|
+
}
|
3432
3351
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3433
3352
|
|
3434
3353
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -3479,14 +3398,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3479
3398
|
:rtype: dict[str, ~generated.models.LimitedJobStatusReturn]
|
3480
3399
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3481
3400
|
"""
|
3482
|
-
error_map: MutableMapping
|
3483
|
-
|
3484
|
-
|
3485
|
-
|
3486
|
-
|
3487
|
-
|
3488
|
-
}
|
3489
|
-
)
|
3401
|
+
error_map: MutableMapping = {
|
3402
|
+
401: ClientAuthenticationError,
|
3403
|
+
404: ResourceNotFoundError,
|
3404
|
+
409: ResourceExistsError,
|
3405
|
+
304: ResourceNotModifiedError,
|
3406
|
+
}
|
3490
3407
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3491
3408
|
|
3492
3409
|
_headers = kwargs.pop("headers", {}) or {}
|
@@ -3606,14 +3523,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3606
3523
|
:rtype: dict[str, ~generated.models.SetJobStatusReturn]
|
3607
3524
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3608
3525
|
"""
|
3609
|
-
error_map: MutableMapping
|
3610
|
-
|
3611
|
-
|
3612
|
-
|
3613
|
-
|
3614
|
-
|
3615
|
-
}
|
3616
|
-
)
|
3526
|
+
error_map: MutableMapping = {
|
3527
|
+
401: ClientAuthenticationError,
|
3528
|
+
404: ResourceNotFoundError,
|
3529
|
+
409: ResourceExistsError,
|
3530
|
+
304: ResourceNotModifiedError,
|
3531
|
+
}
|
3617
3532
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3618
3533
|
|
3619
3534
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
@@ -3681,14 +3596,12 @@ class JobsOperations: # pylint: disable=too-many-public-methods
|
|
3681
3596
|
:rtype: dict[str, list[~generated.models.JobStatusReturn]]
|
3682
3597
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3683
3598
|
"""
|
3684
|
-
error_map: MutableMapping
|
3685
|
-
|
3686
|
-
|
3687
|
-
|
3688
|
-
|
3689
|
-
|
3690
|
-
}
|
3691
|
-
)
|
3599
|
+
error_map: MutableMapping = {
|
3600
|
+
401: ClientAuthenticationError,
|
3601
|
+
404: ResourceNotFoundError,
|
3602
|
+
409: ResourceExistsError,
|
3603
|
+
304: ResourceNotModifiedError,
|
3604
|
+
}
|
3692
3605
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
3693
3606
|
|
3694
3607
|
_headers = kwargs.pop("headers", {}) or {}
|