Skip to content

Commit 9a447cb

Browse files
author
SDKAuto
committed
CodeGen from PR 22677 in Azure/azure-rest-api-specs
Merge 29ce73f2afb55bee32c5397d107daabdd4a8e297 into 6b921fdde7c1806efca2b5aa41ca46ec65f3092e
1 parent ee9ff1b commit 9a447cb

File tree

302 files changed

+2110
-1064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+2110
-1064
lines changed

sdk/sql/azure-mgmt-sql/_meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "28c34aa8fa4298e2ad22a868410b0c50128fdd28",
2+
"commit": "2fd381654b8aa42deaadef3c912071ff9526b552",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/python@6.4.0",
6+
"@autorest/python@6.4.3",
77
"@autorest/modelerfour@4.24.3"
88
],
9-
"autorest_command": "autorest specification/sql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.4.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/sql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.4.3 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/sql/resource-manager/readme.md"
1111
}

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def __init__(
613613
self._config = SqlManagementClientConfiguration(
614614
credential=credential, subscription_id=subscription_id, **kwargs
615615
)
616-
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
616+
self._client: ARMPipelineClient = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
617617

618618
client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)}
619619
self._serialize = Serializer(client_models)

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "4.0.0b8"
9+
VERSION = "0.9.0"

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/_sql_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def __init__(
619619
self._config = SqlManagementClientConfiguration(
620620
credential=credential, subscription_id=subscription_id, **kwargs
621621
)
622-
self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
622+
self._client: AsyncARMPipelineClient = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
623623

624624
client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)}
625625
self._serialize = Serializer(client_models)

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_backup_short_term_retention_policies_operations.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ async def get(
119119
request = _convert_request(request)
120120
request.url = self._client.format_url(request.url)
121121

122+
_stream = False
122123
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
123-
request, stream=False, **kwargs
124+
request, stream=_stream, **kwargs
124125
)
125126

126127
response = pipeline_response.http_response
@@ -191,8 +192,9 @@ async def _create_or_update_initial(
191192
request = _convert_request(request)
192193
request.url = self._client.format_url(request.url)
193194

195+
_stream = False
194196
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
195-
request, stream=False, **kwargs
197+
request, stream=_stream, **kwargs
196198
)
197199

198200
response = pipeline_response.http_response
@@ -444,8 +446,9 @@ async def _update_initial(
444446
request = _convert_request(request)
445447
request.url = self._client.format_url(request.url)
446448

449+
_stream = False
447450
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
448-
request, stream=False, **kwargs
451+
request, stream=_stream, **kwargs
449452
)
450453

451454
response = pipeline_response.http_response
@@ -715,8 +718,9 @@ async def extract_data(pipeline_response):
715718
async def get_next(next_link=None):
716719
request = prepare_request(next_link)
717720

721+
_stream = False
718722
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
719-
request, stream=False, **kwargs
723+
request, stream=_stream, **kwargs
720724
)
721725
response = pipeline_response.http_response
722726

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_capabilities_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ async def list_by_location(
101101
request = _convert_request(request)
102102
request.url = self._client.format_url(request.url)
103103

104+
_stream = False
104105
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
105-
request, stream=False, **kwargs
106+
request, stream=_stream, **kwargs
106107
)
107108

108109
response = pipeline_response.http_response

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_data_masking_policies_operations.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ async def create_or_update(
199199
request = _convert_request(request)
200200
request.url = self._client.format_url(request.url)
201201

202+
_stream = False
202203
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
203-
request, stream=False, **kwargs
204+
request, stream=_stream, **kwargs
204205
)
205206

206207
response = pipeline_response.http_response
@@ -271,8 +272,9 @@ async def get(
271272
request = _convert_request(request)
272273
request.url = self._client.format_url(request.url)
273274

275+
_stream = False
274276
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
275-
request, stream=False, **kwargs
277+
request, stream=_stream, **kwargs
276278
)
277279

278280
response = pipeline_response.http_response

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_data_masking_rules_operations.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,9 @@ async def create_or_update(
213213
request = _convert_request(request)
214214
request.url = self._client.format_url(request.url)
215215

216+
_stream = False
216217
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
217-
request, stream=False, **kwargs
218+
request, stream=_stream, **kwargs
218219
)
219220

220221
response = pipeline_response.http_response
@@ -309,8 +310,9 @@ async def extract_data(pipeline_response):
309310
async def get_next(next_link=None):
310311
request = prepare_request(next_link)
311312

313+
_stream = False
312314
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
313-
request, stream=False, **kwargs
315+
request, stream=_stream, **kwargs
314316
)
315317
response = pipeline_response.http_response
316318

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_data_warehouse_user_activities_operations.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ async def get(
114114
request = _convert_request(request)
115115
request.url = self._client.format_url(request.url)
116116

117+
_stream = False
117118
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
118-
request, stream=False, **kwargs
119+
request, stream=_stream, **kwargs
119120
)
120121

121122
response = pipeline_response.http_response
@@ -204,8 +205,9 @@ async def extract_data(pipeline_response):
204205
async def get_next(next_link=None):
205206
request = prepare_request(next_link)
206207

208+
_stream = False
207209
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
208-
request, stream=False, **kwargs
210+
request, stream=_stream, **kwargs
209211
)
210212
response = pipeline_response.http_response
211213

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_database_advanced_threat_protection_settings_operations.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ async def extract_data(pipeline_response):
130130
async def get_next(next_link=None):
131131
request = prepare_request(next_link)
132132

133+
_stream = False
133134
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
134-
request, stream=False, **kwargs
135+
request, stream=_stream, **kwargs
135136
)
136137
response = pipeline_response.http_response
137138

@@ -204,8 +205,9 @@ async def get(
204205
request = _convert_request(request)
205206
request.url = self._client.format_url(request.url)
206207

208+
_stream = False
207209
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
208-
request, stream=False, **kwargs
210+
request, stream=_stream, **kwargs
209211
)
210212

211213
response = pipeline_response.http_response
@@ -373,8 +375,9 @@ async def create_or_update(
373375
request = _convert_request(request)
374376
request.url = self._client.format_url(request.url)
375377

378+
_stream = False
376379
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
377-
request, stream=False, **kwargs
380+
request, stream=_stream, **kwargs
378381
)
379382

380383
response = pipeline_response.http_response

0 commit comments

Comments
 (0)