@@ -27,7 +27,7 @@ class DataFlowDebugSessionOperations:
2727 instantiates it for you and attaches it as an attribute.
2828
2929 :ivar models: Alias to model classes used in this operation group.
30- :type models: ~azure.synapse.artifacts.v2020_12_01. models
30+ :type models: ~azure.synapse.artifacts.models
3131 :param client: Client for service requests.
3232 :param config: Configuration of service client.
3333 :param serializer: An object model serializer.
@@ -81,7 +81,7 @@ async def _create_data_flow_debug_session_initial(
8181
8282 if response .status_code not in [200 , 202 ]:
8383 map_error (status_code = response .status_code , response = response , error_map = error_map )
84- error = self ._deserialize .failsafe_deserialize (_models .CloudError , response )
84+ error = self ._deserialize .failsafe_deserialize (_models .CloudErrorAutoGenerated , response )
8585 raise HttpResponseError (response = response , model = error )
8686
8787 response_headers = {}
@@ -106,15 +106,15 @@ async def begin_create_data_flow_debug_session(
106106 """Creates a data flow debug session.
107107
108108 :param request: Data flow debug session definition.
109- :type request: ~azure.synapse.artifacts.v2020_12_01. models.CreateDataFlowDebugSessionRequest
109+ :type request: ~azure.synapse.artifacts.models.CreateDataFlowDebugSessionRequest
110110 :keyword callable cls: A custom type or function that will be passed the direct response
111111 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
112112 :keyword polling: By default, your polling method will be AsyncLROBasePolling.
113113 Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
114114 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
115115 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
116116 :return: An instance of AsyncLROPoller that returns either CreateDataFlowDebugSessionResponse or the result of cls(response)
117- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.synapse.artifacts.v2020_12_01. models.CreateDataFlowDebugSessionResponse]
117+ :rtype: ~azure.core.polling.AsyncLROPoller[~azure.synapse.artifacts.models.CreateDataFlowDebugSessionResponse]
118118 :raises ~azure.core.exceptions.HttpResponseError:
119119 """
120120 polling = kwargs .pop ('polling' , True ) # type: Union[bool, AsyncPollingMethod]
@@ -167,7 +167,7 @@ def query_data_flow_debug_sessions_by_workspace(
167167
168168 :keyword callable cls: A custom type or function that will be passed the direct response
169169 :return: An iterator like instance of either QueryDataFlowDebugSessionsResponse or the result of cls(response)
170- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.synapse.artifacts.v2020_12_01. models.QueryDataFlowDebugSessionsResponse]
170+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.synapse.artifacts.models.QueryDataFlowDebugSessionsResponse]
171171 :raises: ~azure.core.exceptions.HttpResponseError
172172 """
173173 cls = kwargs .pop ('cls' , None ) # type: ClsType["_models.QueryDataFlowDebugSessionsResponse"]
@@ -219,7 +219,7 @@ async def get_next(next_link=None):
219219 response = pipeline_response .http_response
220220
221221 if response .status_code not in [200 ]:
222- error = self ._deserialize .failsafe_deserialize (_models .CloudError , response )
222+ error = self ._deserialize .failsafe_deserialize (_models .CloudErrorAutoGenerated , response )
223223 map_error (status_code = response .status_code , response = response , error_map = error_map )
224224 raise HttpResponseError (response = response , model = error )
225225
@@ -238,10 +238,10 @@ async def add_data_flow(
238238 """Add a data flow into debug session.
239239
240240 :param request: Data flow debug session definition with debug content.
241- :type request: ~azure.synapse.artifacts.v2020_12_01. models.DataFlowDebugPackage
241+ :type request: ~azure.synapse.artifacts.models.DataFlowDebugPackage
242242 :keyword callable cls: A custom type or function that will be passed the direct response
243243 :return: AddDataFlowToDebugSessionResponse, or the result of cls(response)
244- :rtype: ~azure.synapse.artifacts.v2020_12_01. models.AddDataFlowToDebugSessionResponse
244+ :rtype: ~azure.synapse.artifacts.models.AddDataFlowToDebugSessionResponse
245245 :raises: ~azure.core.exceptions.HttpResponseError
246246 """
247247 cls = kwargs .pop ('cls' , None ) # type: ClsType["_models.AddDataFlowToDebugSessionResponse"]
@@ -278,7 +278,7 @@ async def add_data_flow(
278278
279279 if response .status_code not in [200 ]:
280280 map_error (status_code = response .status_code , response = response , error_map = error_map )
281- error = self ._deserialize .failsafe_deserialize (_models .CloudError , response )
281+ error = self ._deserialize .failsafe_deserialize (_models .CloudErrorAutoGenerated , response )
282282 raise HttpResponseError (response = response , model = error )
283283
284284 deserialized = self ._deserialize ('AddDataFlowToDebugSessionResponse' , pipeline_response )
@@ -297,7 +297,7 @@ async def delete_data_flow_debug_session(
297297 """Deletes a data flow debug session.
298298
299299 :param request: Data flow debug session definition for deletion.
300- :type request: ~azure.synapse.artifacts.v2020_12_01. models.DeleteDataFlowDebugSessionRequest
300+ :type request: ~azure.synapse.artifacts.models.DeleteDataFlowDebugSessionRequest
301301 :keyword callable cls: A custom type or function that will be passed the direct response
302302 :return: None, or the result of cls(response)
303303 :rtype: None
@@ -337,7 +337,7 @@ async def delete_data_flow_debug_session(
337337
338338 if response .status_code not in [200 ]:
339339 map_error (status_code = response .status_code , response = response , error_map = error_map )
340- error = self ._deserialize .failsafe_deserialize (_models .CloudError , response )
340+ error = self ._deserialize .failsafe_deserialize (_models .CloudErrorAutoGenerated , response )
341341 raise HttpResponseError (response = response , model = error )
342342
343343 if cls :
@@ -384,7 +384,7 @@ async def _execute_command_initial(
384384
385385 if response .status_code not in [200 , 202 ]:
386386 map_error (status_code = response .status_code , response = response , error_map = error_map )
387- error = self ._deserialize .failsafe_deserialize (_models .CloudError , response )
387+ error = self ._deserialize .failsafe_deserialize (_models .CloudErrorAutoGenerated , response )
388388 raise HttpResponseError (response = response , model = error )
389389
390390 response_headers = {}
@@ -409,15 +409,15 @@ async def begin_execute_command(
409409 """Execute a data flow debug command.
410410
411411 :param request: Data flow debug command definition.
412- :type request: ~azure.synapse.artifacts.v2020_12_01. models.DataFlowDebugCommandRequest
412+ :type request: ~azure.synapse.artifacts.models.DataFlowDebugCommandRequest
413413 :keyword callable cls: A custom type or function that will be passed the direct response
414414 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
415415 :keyword polling: By default, your polling method will be AsyncLROBasePolling.
416416 Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
417417 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
418418 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
419419 :return: An instance of AsyncLROPoller that returns either DataFlowDebugCommandResponse or the result of cls(response)
420- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.synapse.artifacts.v2020_12_01. models.DataFlowDebugCommandResponse]
420+ :rtype: ~azure.core.polling.AsyncLROPoller[~azure.synapse.artifacts.models.DataFlowDebugCommandResponse]
421421 :raises ~azure.core.exceptions.HttpResponseError:
422422 """
423423 polling = kwargs .pop ('polling' , True ) # type: Union[bool, AsyncPollingMethod]
0 commit comments