diracx-client 0.0.1a18__py3-none-any.whl → 0.0.1a19__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. diracx/client/__init__.py +4 -18
  2. diracx/client/aio.py +1 -0
  3. diracx/client/extensions.py +90 -0
  4. diracx/client/{aio → generated}/__init__.py +2 -2
  5. diracx/client/{_client.py → generated/_client.py} +7 -6
  6. diracx/client/{_configuration.py → generated/_configuration.py} +1 -1
  7. diracx/client/generated/_patch.py +47 -0
  8. diracx/client/{_serialization.py → generated/_serialization.py} +301 -151
  9. diracx/client/{_vendor.py → generated/_vendor.py} +1 -1
  10. diracx/client/generated/aio/__init__.py +21 -0
  11. diracx/client/{aio → generated/aio}/_client.py +7 -6
  12. diracx/client/{aio → generated/aio}/_configuration.py +1 -1
  13. diracx/client/generated/aio/_patch.py +23 -0
  14. diracx/client/{aio → generated/aio}/_vendor.py +1 -1
  15. diracx/client/{aio → generated/aio}/operations/__init__.py +1 -1
  16. diracx/client/{aio → generated/aio}/operations/_operations.py +402 -385
  17. diracx/client/{models → generated/models}/__init__.py +3 -1
  18. diracx/client/{models → generated/models}/_enums.py +2 -2
  19. diracx/client/{models → generated/models}/_models.py +84 -43
  20. diracx/client/{operations → generated/operations}/__init__.py +1 -1
  21. diracx/client/{operations → generated/operations}/_operations.py +402 -385
  22. diracx/client/generated/py.typed +1 -0
  23. diracx/client/models.py +5 -0
  24. diracx/client/patches/__init__.py +19 -0
  25. diracx/client/patches/aio/__init__.py +18 -0
  26. diracx/client/{aio/_patch.py → patches/aio/utils.py} +10 -19
  27. diracx/client/{_patch.py → patches/utils.py} +98 -121
  28. {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a19.dist-info}/METADATA +1 -1
  29. diracx_client-0.0.1a19.dist-info/RECORD +36 -0
  30. diracx_client-0.0.1a19.dist-info/entry_points.txt +3 -0
  31. diracx_client-0.0.1a18.dist-info/RECORD +0 -26
  32. /diracx/client/{aio → generated/aio}/operations/_patch.py +0 -0
  33. /diracx/client/{models → generated/models}/_patch.py +0 -0
  34. /diracx/client/{operations → generated/operations}/_patch.py +0 -0
  35. {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a19.dist-info}/WHEEL +0 -0
  36. {diracx_client-0.0.1a18.dist-info → diracx_client-0.0.1a19.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.13.19)
2
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.0, generator: @autorest/python@6.23.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.0, generator: @autorest/python@6.23.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 ValueError:
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__])
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.13.19)
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 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: client.aio.operations.WellKnownOperations
30
+ :vartype well_known: generated.aio.operations.WellKnownOperations
30
31
  :ivar auth: AuthOperations operations
31
- :vartype auth: client.aio.operations.AuthOperations
32
+ :vartype auth: generated.aio.operations.AuthOperations
32
33
  :ivar config: ConfigOperations operations
33
- :vartype config: client.aio.operations.ConfigOperations
34
+ :vartype config: generated.aio.operations.ConfigOperations
34
35
  :ivar jobs: JobsOperations operations
35
- :vartype jobs: client.aio.operations.JobsOperations
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) -> "Dirac":
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.13.19)
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
 
@@ -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.13.19)
2
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.0, generator: @autorest/python@6.23.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.13.19)
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