diracx-client 0.0.1a18__py3-none-any.whl → 0.0.1a20__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- diracx/client/__init__.py +4 -18
- diracx/client/aio.py +1 -0
- diracx/client/extensions.py +90 -0
- diracx/client/{aio → generated}/__init__.py +2 -2
- diracx/client/{_client.py → generated/_client.py} +7 -6
- diracx/client/{_configuration.py → generated/_configuration.py} +1 -1
- diracx/client/generated/_patch.py +47 -0
- diracx/client/{_serialization.py → generated/_serialization.py} +303 -154
- diracx/client/{_vendor.py → generated/_vendor.py} +1 -1
- diracx/client/generated/aio/__init__.py +21 -0
- diracx/client/{aio → generated/aio}/_client.py +7 -6
- diracx/client/{aio → generated/aio}/_configuration.py +1 -1
- diracx/client/generated/aio/_patch.py +23 -0
- diracx/client/{aio → generated/aio}/_vendor.py +1 -1
- diracx/client/{aio → generated/aio}/operations/__init__.py +2 -2
- diracx/client/{aio → generated/aio}/operations/_operations.py +139 -209
- diracx/client/{models → generated/models}/__init__.py +4 -2
- diracx/client/{models → generated/models}/_enums.py +2 -2
- diracx/client/{models → generated/models}/_models.py +86 -46
- diracx/client/{operations → generated/operations}/__init__.py +2 -2
- diracx/client/{operations → generated/operations}/_operations.py +139 -209
- diracx/client/generated/py.typed +1 -0
- diracx/client/models.py +5 -0
- diracx/client/patches/__init__.py +19 -0
- diracx/client/patches/aio/__init__.py +18 -0
- diracx/client/{aio/_patch.py → patches/aio/utils.py} +25 -19
- diracx/client/{_patch.py → patches/utils.py} +115 -122
- {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a20.dist-info}/METADATA +1 -2
- diracx_client-0.0.1a20.dist-info/RECORD +36 -0
- {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a20.dist-info}/WHEEL +1 -1
- diracx_client-0.0.1a20.dist-info/entry_points.txt +3 -0
- diracx_client-0.0.1a18.dist-info/RECORD +0 -26
- /diracx/client/{aio → generated/aio}/operations/_patch.py +0 -0
- /diracx/client/{models → generated/models}/_patch.py +0 -0
- /diracx/client/{operations → generated/operations}/_patch.py +0 -0
- {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a20.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
# --------------------------------------------------------------------------
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
4
4
|
# --------------------------------------------------------------------------
|
5
5
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# --------------------------------------------------------------------------
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
|
+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
|
+
# --------------------------------------------------------------------------
|
6
|
+
|
7
|
+
from ._client import Dirac
|
8
|
+
|
9
|
+
try:
|
10
|
+
from ._patch import __all__ as _patch_all
|
11
|
+
from ._patch import * # pylint: disable=unused-wildcard-import
|
12
|
+
except ImportError:
|
13
|
+
_patch_all = []
|
14
|
+
from ._patch import patch_sdk as _patch_sdk
|
15
|
+
|
16
|
+
__all__ = [
|
17
|
+
"Dirac",
|
18
|
+
]
|
19
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
20
|
+
|
21
|
+
_patch_sdk()
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
7
7
|
from copy import deepcopy
|
8
8
|
from typing import Any, Awaitable
|
9
|
+
from typing_extensions import Self
|
9
10
|
|
10
11
|
from azure.core import AsyncPipelineClient
|
11
12
|
from azure.core.pipeline import policies
|
@@ -26,13 +27,13 @@ class Dirac: # pylint: disable=client-accepts-api-version-keyword
|
|
26
27
|
"""Dirac.
|
27
28
|
|
28
29
|
:ivar well_known: WellKnownOperations operations
|
29
|
-
:vartype well_known:
|
30
|
+
:vartype well_known: generated.aio.operations.WellKnownOperations
|
30
31
|
:ivar auth: AuthOperations operations
|
31
|
-
:vartype auth:
|
32
|
+
:vartype auth: generated.aio.operations.AuthOperations
|
32
33
|
:ivar config: ConfigOperations operations
|
33
|
-
:vartype config:
|
34
|
+
:vartype config: generated.aio.operations.ConfigOperations
|
34
35
|
:ivar jobs: JobsOperations operations
|
35
|
-
:vartype jobs:
|
36
|
+
:vartype jobs: generated.aio.operations.JobsOperations
|
36
37
|
:keyword endpoint: Service URL. Required. Default value is "".
|
37
38
|
:paramtype endpoint: str
|
38
39
|
"""
|
@@ -112,7 +113,7 @@ class Dirac: # pylint: disable=client-accepts-api-version-keyword
|
|
112
113
|
async def close(self) -> None:
|
113
114
|
await self._client.close()
|
114
115
|
|
115
|
-
async def __aenter__(self) ->
|
116
|
+
async def __aenter__(self) -> Self:
|
116
117
|
await self._client.__aenter__()
|
117
118
|
return self
|
118
119
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# ------------------------------------
|
2
|
+
# Copyright (c) Microsoft Corporation.
|
3
|
+
# Licensed under the MIT License.
|
4
|
+
# ------------------------------------
|
5
|
+
"""Customize generated code here.
|
6
|
+
|
7
|
+
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
|
8
|
+
"""
|
9
|
+
from typing import List
|
10
|
+
|
11
|
+
|
12
|
+
__all__: List[str] = [
|
13
|
+
# "DiracClient",
|
14
|
+
] # Add all objects you want publicly available to users at this package level
|
15
|
+
|
16
|
+
|
17
|
+
def patch_sdk():
|
18
|
+
"""Do not remove from this file.
|
19
|
+
|
20
|
+
`patch_sdk` is a last resort escape hatch that allows you to do customizations
|
21
|
+
you can't accomplish using the techniques described in
|
22
|
+
https://aka.ms/azsdk/python/dpcodegen/python/customize
|
23
|
+
"""
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# --------------------------------------------------------------------------
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
4
4
|
# --------------------------------------------------------------------------
|
5
5
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.
|
3
|
+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.26.0)
|
4
4
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
5
5
|
# --------------------------------------------------------------------------
|
6
6
|
|
@@ -19,5 +19,5 @@ __all__ = [
|
|
19
19
|
"ConfigOperations",
|
20
20
|
"JobsOperations",
|
21
21
|
]
|
22
|
-
__all__.extend([p for p in _patch_all if p not in __all__])
|
22
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
23
23
|
_patch_sdk()
|