From ac69ab01d1d31959e1468afe9dfddeedc92acc47 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Fri, 4 Mar 2022 13:22:27 -0500 Subject: [PATCH 1/5] hide operation group docs --- .../templates/operation_group.py.jinja2 | 18 +-- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../aio/operations/_duration_operations.py | 15 +-- .../operations/_duration_operations.py | 15 +-- .../_parameter_grouping_operations.py | 15 +-- .../_parameter_grouping_operations.py | 15 +-- .../_api_version_default_operations.py | 15 +-- .../_api_version_local_operations.py | 15 +-- .../aio/operations/_header_operations.py | 15 +-- .../aio/operations/_odata_operations.py | 15 +-- .../_skip_url_encoding_operations.py | 15 +-- ..._subscription_in_credentials_operations.py | 15 +-- .../_subscription_in_method_operations.py | 15 +-- .../_xms_client_request_id_operations.py | 15 +-- .../_api_version_default_operations.py | 15 +-- .../_api_version_local_operations.py | 15 +-- .../operations/_header_operations.py | 15 +-- .../operations/_odata_operations.py | 15 +-- .../_skip_url_encoding_operations.py | 15 +-- ..._subscription_in_credentials_operations.py | 15 +-- .../_subscription_in_method_operations.py | 15 +-- .../_xms_client_request_id_operations.py | 15 +-- .../aio/operations/_paths_operations.py | 15 +-- .../operations/_paths_operations.py | 15 +-- .../aio/operations/_paging_operations.py | 15 +-- .../operations/_paging_operations.py | 15 +-- .../aio/operations/_paging_operations.py | 15 +-- .../operations/_paging_operations.py | 15 +-- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../operations/_head_exception_operations.py | 13 +- .../operations/_head_exception_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../operations/_http_success_operations.py | 13 +- .../_lr_os_custom_header_operations.py | 15 +-- .../aio/operations/_lro_retrys_operations.py | 15 +-- .../lro/aio/operations/_lros_operations.py | 15 +-- .../lro/aio/operations/_lrosads_operations.py | 15 +-- .../_lr_os_custom_header_operations.py | 15 +-- .../lro/operations/_lro_retrys_operations.py | 15 +-- .../Lro/lro/operations/_lros_operations.py | 15 +-- .../Lro/lro/operations/_lrosads_operations.py | 15 +-- .../aio/operations/_paging_operations.py | 15 +-- .../paging/operations/_paging_operations.py | 15 +-- .../_storage_accounts_operations.py | 15 +-- .../aio/operations/_usage_operations.py | 15 +-- .../_storage_accounts_operations.py | 15 +-- .../storage/operations/_usage_operations.py | 15 +-- .../aio/operations/_group_operations.py | 15 +-- .../operations/_group_operations.py | 15 +-- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 104 ++++++---------- .../operations/_operations.py | 104 ++++++---------- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 52 +++----- .../operations/_operations.py | 52 +++----- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 26 ++-- .../operations/_operations.py | 26 ++-- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../_operation_group_one_operations.py | 15 +-- .../_operation_group_two_operations.py | 15 +-- .../aio/operations/_pets_operations.py | 15 +-- .../operations/_pets_operations.py | 15 +-- .../aio/operations/_array_operations.py | 15 +-- .../bodyarray/operations/_array_operations.py | 15 +-- .../array/aio/operations/_array_operations.py | 15 +-- .../array/operations/_array_operations.py | 15 +-- .../aio/operations/_array_operations.py | 15 +-- .../operations/_array_operations.py | 15 +-- .../operations/_array_operations_py3.py | 15 +-- .../aio/operations/_upload_operations.py | 13 +- .../operations/_upload_operations.py | 13 +- .../aio/operations/_bool_operations.py | 15 +-- .../operations/_bool_operations.py | 15 +-- .../aio/operations/_byte_operations.py | 15 +-- .../bodybyte/operations/_byte_operations.py | 15 +-- .../aio/operations/_byte_operations.py | 15 +-- .../operations/_byte_operations.py | 15 +-- .../aio/operations/_array_operations.py | 15 +-- .../aio/operations/_basic_operations.py | 15 +-- .../aio/operations/_dictionary_operations.py | 15 +-- .../operations/_flattencomplex_operations.py | 15 +-- .../aio/operations/_inheritance_operations.py | 15 +-- .../_polymorphicrecursive_operations.py | 15 +-- .../operations/_polymorphism_operations.py | 15 +-- .../aio/operations/_primitive_operations.py | 15 +-- .../_readonlyproperty_operations.py | 15 +-- .../operations/_array_operations.py | 15 +-- .../operations/_basic_operations.py | 15 +-- .../operations/_dictionary_operations.py | 15 +-- .../operations/_flattencomplex_operations.py | 15 +-- .../operations/_inheritance_operations.py | 15 +-- .../_polymorphicrecursive_operations.py | 15 +-- .../operations/_polymorphism_operations.py | 15 +-- .../operations/_primitive_operations.py | 15 +-- .../_readonlyproperty_operations.py | 15 +-- .../aio/operations/_array_operations.py | 15 +-- .../aio/operations/_basic_operations.py | 15 +-- .../aio/operations/_dictionary_operations.py | 15 +-- .../operations/_flattencomplex_operations.py | 15 +-- .../aio/operations/_inheritance_operations.py | 15 +-- .../_polymorphicrecursive_operations.py | 15 +-- .../operations/_polymorphism_operations.py | 15 +-- .../aio/operations/_primitive_operations.py | 15 +-- .../_readonlyproperty_operations.py | 15 +-- .../operations/_array_operations.py | 15 +-- .../operations/_basic_operations.py | 15 +-- .../operations/_dictionary_operations.py | 15 +-- .../operations/_flattencomplex_operations.py | 15 +-- .../operations/_inheritance_operations.py | 15 +-- .../_polymorphicrecursive_operations.py | 15 +-- .../operations/_polymorphism_operations.py | 15 +-- .../operations/_primitive_operations.py | 15 +-- .../_readonlyproperty_operations.py | 15 +-- .../aio/operations/_date_operations.py | 15 +-- .../bodydate/operations/_date_operations.py | 15 +-- .../aio/operations/_datetime_operations.py | 15 +-- .../operations/_datetime_operations.py | 15 +-- .../operations/_datetimerfc1123_operations.py | 15 +-- .../operations/_datetimerfc1123_operations.py | 15 +-- .../aio/operations/_dictionary_operations.py | 15 +-- .../operations/_dictionary_operations.py | 15 +-- .../aio/operations/_duration_operations.py | 15 +-- .../operations/_duration_operations.py | 15 +-- .../aio/operations/_files_operations.py | 15 +-- .../bodyfile/operations/_files_operations.py | 15 +-- .../aio/operations/_formdata_operations.py | 15 +-- .../operations/_formdata_operations.py | 15 +-- .../_formdataurlencoded_operations.py | 15 +-- .../_formdataurlencoded_operations.py | 15 +-- .../aio/operations/_int_operations.py | 15 +-- .../bodyinteger/operations/_int_operations.py | 15 +-- .../aio/operations/_number_operations.py | 15 +-- .../operations/_number_operations.py | 15 +-- .../aio/operations/_enum_operations.py | 15 +-- .../aio/operations/_string_operations.py | 15 +-- .../bodystring/operations/_enum_operations.py | 15 +-- .../operations/_string_operations.py | 15 +-- .../aio/operations/_time_operations.py | 15 +-- .../bodytime/operations/_time_operations.py | 15 +-- .../aio/operations/_contants_operations.py | 15 +-- .../operations/_contants_operations.py | 15 +-- .../aio/operations/_paths_operations.py | 15 +-- .../operations/_paths_operations.py | 15 +-- .../aio/operations/_paths_operations.py | 15 +-- .../operations/_paths_operations.py | 15 +-- .../aio/operations/_pet_operations.py | 15 +-- .../operations/_pet_operations.py | 15 +-- .../aio/operations/_header_operations.py | 15 +-- .../header/operations/_header_operations.py | 15 +-- .../_http_client_failure_operations.py | 15 +-- .../operations/_http_failure_operations.py | 15 +-- .../operations/_http_redirects_operations.py | 15 +-- .../aio/operations/_http_retry_operations.py | 15 +-- .../_http_server_failure_operations.py | 15 +-- .../operations/_http_success_operations.py | 15 +-- .../_multiple_responses_operations.py | 15 +-- .../_http_client_failure_operations.py | 15 +-- .../operations/_http_failure_operations.py | 15 +-- .../operations/_http_redirects_operations.py | 15 +-- .../operations/_http_retry_operations.py | 15 +-- .../_http_server_failure_operations.py | 15 +-- .../operations/_http_success_operations.py | 15 +-- .../_multiple_responses_operations.py | 15 +-- .../aio/operations/_float_operations.py | 13 +- .../aio/operations/_int_operations.py | 13 +- .../operations/_float_operations.py | 13 +- .../operations/_int_operations.py | 13 +- .../_availability_sets_operations.py | 15 +-- .../_availability_sets_operations.py | 15 +-- .../aio/operations/_explicit_operations.py | 15 +-- .../aio/operations/_implicit_operations.py | 15 +-- .../operations/_explicit_operations.py | 15 +-- .../operations/_implicit_operations.py | 15 +-- .../_import_operations_operations.py | 15 +-- .../_import_operations_operations.py | 15 +-- .../aio/operations/_path_items_operations.py | 15 +-- .../url/aio/operations/_paths_operations.py | 15 +-- .../url/aio/operations/_queries_operations.py | 15 +-- .../url/operations/_path_items_operations.py | 15 +-- .../Url/url/operations/_paths_operations.py | 15 +-- .../Url/url/operations/_queries_operations.py | 15 +-- .../aio/operations/_queries_operations.py | 15 +-- .../operations/_queries_operations.py | 15 +-- .../aio/operations/_xml_operations.py | 15 +-- .../xmlservice/operations/_xml_operations.py | 15 +-- .../aio/operations/_pet_operations.py | 15 +-- .../operations/_pet_operations.py | 15 +-- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 117 +++++++----------- .../operations/_operations.py | 117 +++++++----------- .../aio/operations/_operations.py | 117 +++++++----------- .../operations/_operations.py | 117 +++++++----------- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 26 ++-- .../operations/_operations.py | 26 ++-- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 91 ++++++-------- .../operations/_operations.py | 91 ++++++-------- .../aio/operations/_operations.py | 26 ++-- .../operations/_operations.py | 26 ++-- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 26 ++-- .../operations/_operations.py | 26 ++-- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 39 +++--- .../operations/_operations.py | 39 +++--- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- .../aio/operations/_operations.py | 13 +- .../operations/_operations.py | 13 +- 333 files changed, 2046 insertions(+), 3716 deletions(-) diff --git a/autorest/codegen/templates/operation_group.py.jinja2 b/autorest/codegen/templates/operation_group.py.jinja2 index 2271164e6c2..df6de303f2a 100644 --- a/autorest/codegen/templates/operation_group.py.jinja2 +++ b/autorest/codegen/templates/operation_group.py.jinja2 @@ -1,19 +1,13 @@ {% set disable = " # pylint: disable=too-many-public-methods" if operation_group.operations | length > 20 else "" %} +{% set client_full_path = "~" + code_model.namespace + (".aio." if async_mode else ".") + code_model.class_name %} class {{ operation_group.class_name }}{{ object_base_class }}:{{ disable }} {% if not operation_group.is_empty_operation_group %} - """{{ operation_group.class_name }} {{ operations_description }}. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. -{% if code_model.schemas and code_model.options["models_mode"] %} - :ivar models: Alias to model classes used in this operation group. - :type models: ~{{ code_model.namespace }}.models -{% endif %} - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`{{ client_full_path }}`'s + :attr:`{{ client_full_path }}.{{ operation_group.name }}` attribute. """ {% if code_model.schemas and code_model.options["models_mode"] %} diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py index 24225c94f94..ae1a184d1b6 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py @@ -20,15 +20,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.key.credential.sample.aio.AutoRestHeadTestService`'s + :attr:`~azure.key.credential.sample.aio.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py index 852e31d90ea..2db0faf31d7 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py @@ -71,15 +71,12 @@ def build_head404_request( # fmt: on class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.key.credential.sample.AutoRestHeadTestService`'s + :attr:`~azure.key.credential.sample.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py index 24225c94f94..3eb6d264300 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py @@ -20,15 +20,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.basic.sample.aio.AutoRestHeadTestService`'s + :attr:`~azure.basic.sample.aio.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py index 852e31d90ea..d1d99368e0d 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py @@ -71,15 +71,12 @@ def build_head404_request( # fmt: on class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.basic.sample.AutoRestHeadTestService`'s + :attr:`~azure.basic.sample.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py index 26d5d2f349a..e11c8315f81 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py @@ -21,15 +21,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.mgmt.sample.aio.AutoRestHeadTestService`'s + :attr:`~azure.mgmt.sample.aio.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py index 1078ca17e81..02ee079322e 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py @@ -72,15 +72,12 @@ def build_head404_request( # fmt: on class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.mgmt.sample.AutoRestHeadTestService`'s + :attr:`~azure.mgmt.sample.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py index ab97910d511..afda26668cd 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v1.aio.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v1.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py index 77de206024d..dbc89184055 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py @@ -58,17 +58,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v1.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v1.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py index aeadfc85bfa..4d147090d72 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py index 009318acf8e..ad0db2787ba 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py index 56ced98e300..eb154e43972 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py @@ -88,17 +88,12 @@ def build_test_three_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v2.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py index 01a2eb9e877..799dfc4c106 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py @@ -60,17 +60,12 @@ def build_test_four_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v2.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py index 21082e435b6..8935591e7d0 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py index dd420328d32..0b12f9ee471 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py index c683e43568b..2178f9f9b76 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py @@ -61,17 +61,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v3.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py index 6de7eb9747e..ad05a6ea173 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py @@ -88,17 +88,12 @@ def build_test_five_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.multiapi.sample.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.MultiapiServiceClient`'s + :attr:`~azure.multiapi.sample.v3.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py index 411e31ce4da..7eae8d6839b 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -35,17 +35,12 @@ class DurationOperations: - """DurationOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyduration.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyduration.aio.AutoRestDurationTestService`'s + :attr:`~bodyduration.aio.AutoRestDurationTestService.duration` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py index f85d20ccea4..c8b5c7196ff 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py @@ -122,17 +122,12 @@ def build_get_invalid_request( # fmt: on class DurationOperations(object): - """DurationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyduration.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyduration.AutoRestDurationTestService`'s + :attr:`~bodyduration.AutoRestDurationTestService.duration` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py index 1f2cf10ff3d..8250fd98515 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py @@ -35,17 +35,12 @@ class ParameterGroupingOperations: - """ParameterGroupingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azureparametergrouping.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azureparametergrouping.aio.AutoRestParameterGroupingTestService`'s + :attr:`~azureparametergrouping.aio.AutoRestParameterGroupingTestService.parameter_grouping` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py index 7ab95ba39c8..ec99b22992c 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py @@ -206,17 +206,12 @@ def build_post_shared_parameter_group_object_request( # fmt: on class ParameterGroupingOperations(object): - """ParameterGroupingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azureparametergrouping.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azureparametergrouping.AutoRestParameterGroupingTestService`'s + :attr:`~azureparametergrouping.AutoRestParameterGroupingTestService.parameter_grouping` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py index 678984438c2..599084c4d64 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py @@ -35,17 +35,12 @@ class ApiVersionDefaultOperations: - """ApiVersionDefaultOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py index b49d45186ee..1f9c4ce7f86 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py @@ -35,17 +35,12 @@ class ApiVersionLocalOperations: - """ApiVersionLocalOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py index 071cdd85359..3f6f1e0ee21 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py @@ -34,17 +34,12 @@ class HeaderOperations: - """HeaderOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py index 209ce492c94..8cd6423539a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py @@ -30,17 +30,12 @@ class OdataOperations: - """OdataOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.odata` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py index dfa423b11c7..4977655275f 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py @@ -38,17 +38,12 @@ class SkipUrlEncodingOperations: - """SkipUrlEncodingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py index b5f74f1ef82..4822919c646 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py @@ -36,17 +36,12 @@ class SubscriptionInCredentialsOperations: - """SubscriptionInCredentialsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py index 7ad8804ed53..68745950f7e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py @@ -35,17 +35,12 @@ class SubscriptionInMethodOperations: - """SubscriptionInMethodOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py index 373ec7acefc..7d974971526 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py @@ -30,17 +30,12 @@ class XMsClientRequestIdOperations: - """XMsClientRequestIdOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py index af1f4e09746..a09a452defc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py @@ -145,17 +145,12 @@ def build_get_swagger_global_valid_request( # fmt: on class ApiVersionDefaultOperations(object): - """ApiVersionDefaultOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py index a26c4463f4c..9b287826333 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py @@ -146,17 +146,12 @@ def build_get_swagger_local_valid_request( # fmt: on class ApiVersionLocalOperations(object): - """ApiVersionLocalOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py index 33e1fe43167..4d710ea6c3d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py @@ -106,17 +106,12 @@ def build_custom_named_request_id_head_request( # fmt: on class HeaderOperations(object): - """HeaderOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py index f1459a2060e..21b033d22fa 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py @@ -71,17 +71,12 @@ def build_get_with_filter_request( # fmt: on class OdataOperations(object): - """OdataOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.odata` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py index 6aa4d0ecf7b..50b9c9162cb 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py @@ -225,17 +225,12 @@ def build_get_swagger_query_valid_request( # fmt: on class SkipUrlEncodingOperations(object): - """SkipUrlEncodingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py index 61a18656751..14639821d3b 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py @@ -174,17 +174,12 @@ def build_post_swagger_global_valid_request( # fmt: on class SubscriptionInCredentialsOperations(object): - """SubscriptionInCredentialsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py index d146d05afbf..c4dabed6239 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py @@ -141,17 +141,12 @@ def build_post_swagger_local_valid_request( # fmt: on class SubscriptionInMethodOperations(object): - """SubscriptionInMethodOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py index 1dbe58f1c47..7c4faa01fae 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py @@ -74,17 +74,12 @@ def build_param_get_request( # fmt: on class XMsClientRequestIdOperations(object): - """XMsClientRequestIdOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~azurespecialproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index 43fb69b4507..34debe33947 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -29,17 +29,12 @@ class PathsOperations: - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurl.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurl.aio.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurl.aio.AutoRestParameterizedHostTestClient.paths` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index 6cfa1645406..5776eba8e8b 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -56,17 +56,12 @@ def build_get_empty_request( # fmt: on class PathsOperations(object): - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurl.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurl.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurl.AutoRestParameterizedHostTestClient.paths` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py index 665804fc3c4..3125605b186 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py @@ -27,17 +27,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class PagingOperations: - """PagingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custompollerpager.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custompollerpager.aio.AutoRestPagingTestService`'s + :attr:`~custompollerpager.aio.AutoRestPagingTestService.paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py index f1768b6f9e6..3aa23ca764e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py @@ -581,17 +581,12 @@ def build_get_paging_model_with_item_name_with_xms_client_name_request( # fmt: on class PagingOperations(object): - """PagingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custompollerpager.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custompollerpager.AutoRestPagingTestService`'s + :attr:`~custompollerpager.AutoRestPagingTestService.paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py index e30b0f596cc..0b2e84c9460 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py @@ -34,17 +34,12 @@ class PagingOperations: - """PagingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurlpaging.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlpaging.aio.AutoRestParameterizedHostTestPagingClient`'s + :attr:`~custombaseurlpaging.aio.AutoRestParameterizedHostTestPagingClient.paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py index 4176ae5bb82..b0e9fbd57a0 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py @@ -104,17 +104,12 @@ def build_get_pages_partial_url_operation_next_request( # fmt: on class PagingOperations(object): - """PagingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurlpaging.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlpaging.AutoRestParameterizedHostTestPagingClient`'s + :attr:`~custombaseurlpaging.AutoRestParameterizedHostTestPagingClient.paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py index c8660913cf7..5adeb388d75 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py @@ -29,15 +29,12 @@ class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~head.aio.AutoRestHeadTestService`'s + :attr:`~head.aio.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py index 9ab5d0c1561..2e5dd04b6fb 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py @@ -79,15 +79,12 @@ def build_head404_request( # fmt: on class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~head.AutoRestHeadTestService`'s + :attr:`~head.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py index c0422291ca6..dc70ed757f3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py @@ -29,15 +29,12 @@ class HeadExceptionOperations: - """HeadExceptionOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headexceptions.aio.AutoRestHeadExceptionTestService`'s + :attr:`~headexceptions.aio.AutoRestHeadExceptionTestService.head_exception` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py index 9263c76340b..bfd401a127b 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py @@ -79,15 +79,12 @@ def build_head404_request( # fmt: on class HeadExceptionOperations(object): - """HeadExceptionOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headexceptions.AutoRestHeadExceptionTestService`'s + :attr:`~headexceptions.AutoRestHeadExceptionTestService.head_exception` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py index c8660913cf7..bc61a0246cd 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py @@ -29,15 +29,12 @@ class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headwithazurekeycredentialpolicy.aio.AutoRestHeadTestService`'s + :attr:`~headwithazurekeycredentialpolicy.aio.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py index 9ab5d0c1561..04908da164b 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py @@ -79,15 +79,12 @@ def build_head404_request( # fmt: on class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headwithazurekeycredentialpolicy.AutoRestHeadTestService`'s + :attr:`~headwithazurekeycredentialpolicy.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py index 0e4f35f0dca..de79c52fcfb 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py @@ -37,17 +37,12 @@ class LROsCustomHeaderOperations: - """LROsCustomHeaderOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py index 93b641f0b60..a2bb2a2fe00 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py @@ -40,17 +40,12 @@ class LRORetrysOperations: - """LRORetrysOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lro_retrys` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py index 779ae92d1d6..31547796147 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py @@ -77,17 +77,12 @@ class LROsOperations: # pylint: disable=too-many-public-methods - """LROsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lros` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py index d23fc414982..b559bc78ebf 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py @@ -59,17 +59,12 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods - """LROSADsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lrosads` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py index a78f9c065e2..f4a372735d4 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py @@ -136,17 +136,12 @@ def build_post_async_retry_succeeded_request_initial( # fmt: on class LROsCustomHeaderOperations(object): - """LROsCustomHeaderOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py index 9685ddf0374..f0ba5222544 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py @@ -196,17 +196,12 @@ def build_post_async_relative_retry_succeeded_request_initial( # fmt: on class LRORetrysOperations(object): - """LRORetrysOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.AutoRestLongRunningOperationTestService.lro_retrys` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py index e32e9db0af9..6f745fcb0a1 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py @@ -1028,17 +1028,12 @@ def build_post_async_retrycanceled_request_initial( # fmt: on class LROsOperations(object): # pylint: disable=too-many-public-methods - """LROsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.AutoRestLongRunningOperationTestService.lros` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py index c5a8f423358..a351d1a45d3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py @@ -632,17 +632,12 @@ def build_post_async_relative_retry_invalid_json_polling_request_initial( # fmt: on class LROSADsOperations(object): # pylint: disable=too-many-public-methods - """LROSADsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~lro.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`~lro.AutoRestLongRunningOperationTestService.lrosads` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py index 2b4b90aef67..bb7aab34e2a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py @@ -55,17 +55,12 @@ class PagingOperations: - """PagingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~paging.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~paging.aio.AutoRestPagingTestService`'s + :attr:`~paging.aio.AutoRestPagingTestService.paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py index 92c3e467e1d..d171bd026fd 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py @@ -586,17 +586,12 @@ def build_get_paging_model_with_item_name_with_xms_client_name_request( # fmt: on class PagingOperations(object): - """PagingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~paging.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~paging.AutoRestPagingTestService`'s + :attr:`~paging.AutoRestPagingTestService.paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py index efbf27fc48c..2661ae00f4d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py @@ -44,17 +44,12 @@ class StorageAccountsOperations: - """StorageAccountsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~storage.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storage.aio.StorageManagementClient`'s + :attr:`~storage.aio.StorageManagementClient.storage_accounts` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py index 2c401d619c1..24e08b1c429 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py @@ -30,17 +30,12 @@ class UsageOperations: - """UsageOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~storage.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storage.aio.StorageManagementClient`'s + :attr:`~storage.aio.StorageManagementClient.usage` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py index 5aa449234fa..879bae7cf47 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py @@ -370,17 +370,12 @@ def build_regenerate_key_request( # fmt: on class StorageAccountsOperations(object): - """StorageAccountsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~storage.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storage.StorageManagementClient`'s + :attr:`~storage.StorageManagementClient.storage_accounts` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py index 7ea8faaeb5d..8663dcd49fe 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py @@ -71,17 +71,12 @@ def build_list_request( # fmt: on class UsageOperations(object): - """UsageOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~storage.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storage.StorageManagementClient`'s + :attr:`~storage.StorageManagementClient.usage` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py index 7e86102e11c..76a6456d440 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py @@ -30,17 +30,12 @@ class GroupOperations: - """GroupOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~subscriptionidapiversion.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~subscriptionidapiversion.aio.MicrosoftAzureTestUrl`'s + :attr:`~subscriptionidapiversion.aio.MicrosoftAzureTestUrl.group` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py index 09f5fccc2bd..726a1a2b2a2 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py @@ -73,17 +73,12 @@ def build_get_sample_resource_group_request( # fmt: on class GroupOperations(object): - """GroupOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~subscriptionidapiversion.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~subscriptionidapiversion.MicrosoftAzureTestUrl`'s + :attr:`~subscriptionidapiversion.MicrosoftAzureTestUrl.group` attribute. """ models = _models diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index 4454eaeae4e..546907b3db3 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -34,15 +34,12 @@ class DurationOperations: - """DurationOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydurationversiontolerant.aio.AutoRestDurationTestService`'s + :attr:`~bodydurationversiontolerant.aio.AutoRestDurationTestService.duration` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index 7f4b9365e0f..9217d509246 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -86,15 +86,12 @@ def build_duration_get_invalid_request(**kwargs: Any) -> HttpRequest: class DurationOperations(object): - """DurationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydurationversiontolerant.AutoRestDurationTestService`'s + :attr:`~bodydurationversiontolerant.AutoRestDurationTestService.duration` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py index 16f91332a2f..5aa5da47ee6 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py @@ -34,15 +34,12 @@ class ParameterGroupingOperations: - """ParameterGroupingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azureparametergroupingversiontolerant.aio.AutoRestParameterGroupingTestService`'s + :attr:`~azureparametergroupingversiontolerant.aio.AutoRestParameterGroupingTestService.parameter_grouping` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py index 2d9db89e719..05ddbb1e4d7 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py @@ -169,15 +169,12 @@ def build_parameter_grouping_post_shared_parameter_group_object_request( class ParameterGroupingOperations(object): - """ParameterGroupingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azureparametergroupingversiontolerant.AutoRestParameterGroupingTestService`'s + :attr:`~azureparametergroupingversiontolerant.AutoRestParameterGroupingTestService.parameter_grouping` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py index 4e2e3ed96f6..9a6df294db4 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py @@ -59,15 +59,12 @@ class XMsClientRequestIdOperations: - """XMsClientRequestIdOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -141,15 +138,12 @@ async def param_get( # pylint: disable=inconsistent-return-statements class SubscriptionInCredentialsOperations: - """SubscriptionInCredentialsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -315,15 +309,12 @@ async def post_swagger_global_valid(self, **kwargs: Any) -> None: # pylint: dis class SubscriptionInMethodOperations: - """SubscriptionInMethodOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -473,15 +464,12 @@ async def post_swagger_local_valid( # pylint: disable=inconsistent-return-state class ApiVersionDefaultOperations: - """ApiVersionDefaultOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -618,15 +606,12 @@ async def get_swagger_global_valid(self, **kwargs: Any) -> None: # pylint: disa class ApiVersionLocalOperations: - """ApiVersionLocalOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -774,15 +759,12 @@ async def get_swagger_local_valid(self, **kwargs: Any) -> None: # pylint: disab class SkipUrlEncodingOperations: - """SkipUrlEncodingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1028,15 +1010,12 @@ async def get_swagger_query_valid(self, **kwargs: Any) -> None: # pylint: disab class OdataOperations: - """OdataOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.odata` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1087,15 +1066,12 @@ async def get_with_filter( # pylint: disable=inconsistent-return-statements class HeaderOperations: - """HeaderOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.header` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py index 52c4f5ee6a9..f9c9f0171c3 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py @@ -560,15 +560,12 @@ def build_header_custom_named_request_id_head_request(*, foo_client_request_id: class XMsClientRequestIdOperations(object): - """XMsClientRequestIdOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -642,15 +639,12 @@ def param_get( # pylint: disable=inconsistent-return-statements class SubscriptionInCredentialsOperations(object): - """SubscriptionInCredentialsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -816,15 +810,12 @@ def post_swagger_global_valid(self, **kwargs: Any) -> None: # pylint: disable=i class SubscriptionInMethodOperations(object): - """SubscriptionInMethodOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -974,15 +965,12 @@ def post_swagger_local_valid( # pylint: disable=inconsistent-return-statements class ApiVersionDefaultOperations(object): - """ApiVersionDefaultOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1119,15 +1107,12 @@ def get_swagger_global_valid(self, **kwargs: Any) -> None: # pylint: disable=in class ApiVersionLocalOperations(object): - """ApiVersionLocalOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1275,15 +1260,12 @@ def get_swagger_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inc class SkipUrlEncodingOperations(object): - """SkipUrlEncodingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1527,15 +1509,12 @@ def get_swagger_query_valid(self, **kwargs: Any) -> None: # pylint: disable=inc class OdataOperations(object): - """OdataOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.odata` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1586,15 +1565,12 @@ def get_with_filter( # pylint: disable=inconsistent-return-statements class HeaderOperations(object): - """HeaderOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.header` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 9256bde8d0e..77929c9f785 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -27,15 +27,12 @@ class PathsOperations: - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient.paths` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index 9ae75c523e6..b453e8a6687 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -41,15 +41,12 @@ def build_paths_get_empty_request(**kwargs: Any) -> HttpRequest: class PathsOperations(object): - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient.paths` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py index bf928a57ab8..31c19f62711 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py @@ -56,15 +56,12 @@ class PagingOperations: - """PagingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custompollerpagerversiontolerant.aio.AutoRestPagingTestService`'s + :attr:`~custompollerpagerversiontolerant.aio.AutoRestPagingTestService.paging` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py index 215f3422282..46ab04154e2 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py @@ -408,15 +408,12 @@ def build_paging_get_paging_model_with_item_name_with_xms_client_name_request(** class PagingOperations(object): - """PagingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custompollerpagerversiontolerant.AutoRestPagingTestService`'s + :attr:`~custompollerpagerversiontolerant.AutoRestPagingTestService.paging` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py index 0e559ca2bea..5c9e6e14397 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py @@ -33,15 +33,12 @@ class PagingOperations: - """PagingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlpagingversiontolerant.aio.AutoRestParameterizedHostTestPagingClient`'s + :attr:`~custombaseurlpagingversiontolerant.aio.AutoRestParameterizedHostTestPagingClient.paging` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py index 64e97536e4e..82d3b44dd8b 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py @@ -75,15 +75,12 @@ def build_paging_get_pages_partial_url_operation_next_request(next_link: str, ** class PagingOperations(object): - """PagingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlpagingversiontolerant.AutoRestParameterizedHostTestPagingClient`'s + :attr:`~custombaseurlpagingversiontolerant.AutoRestParameterizedHostTestPagingClient.paging` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py index 477ab94c844..0d366845581 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py @@ -32,15 +32,12 @@ class HeadExceptionOperations: - """HeadExceptionOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headexceptionsversiontolerant.aio.AutoRestHeadExceptionTestService`'s + :attr:`~headexceptionsversiontolerant.aio.AutoRestHeadExceptionTestService.head_exception` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py index 2d938103f1e..3427ae6d793 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py @@ -52,15 +52,12 @@ def build_head_exception_head404_request(**kwargs: Any) -> HttpRequest: class HeadExceptionOperations(object): - """HeadExceptionOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headexceptionsversiontolerant.AutoRestHeadExceptionTestService`'s + :attr:`~headexceptionsversiontolerant.AutoRestHeadExceptionTestService.head_exception` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py index 20ac7d646cb..3e9d6f2cf88 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py @@ -32,15 +32,12 @@ class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headversiontolerant.aio.AutoRestHeadTestService`'s + :attr:`~headversiontolerant.aio.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py index 0f5497e01a0..0c7c07c5367 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py @@ -52,15 +52,12 @@ def build_http_success_head404_request(**kwargs: Any) -> HttpRequest: class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headversiontolerant.AutoRestHeadTestService`'s + :attr:`~headversiontolerant.AutoRestHeadTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py index 9defa1b18d8..e21f028869b 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py @@ -113,15 +113,12 @@ class LROsOperations: # pylint: disable=too-many-public-methods - """LROsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lros` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -5232,15 +5229,12 @@ def get_long_running_output(pipeline_response): class LRORetrysOperations: - """LRORetrysOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lro_retrys` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -6012,15 +6006,12 @@ def get_long_running_output(pipeline_response): class LROSADsOperations: # pylint: disable=too-many-public-methods - """LROSADsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lrosads` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -8903,15 +8894,12 @@ def get_long_running_output(pipeline_response): class LROsCustomHeaderOperations: - """LROsCustomHeaderOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py index 60e389d601b..b210ab1e894 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py @@ -1324,15 +1324,12 @@ def build_lr_os_custom_header_post_async_retry_succeeded_request_initial( class LROsOperations(object): # pylint: disable=too-many-public-methods - """LROsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lros` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -6407,15 +6404,12 @@ def get_long_running_output(pipeline_response): class LRORetrysOperations(object): - """LRORetrysOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lro_retrys` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -7179,15 +7173,12 @@ def get_long_running_output(pipeline_response): class LROSADsOperations(object): # pylint: disable=too-many-public-methods - """LROSADsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lrosads` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -10048,15 +10039,12 @@ def get_long_running_output(pipeline_response): class LROsCustomHeaderOperations(object): - """LROsCustomHeaderOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py index 1a2a30178c9..0d091c2521e 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py @@ -54,15 +54,12 @@ class PagingOperations: - """PagingOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~pagingversiontolerant.aio.AutoRestPagingTestService`'s + :attr:`~pagingversiontolerant.aio.AutoRestPagingTestService.paging` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py index 205a52f9081..2f59c02f034 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py @@ -406,15 +406,12 @@ def build_paging_get_paging_model_with_item_name_with_xms_client_name_request(** class PagingOperations(object): - """PagingOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~pagingversiontolerant.AutoRestPagingTestService`'s + :attr:`~pagingversiontolerant.AutoRestPagingTestService.paging` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py index 07304d9e4fc..51c01989c64 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py @@ -44,15 +44,12 @@ class StorageAccountsOperations: - """StorageAccountsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storageversiontolerant.aio.StorageManagementClient`'s + :attr:`~storageversiontolerant.aio.StorageManagementClient.storage_accounts` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1097,15 +1094,12 @@ async def regenerate_key( class UsageOperations: - """UsageOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storageversiontolerant.aio.StorageManagementClient`'s + :attr:`~storageversiontolerant.aio.StorageManagementClient.usage` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py index d43ed7ecfd7..67f2b2f2190 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py @@ -355,15 +355,12 @@ def build_usage_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest class StorageAccountsOperations(object): - """StorageAccountsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storageversiontolerant.StorageManagementClient`'s + :attr:`~storageversiontolerant.StorageManagementClient.storage_accounts` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1408,15 +1405,12 @@ def regenerate_key( class UsageOperations(object): - """UsageOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~storageversiontolerant.StorageManagementClient`'s + :attr:`~storageversiontolerant.StorageManagementClient.usage` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py index f426a73d373..c7ff2b173a2 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py @@ -29,15 +29,12 @@ class GroupOperations: - """GroupOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~subscriptionidapiversionversiontolerant.aio.MicrosoftAzureTestUrl`'s + :attr:`~subscriptionidapiversionversiontolerant.aio.MicrosoftAzureTestUrl.group` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py index 3b2ae3f75c0..3ae736f4532 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py @@ -60,15 +60,12 @@ def build_group_get_sample_resource_group_request( class GroupOperations(object): - """GroupOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~subscriptionidapiversionversiontolerant.MicrosoftAzureTestUrl`'s + :attr:`~subscriptionidapiversionversiontolerant.MicrosoftAzureTestUrl.group` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py index 984e1bd7096..d8befc5f45d 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py @@ -34,15 +34,12 @@ class ParamsOperations: - """ParamsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~dpgservicedriveninitialversiontolerant.aio.DPGClient`'s + :attr:`~dpgservicedriveninitialversiontolerant.aio.DPGClient.params` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py index 3d5b8dd2a45..aa8110ae704 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py @@ -112,15 +112,12 @@ def build_params_get_optional_request(*, optional_param: Optional[str] = None, * class ParamsOperations(object): - """ParamsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~dpgservicedriveninitialversiontolerant.DPGClient`'s + :attr:`~dpgservicedriveninitialversiontolerant.DPGClient.params` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py index 9bbd443dec0..a626d886b32 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py @@ -36,15 +36,12 @@ class ParamsOperations: - """ParamsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~dpgservicedrivenupdateoneversiontolerant.aio.DPGClient`'s + :attr:`~dpgservicedrivenupdateoneversiontolerant.aio.DPGClient.params` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py index 10aeddf8930..9ea3f1435c6 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py @@ -146,15 +146,12 @@ def build_params_get_new_operation_request(**kwargs: Any) -> HttpRequest: class ParamsOperations(object): - """ParamsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~dpgservicedrivenupdateoneversiontolerant.DPGClient`'s + :attr:`~dpgservicedrivenupdateoneversiontolerant.DPGClient.params` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py index cc2c6a0dc30..2e4e9c7d76a 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v0.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v0.aio.MultiapiServiceClient`'s + :attr:`~multiapi.v0.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py index 65ff48215d8..36c96db8714 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py @@ -58,17 +58,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v0.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v0.MultiapiServiceClient`'s + :attr:`~multiapi.v0.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py index 4271f61580e..8f5bb15fee3 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v1.aio.MultiapiServiceClient`'s + :attr:`~multiapi.v1.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py index 6f734c92175..09f8f68c9cc 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py @@ -58,17 +58,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v1.MultiapiServiceClient`'s + :attr:`~multiapi.v1.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py index f3c7fc4cc7c..7da227894af 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapi.v2.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py index e6dac67ac59..eb0b11fae29 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapi.v2.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py index 70e3f8db586..89bdbc882ea 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py @@ -88,17 +88,12 @@ def build_test_three_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v2.MultiapiServiceClient`'s + :attr:`~multiapi.v2.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py index 627a700a631..984637b3927 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py @@ -60,17 +60,12 @@ def build_test_four_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v2.MultiapiServiceClient`'s + :attr:`~multiapi.v2.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py index e6ad8e869d2..4cac21369f7 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapi.v3.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py index 4bde1c84b03..a6a39a91cc8 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapi.v3.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py index ac5ef1e0e2c..c9220ff8071 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py @@ -61,17 +61,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v3.MultiapiServiceClient`'s + :attr:`~multiapi.v3.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py index 2162d85820d..bbeda84576b 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py @@ -88,17 +88,12 @@ def build_test_five_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapi.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapi.v3.MultiapiServiceClient`'s + :attr:`~multiapi.v3.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py index 956b3fe4e1d..632659658a9 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v1.aio.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v1.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py index 105a72c7a1e..85bf2be4c64 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py @@ -58,17 +58,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v1.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v1.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py index e3efce4143f..08a841d66b8 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py index 715a1071981..ac8b09d5d9d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py index 32f2f684e01..e48fd13b27f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py @@ -88,17 +88,12 @@ def build_test_three_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py index 75ab9dc4f21..5d218de008d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py @@ -60,17 +60,12 @@ def build_test_four_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py index e283f3233ac..5d8bf21f3a3 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py index 89493d574cb..efc63972e48 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py index 98bbb624c0d..70af31feda9 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py @@ -61,17 +61,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py index 66ca68631a2..f19951ebdd3 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py @@ -88,17 +88,12 @@ def build_test_five_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapicredentialdefaultpolicy.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient`'s + :attr:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py index 525add359a6..a18b4e50d5b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py @@ -21,17 +21,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v1.aio.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v1.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py index 0608044655e..2b4506ed95f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py @@ -57,17 +57,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v1.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v1.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py index a2c8e2b6523..352b691e0aa 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py @@ -21,17 +21,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v2.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py index 4a68a482d38..1aa1a07a0f2 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py @@ -21,17 +21,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v2.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py index a49a4b071eb..e5f7d05150c 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py @@ -87,17 +87,12 @@ def build_test_three_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v2.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v2.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py index 6cf232f0ab9..6775d81d9c1 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py @@ -59,17 +59,12 @@ def build_test_four_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v2.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v2.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py index c479e20f524..490264dab19 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py @@ -21,17 +21,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v3.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py index de9297135c6..152b21c37ac 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py @@ -21,17 +21,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v3.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py index 5a8074fec13..e89746ee84c 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py @@ -60,17 +60,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v3.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v3.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py index df440ca1429..1c3fcf169e0 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py @@ -87,17 +87,12 @@ def build_test_five_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapidataplane.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapidataplane.v3.MultiapiServiceClient`'s + :attr:`~multiapidataplane.v3.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py index 91dbf463fa6..51ec2740b02 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py @@ -58,17 +58,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapinoasync.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapinoasync.v1.MultiapiServiceClient`'s + :attr:`~multiapinoasync.v1.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py index a9066aab0c1..f62c1a14734 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py @@ -88,17 +88,12 @@ def build_test_three_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapinoasync.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapinoasync.v2.MultiapiServiceClient`'s + :attr:`~multiapinoasync.v2.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py index f9eedc6e809..5f760c56d13 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py @@ -60,17 +60,12 @@ def build_test_four_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapinoasync.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapinoasync.v2.MultiapiServiceClient`'s + :attr:`~multiapinoasync.v2.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py index 329aa1d76b2..6fefe755670 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py @@ -61,17 +61,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapinoasync.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapinoasync.v3.MultiapiServiceClient`'s + :attr:`~multiapinoasync.v3.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py index 2240f32b6b5..b5da1eeea81 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py @@ -88,17 +88,12 @@ def build_test_five_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapinoasync.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapinoasync.v3.MultiapiServiceClient`'s + :attr:`~multiapinoasync.v3.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py index 91cbbd6175f..4c7c4d1e4e2 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v1.aio.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v1.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py index ad2d9ceb7cb..405397870d7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py @@ -58,17 +58,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v1.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v1.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v1.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py index 6f1e9b20aaf..8d0d521eb23 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py index aaefb9838ab..d9831166b16 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py index d8ef8975df5..9c475f04daa 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py @@ -88,17 +88,12 @@ def build_test_three_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py index c076f2b3620..d3d82a50882 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py @@ -60,17 +60,12 @@ def build_test_four_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v2.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py index 4d566437ea6..08f9d254469 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupOneOperations: - """OperationGroupOneOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py index 2bc11023be1..2fed2c7f564 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py @@ -22,17 +22,12 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class OperationGroupTwoOperations: - """OperationGroupTwoOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py index 5cc45d79a4a..630f568e4de 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py @@ -61,17 +61,12 @@ def build_test_two_request( # fmt: on class OperationGroupOneOperations(object): - """OperationGroupOneOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient.operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py index 1664d608c0a..72553ede10d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py @@ -88,17 +88,12 @@ def build_test_five_request( # fmt: on class OperationGroupTwoOperations(object): - """OperationGroupTwoOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~multiapiwithsubmodule.submodule.v3.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient`'s + :attr:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient.operation_group_two` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py index 2f652138539..10e53ce9cc5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py @@ -36,17 +36,12 @@ class PetsOperations: - """PetsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~additionalproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~additionalproperties.aio.AdditionalPropertiesClient`'s + :attr:`~additionalproperties.aio.AdditionalPropertiesClient.pets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py index 95c7b5f5b5c..b35e32a0b49 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py @@ -181,17 +181,12 @@ def build_create_ap_in_properties_with_ap_string_request( # fmt: on class PetsOperations(object): - """PetsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~additionalproperties.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~additionalproperties.AdditionalPropertiesClient`'s + :attr:`~additionalproperties.AdditionalPropertiesClient.pets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py index 4b44d46e1bb..12ecf68ef5a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py @@ -100,17 +100,12 @@ class ArrayOperations: # pylint: disable=too-many-public-methods - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyarray.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarray.aio.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarray.aio.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py index dd42b9edcf7..5b3f0fe71cc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py @@ -1490,17 +1490,12 @@ def build_put_dictionary_valid_request( # fmt: on class ArrayOperations(object): # pylint: disable=too-many-public-methods - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyarray.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarray.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarray.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py index 9b2a27b6b86..d6ae04623ca 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py @@ -100,17 +100,12 @@ class ArrayOperations: # pylint: disable=too-many-public-methods - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~vanilla.body.array.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~vanilla.body.array.aio.AutoRestSwaggerBATArrayService`'s + :attr:`~vanilla.body.array.aio.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py index 58a51335377..791d07d46c5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py @@ -1490,17 +1490,12 @@ def build_put_dictionary_valid_request( # fmt: on class ArrayOperations(object): # pylint: disable=too-many-public-methods - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~vanilla.body.array.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~vanilla.body.array.AutoRestSwaggerBATArrayService`'s + :attr:`~vanilla.body.array.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py index 3650022112d..90f1ab756ac 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py @@ -100,17 +100,12 @@ class ArrayOperations: # pylint: disable=too-many-public-methods - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyarraywithpythonthreeoperationfiles.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarraywithpythonthreeoperationfiles.aio.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarraywithpythonthreeoperationfiles.aio.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py index ed088408bc4..e95670a4168 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py @@ -1491,17 +1491,12 @@ def build_put_dictionary_valid_request( # fmt: on class ArrayOperations(object): # pylint: disable=too-many-public-methods - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyarraywithpythonthreeoperationfiles.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py index f55d15ef276..90aaa713b1d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py @@ -937,17 +937,12 @@ def build_put_dictionary_valid_request(*, json: JSONType = None, content: Any = class ArrayOperations(object): # pylint: disable=too-many-public-methods - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyarraywithpythonthreeoperationfiles.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py index 553af8f267a..093ed168988 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py @@ -28,15 +28,12 @@ class UploadOperations: - """UploadOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybinary.aio.BinaryWithContentTypeApplicationJson`'s + :attr:`~bodybinary.aio.BinaryWithContentTypeApplicationJson.upload` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py index a982fed898a..3d01d340d53 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py @@ -80,15 +80,12 @@ def build_binary_request( # fmt: on class UploadOperations(object): - """UploadOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybinary.BinaryWithContentTypeApplicationJson`'s + :attr:`~bodybinary.BinaryWithContentTypeApplicationJson.upload` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py index 8200c520ed5..28bcd45371c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py @@ -36,17 +36,12 @@ class BoolOperations: - """BoolOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyboolean.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyboolean.aio.AutoRestBoolTestService`'s + :attr:`~bodyboolean.aio.AutoRestBoolTestService.bool` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py index aa96a731277..608087ac9f8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py @@ -169,17 +169,12 @@ def build_get_invalid_request( # fmt: on class BoolOperations(object): - """BoolOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyboolean.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyboolean.AutoRestBoolTestService`'s + :attr:`~bodyboolean.AutoRestBoolTestService.bool` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py index 43559a1938c..b9daae798a6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py @@ -35,17 +35,12 @@ class ByteOperations: - """ByteOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodybyte.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybyte.aio.AutoRestSwaggerBATByteService`'s + :attr:`~bodybyte.aio.AutoRestSwaggerBATByteService.byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py index 7722c9add3a..4eb1e7a3026 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py @@ -141,17 +141,12 @@ def build_get_invalid_request( # fmt: on class ByteOperations(object): - """ByteOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodybyte.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybyte.AutoRestSwaggerBATByteService`'s + :attr:`~bodybyte.AutoRestSwaggerBATByteService.byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py index bc8781fc386..6bf615e2b7a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py @@ -35,17 +35,12 @@ class ByteOperations: - """ByteOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodybytewithpackagename.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybytewithpackagename.aio.ClassName`'s + :attr:`~bodybytewithpackagename.aio.ClassName.byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py index 5f1ac558cbe..e45dbb2c796 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py @@ -141,17 +141,12 @@ def build_get_invalid_request( # fmt: on class ByteOperations(object): - """ByteOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodybytewithpackagename.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybytewithpackagename.ClassName`'s + :attr:`~bodybytewithpackagename.ClassName.byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py index 7de1994e4e1..2649e7b631d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py @@ -35,17 +35,12 @@ class ArrayOperations: - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py index 4c8e3fd7eff..2cdf975976b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py @@ -36,17 +36,12 @@ class BasicOperations: - """BasicOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py index 78f10874c38..9b0d246760c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py @@ -36,17 +36,12 @@ class DictionaryOperations: - """DictionaryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py index 1dfb2168ca7..65f8a216309 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py @@ -29,17 +29,12 @@ class FlattencomplexOperations: - """FlattencomplexOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py index a8678022f20..b5684057b34 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py @@ -29,17 +29,12 @@ class InheritanceOperations: - """InheritanceOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py index b0dcc5d8504..d3a18e6a4d3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py @@ -29,17 +29,12 @@ class PolymorphicrecursiveOperations: - """PolymorphicrecursiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py index b6088f159c8..79a4cd92c3a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py @@ -39,17 +39,12 @@ class PolymorphismOperations: - """PolymorphismOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py index c62c8488fd3..5427e65db8d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py @@ -53,17 +53,12 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods - """PrimitiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py index 26330dc56fc..d5a14c336d2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py @@ -29,17 +29,12 @@ class ReadonlypropertyOperations: - """ReadonlypropertyOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplex.aio.AutoRestComplexTestService.readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py index 8c790cb245e..ccc4eeddbc1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py @@ -144,17 +144,12 @@ def build_get_not_provided_request( # fmt: on class ArrayOperations(object): - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py index ccb1e040657..108e93b0c38 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py @@ -166,17 +166,12 @@ def build_get_not_provided_request( # fmt: on class BasicOperations(object): - """BasicOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py index fb4e8cc0c0b..6aa24805e3d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py @@ -164,17 +164,12 @@ def build_get_not_provided_request( # fmt: on class DictionaryOperations(object): - """DictionaryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py index 1731ecbb03f..6033ba73cca 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py @@ -56,17 +56,12 @@ def build_get_valid_request( # fmt: on class FlattencomplexOperations(object): - """FlattencomplexOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py index e41c7b1ef2b..a74b32b359c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py @@ -80,17 +80,12 @@ def build_put_valid_request( # fmt: on class InheritanceOperations(object): - """InheritanceOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py index 11684a0066d..d7bad497e85 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py @@ -80,17 +80,12 @@ def build_put_valid_request( # fmt: on class PolymorphicrecursiveOperations(object): - """PolymorphicrecursiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py index e72a7afb6df..a3ec01514a4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py @@ -232,17 +232,12 @@ def build_put_valid_missing_required_request( # fmt: on class PolymorphismOperations(object): - """PolymorphismOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py index ac40ee85a9c..1c96e627df2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py @@ -521,17 +521,12 @@ def build_put_byte_request( # fmt: on class PrimitiveOperations(object): # pylint: disable=too-many-public-methods - """PrimitiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py index 4493f3f8724..7fafd8c9b3c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py @@ -80,17 +80,12 @@ def build_put_valid_request( # fmt: on class ReadonlypropertyOperations(object): - """ReadonlypropertyOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplex.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`~bodycomplex.AutoRestComplexTestService.readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py index 549c5569fd4..fb99f8fc1eb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py @@ -35,17 +35,12 @@ class ArrayOperations: - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py index 064cb343497..004a5939b2f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py @@ -36,17 +36,12 @@ class BasicOperations: - """BasicOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py index 8d67628d439..8f5a5d4f302 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py @@ -36,17 +36,12 @@ class DictionaryOperations: - """DictionaryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py index c1ea5f2ba29..23ebca02d2b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py @@ -29,17 +29,12 @@ class FlattencomplexOperations: - """FlattencomplexOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py index 7fdc9abf8d0..2646fa36bcc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py @@ -29,17 +29,12 @@ class InheritanceOperations: - """InheritanceOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py index 8306425bb1d..ba854735bf5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py @@ -29,17 +29,12 @@ class PolymorphicrecursiveOperations: - """PolymorphicrecursiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py index af43e2c4041..d4152132cc8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py @@ -39,17 +39,12 @@ class PolymorphismOperations: - """PolymorphismOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py index 28a5835f311..419fb12c05a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py @@ -53,17 +53,12 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods - """PrimitiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py index dd897f5fb76..0ecb01cc94b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py @@ -29,17 +29,12 @@ class ReadonlypropertyOperations: - """ReadonlypropertyOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py index 802f088ee44..b349e37847d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py @@ -102,17 +102,12 @@ def build_get_not_provided_request(**kwargs: Any) -> HttpRequest: class ArrayOperations(object): - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py index d58d77d13e9..84800afb277 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py @@ -123,17 +123,12 @@ def build_get_not_provided_request(**kwargs: Any) -> HttpRequest: class BasicOperations(object): - """BasicOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py index 791013a1671..b91602b8442 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py @@ -114,17 +114,12 @@ def build_get_not_provided_request(**kwargs: Any) -> HttpRequest: class DictionaryOperations(object): - """DictionaryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py index 7ff37954a10..45f174748da 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py @@ -45,17 +45,12 @@ def build_get_valid_request(**kwargs: Any) -> HttpRequest: class FlattencomplexOperations(object): - """FlattencomplexOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py index ccd7a1c8872..9a3c50f60da 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py @@ -62,17 +62,12 @@ def build_put_valid_request(*, json: JSONType = None, content: Any = None, **kwa class InheritanceOperations(object): - """InheritanceOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py index af5f4dae964..a3aab7650b9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py @@ -62,17 +62,12 @@ def build_put_valid_request(*, json: JSONType = None, content: Any = None, **kwa class PolymorphicrecursiveOperations(object): - """PolymorphicrecursiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py index 641883fb60d..c1766eef437 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py @@ -162,17 +162,12 @@ def build_put_valid_missing_required_request( class PolymorphismOperations(object): - """PolymorphismOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py index 369f84d8dc9..3c3631f438c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py @@ -343,17 +343,12 @@ def build_put_byte_request(*, json: JSONType = None, content: Any = None, **kwar class PrimitiveOperations(object): # pylint: disable=too-many-public-methods - """PrimitiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py index 7b4f763ccc6..67d2435dd68 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py @@ -62,17 +62,12 @@ def build_put_valid_request(*, json: JSONType = None, content: Any = None, **kwa class ReadonlypropertyOperations(object): - """ReadonlypropertyOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodycomplexpython3only.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py index 30857fd306c..01f5c26bbc3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py @@ -39,17 +39,12 @@ class DateOperations: - """DateOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydate.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydate.aio.AutoRestDateTestService`'s + :attr:`~bodydate.aio.AutoRestDateTestService.date` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py index 6f098513780..c78e0302e7b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py @@ -206,17 +206,12 @@ def build_get_min_date_request( # fmt: on class DateOperations(object): - """DateOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydate.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydate.AutoRestDateTestService`'s + :attr:`~bodydate.AutoRestDateTestService.date` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py index 49eacf6d963..31ebea1b572 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py @@ -53,17 +53,12 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods - """DatetimeOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydatetime.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetime.aio.AutoRestDateTimeTestService`'s + :attr:`~bodydatetime.aio.AutoRestDateTimeTestService.datetime` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py index 47a89e2117d..bc1f0296d52 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py @@ -506,17 +506,12 @@ def build_get_local_no_offset_min_date_time_request( # fmt: on class DatetimeOperations(object): # pylint: disable=too-many-public-methods - """DatetimeOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydatetime.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetime.AutoRestDateTimeTestService`'s + :attr:`~bodydatetime.AutoRestDateTimeTestService.datetime` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py index 4f379fcf2b0..581d1307ad7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py @@ -40,17 +40,12 @@ class Datetimerfc1123Operations: - """Datetimerfc1123Operations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydatetimerfc1123.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetimerfc1123.aio.AutoRestRFC1123DateTimeTestService`'s + :attr:`~bodydatetimerfc1123.aio.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py index 7d9ab95dcb8..a0be04a4d6a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py @@ -226,17 +226,12 @@ def build_get_utc_min_date_time_request( # fmt: on class Datetimerfc1123Operations(object): - """Datetimerfc1123Operations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydatetimerfc1123.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetimerfc1123.AutoRestRFC1123DateTimeTestService`'s + :attr:`~bodydatetimerfc1123.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py index 2b72673f67a..b1d1bf18ac8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py @@ -96,17 +96,12 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods - """DictionaryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydictionary.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydictionary.aio.AutoRestSwaggerBATDictionaryService`'s + :attr:`~bodydictionary.aio.AutoRestSwaggerBATDictionaryService.dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py index 42e87633c6e..9be7f5713e9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py @@ -1398,17 +1398,12 @@ def build_put_dictionary_valid_request( # fmt: on class DictionaryOperations(object): # pylint: disable=too-many-public-methods - """DictionaryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodydictionary.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydictionary.AutoRestSwaggerBATDictionaryService`'s + :attr:`~bodydictionary.AutoRestSwaggerBATDictionaryService.dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py index 411e31ce4da..7eae8d6839b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -35,17 +35,12 @@ class DurationOperations: - """DurationOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyduration.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyduration.aio.AutoRestDurationTestService`'s + :attr:`~bodyduration.aio.AutoRestDurationTestService.duration` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py index f85d20ccea4..c8b5c7196ff 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py @@ -122,17 +122,12 @@ def build_get_invalid_request( # fmt: on class DurationOperations(object): - """DurationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyduration.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyduration.AutoRestDurationTestService`'s + :attr:`~bodyduration.AutoRestDurationTestService.duration` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py index 573aff33c78..5c14a776e82 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py @@ -33,17 +33,12 @@ class FilesOperations: - """FilesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyfile.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyfile.aio.AutoRestSwaggerBATFileService`'s + :attr:`~bodyfile.aio.AutoRestSwaggerBATFileService.files` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py index 730bc567386..e631478a317 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py @@ -97,17 +97,12 @@ def build_get_empty_file_request( # fmt: on class FilesOperations(object): - """FilesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyfile.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyfile.AutoRestSwaggerBATFileService`'s + :attr:`~bodyfile.AutoRestSwaggerBATFileService.files` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py index b2aa5a02a28..5fa11494dd9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py @@ -33,17 +33,12 @@ class FormdataOperations: - """FormdataOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyformdata.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformdata.aio.AutoRestSwaggerBATFormDataService`'s + :attr:`~bodyformdata.aio.AutoRestSwaggerBATFormDataService.formdata` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py index 9168722a574..909c6f19888 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py @@ -109,17 +109,12 @@ def build_upload_files_request( # fmt: on class FormdataOperations(object): - """FormdataOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyformdata.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformdata.AutoRestSwaggerBATFormDataService`'s + :attr:`~bodyformdata.AutoRestSwaggerBATFormDataService.formdata` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py index ea58a29d1ba..5f44681d327 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py @@ -32,17 +32,12 @@ class FormdataurlencodedOperations: - """FormdataurlencodedOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyformurlencodeddata.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformurlencodeddata.aio.BodyFormsDataURLEncoded`'s + :attr:`~bodyformurlencodeddata.aio.BodyFormsDataURLEncoded.formdataurlencoded` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py index e78ec8cf876..2ea8bf38784 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py @@ -87,17 +87,12 @@ def build_partial_constant_body_request( # fmt: on class FormdataurlencodedOperations(object): - """FormdataurlencodedOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyformurlencodeddata.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformurlencodeddata.BodyFormsDataURLEncoded`'s + :attr:`~bodyformurlencodeddata.BodyFormsDataURLEncoded.formdataurlencoded` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py index d17f23e9e03..4af362f8952 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py @@ -45,17 +45,12 @@ class IntOperations: - """IntOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyinteger.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyinteger.aio.AutoRestIntegerTestService`'s + :attr:`~bodyinteger.aio.AutoRestIntegerTestService.int` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py index 88f8231f55c..3a9810d4bc0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py @@ -338,17 +338,12 @@ def build_get_null_unix_time_request( # fmt: on class IntOperations(object): - """IntOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodyinteger.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyinteger.AutoRestIntegerTestService`'s + :attr:`~bodyinteger.AutoRestIntegerTestService.int` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py index 3086d84b14e..4f488d37056 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py @@ -54,17 +54,12 @@ class NumberOperations: # pylint: disable=too-many-public-methods - """NumberOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodynumber.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodynumber.aio.AutoRestNumberTestService`'s + :attr:`~bodynumber.aio.AutoRestNumberTestService.number` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py index 6455f377a80..9025105e559 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py @@ -565,17 +565,12 @@ def build_get_small_decimal_request( # fmt: on class NumberOperations(object): # pylint: disable=too-many-public-methods - """NumberOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodynumber.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodynumber.AutoRestNumberTestService`'s + :attr:`~bodynumber.AutoRestNumberTestService.number` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py index cedf4269e50..45e33a1693d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py @@ -36,17 +36,12 @@ class EnumOperations: - """EnumOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodystring.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystring.aio.AutoRestSwaggerBATService`'s + :attr:`~bodystring.aio.AutoRestSwaggerBATService.enum` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py index f50d931a31a..394ecb3de87 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py @@ -43,17 +43,12 @@ class StringOperations: - """StringOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodystring.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystring.aio.AutoRestSwaggerBATService`'s + :attr:`~bodystring.aio.AutoRestSwaggerBATService.string` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py index 22a570c7503..635acd4fe7c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py @@ -169,17 +169,12 @@ def build_put_referenced_constant_request( # fmt: on class EnumOperations(object): - """EnumOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodystring.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystring.AutoRestSwaggerBATService`'s + :attr:`~bodystring.AutoRestSwaggerBATService.enum` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py index 8bc09c7fb50..0edd1305744 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py @@ -323,17 +323,12 @@ def build_get_null_base64_url_encoded_request( # fmt: on class StringOperations(object): - """StringOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodystring.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystring.AutoRestSwaggerBATService`'s + :attr:`~bodystring.AutoRestSwaggerBATService.string` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py index 817946bb5d2..136189de38e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py @@ -30,17 +30,12 @@ class TimeOperations: - """TimeOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodytime.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodytime.aio.AutoRestTimeTestService`'s + :attr:`~bodytime.aio.AutoRestTimeTestService.time` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py index 66a6fb41629..8b751ee7d5e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py @@ -82,17 +82,12 @@ def build_put_request( # fmt: on class TimeOperations(object): - """TimeOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~bodytime.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodytime.AutoRestTimeTestService`'s + :attr:`~bodytime.AutoRestTimeTestService.time` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py index 86e529c6e40..66a89e134b1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py @@ -47,17 +47,12 @@ class ContantsOperations: - """ContantsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~constants.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~constants.aio.AutoRestSwaggerConstantService`'s + :attr:`~constants.aio.AutoRestSwaggerConstantService.contants` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py index afc6424b669..d3e63fad9d5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py @@ -414,17 +414,12 @@ def build_put_client_constants_request( # fmt: on class ContantsOperations(object): - """ContantsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~constants.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~constants.AutoRestSwaggerConstantService`'s + :attr:`~constants.AutoRestSwaggerConstantService.contants` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index 43fb69b4507..34debe33947 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -29,17 +29,12 @@ class PathsOperations: - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurl.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurl.aio.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurl.aio.AutoRestParameterizedHostTestClient.paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index 6cfa1645406..5776eba8e8b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -56,17 +56,12 @@ def build_get_empty_request( # fmt: on class PathsOperations(object): - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurl.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurl.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurl.AutoRestParameterizedHostTestClient.paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py index 74dda587809..0eb1eafd0bc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py @@ -29,17 +29,12 @@ class PathsOperations: - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurlmoreoptions.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlmoreoptions.aio.AutoRestParameterizedCustomHostTestClient`'s + :attr:`~custombaseurlmoreoptions.aio.AutoRestParameterizedCustomHostTestClient.paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py index 5cffa509771..e71b2984f4c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py @@ -73,17 +73,12 @@ def build_get_empty_request( # fmt: on class PathsOperations(object): - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~custombaseurlmoreoptions.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlmoreoptions.AutoRestParameterizedCustomHostTestClient`'s + :attr:`~custombaseurlmoreoptions.AutoRestParameterizedCustomHostTestClient.paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py index b2e4399b7be..a3e2812899e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py @@ -29,17 +29,12 @@ class PetOperations: - """PetOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~extensibleenumsswagger.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~extensibleenumsswagger.aio.PetStoreInc`'s + :attr:`~extensibleenumsswagger.aio.PetStoreInc.pet` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py index 234d238a149..3be11ff856e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py @@ -87,17 +87,12 @@ def build_add_pet_request( # fmt: on class PetOperations(object): - """PetOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~extensibleenumsswagger.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~extensibleenumsswagger.PetStoreInc`'s + :attr:`~extensibleenumsswagger.PetStoreInc.pet` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py index 96816044b69..be0d64d3a05 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py @@ -60,17 +60,12 @@ class HeaderOperations: # pylint: disable=too-many-public-methods - """HeaderOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~header.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~header.aio.AutoRestSwaggerBATHeaderService`'s + :attr:`~header.aio.AutoRestSwaggerBATHeaderService.header` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py index 28a2fb2d3ba..35b02e4bbaa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py @@ -723,17 +723,12 @@ def build_custom_request_id_request( # fmt: on class HeaderOperations(object): # pylint: disable=too-many-public-methods - """HeaderOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~header.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~header.AutoRestSwaggerBATHeaderService`'s + :attr:`~header.AutoRestSwaggerBATHeaderService.header` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py index 03119584ea0..74420e853ea 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py @@ -56,17 +56,12 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods - """HttpClientFailureOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py index 7d83e170b39..933febb6e32 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py @@ -33,17 +33,12 @@ class HttpFailureOperations: - """HttpFailureOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py index 7816642ef17..9f4babc556c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py @@ -46,17 +46,12 @@ class HttpRedirectsOperations: - """HttpRedirectsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_redirects` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py index 326b24b4e9f..6583f59398f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py @@ -39,17 +39,12 @@ class HttpRetryOperations: - """HttpRetryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_retry` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py index 3a859d24121..37dc1272dc5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py @@ -34,17 +34,12 @@ class HttpServerFailureOperations: - """HttpServerFailureOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py index 7bff4d29127..59245024581 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py @@ -49,17 +49,12 @@ class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_success` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py index 5a006f2762f..8fd60b35841 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py @@ -64,17 +64,12 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods - """MultipleResponsesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py index b35c8b4fe10..f60a33a7e6f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py @@ -609,17 +609,12 @@ def build_head429_request( # fmt: on class HttpClientFailureOperations(object): # pylint: disable=too-many-public-methods - """HttpClientFailureOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py index 34957b0d7d6..073e941a26a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py @@ -97,17 +97,12 @@ def build_get_no_model_empty_request( # fmt: on class HttpFailureOperations(object): - """HttpFailureOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py index 549589c8a61..7bd81e4782a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py @@ -385,17 +385,12 @@ def build_delete307_request( # fmt: on class HttpRedirectsOperations(object): - """HttpRedirectsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_redirects` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py index 06668011772..f7609753450 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py @@ -241,17 +241,12 @@ def build_patch504_request( # fmt: on class HttpRetryOperations(object): - """HttpRetryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_retry` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py index 3812bd9dd18..4c4d357cf59 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py @@ -125,17 +125,12 @@ def build_delete505_request( # fmt: on class HttpServerFailureOperations(object): - """HttpServerFailureOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py index 3226583a87d..97ce1aab118 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py @@ -473,17 +473,12 @@ def build_head404_request( # fmt: on class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_success` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py index a9b69c00d49..502fcdcc8b9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py @@ -669,17 +669,12 @@ def build_get200_model_a202_valid_request( # fmt: on class MultipleResponsesOperations(object): # pylint: disable=too-many-public-methods - """MultipleResponsesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~httpinfrastructure.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py index d1f747b8ebf..882879be0fa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py @@ -29,15 +29,12 @@ class FloatOperations: - """FloatOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenums.aio.NonStringEnumsClient`'s + :attr:`~nonstringenums.aio.NonStringEnumsClient.float` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py index 544ffb67d85..f4c06e44dd4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py @@ -29,15 +29,12 @@ class IntOperations: - """IntOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenums.aio.NonStringEnumsClient`'s + :attr:`~nonstringenums.aio.NonStringEnumsClient.int` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py index d3fc484f008..87e5fe8ee46 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py @@ -81,15 +81,12 @@ def build_get_request( # fmt: on class FloatOperations(object): - """FloatOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenums.NonStringEnumsClient`'s + :attr:`~nonstringenums.NonStringEnumsClient.float` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py index 4dbb7440d1b..7c4181f3d41 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py @@ -81,15 +81,12 @@ def build_get_request( # fmt: on class IntOperations(object): - """IntOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenums.NonStringEnumsClient`'s + :attr:`~nonstringenums.NonStringEnumsClient.int` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py index 482e974c2cb..155b6e4ba00 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py @@ -29,17 +29,12 @@ class AvailabilitySetsOperations: - """AvailabilitySetsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~parameterflattening.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~parameterflattening.aio.AutoRestParameterFlattening`'s + :attr:`~parameterflattening.aio.AutoRestParameterFlattening.availability_sets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py index 746d0b7ce16..d08a7d5f2bd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py @@ -67,17 +67,12 @@ def build_update_request( # fmt: on class AvailabilitySetsOperations(object): - """AvailabilitySetsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~parameterflattening.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~parameterflattening.AutoRestParameterFlattening`'s + :attr:`~parameterflattening.AutoRestParameterFlattening.availability_sets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py index ededbf31a40..0f5a8582ddf 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py @@ -54,17 +54,12 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods - """ExplicitOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~requiredoptional.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptional.aio.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptional.aio.AutoRestRequiredOptionalTestService.explicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py index ad577744a71..7e127a3a460 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py @@ -38,17 +38,12 @@ class ImplicitOperations: - """ImplicitOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~requiredoptional.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptional.aio.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptional.aio.AutoRestRequiredOptionalTestService.implicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py index ee7a2c36336..4302083e487 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py @@ -609,17 +609,12 @@ def build_post_optional_array_header_request( # fmt: on class ExplicitOperations(object): # pylint: disable=too-many-public-methods - """ExplicitOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~requiredoptional.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptional.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptional.AutoRestRequiredOptionalTestService.explicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py index e6d91f2ecc8..1f4fb27afdd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py @@ -243,17 +243,12 @@ def build_get_optional_global_query_request( # fmt: on class ImplicitOperations(object): - """ImplicitOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~requiredoptional.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptional.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptional.AutoRestRequiredOptionalTestService.implicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py index 7aaa9cafa03..d033ce7383d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py @@ -29,17 +29,12 @@ class ImportOperations: - """ImportOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~reservedwords.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~reservedwords.aio.ReservedWordsClient`'s + :attr:`~reservedwords.aio.ReservedWordsClient.import_operations` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py index 3352f9f7742..8a4f80096a9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py @@ -64,17 +64,12 @@ def build_operation_one_request( # fmt: on class ImportOperations(object): - """ImportOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~reservedwords.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~reservedwords.ReservedWordsClient`'s + :attr:`~reservedwords.ReservedWordsClient.import_operations` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py index be7cdb31280..dc2e1e5d776 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py @@ -34,17 +34,12 @@ class PathItemsOperations: - """PathItemsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~url.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~url.aio.AutoRestUrlTestService`'s + :attr:`~url.aio.AutoRestUrlTestService.path_items` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py index df53aa266bb..61168ef5a26 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py @@ -58,17 +58,12 @@ class PathsOperations: # pylint: disable=too-many-public-methods - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~url.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~url.aio.AutoRestUrlTestService`'s + :attr:`~url.aio.AutoRestUrlTestService.paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py index 37a728898f6..be38795eb39 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py @@ -66,17 +66,12 @@ class QueriesOperations: # pylint: disable=too-many-public-methods - """QueriesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~url.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~url.aio.AutoRestUrlTestService`'s + :attr:`~url.aio.AutoRestUrlTestService.queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py index cc1a06420f5..d21e3e77c77 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py @@ -212,17 +212,12 @@ def build_get_local_path_item_query_null_request( # fmt: on class PathItemsOperations(object): - """PathItemsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~url.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~url.AutoRestUrlTestService`'s + :attr:`~url.AutoRestUrlTestService.path_items` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py index b8a094f21d8..6db7f2cf4c8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py @@ -756,17 +756,12 @@ def build_unix_time_url_request( # fmt: on class PathsOperations(object): # pylint: disable=too-many-public-methods - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~url.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~url.AutoRestUrlTestService`'s + :attr:`~url.AutoRestUrlTestService.paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py index 8a61bb9523c..e7dad437f1b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py @@ -1001,17 +1001,12 @@ def build_array_string_pipes_valid_request( # fmt: on class QueriesOperations(object): # pylint: disable=too-many-public-methods - """QueriesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~url.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~url.AutoRestUrlTestService`'s + :attr:`~url.AutoRestUrlTestService.queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py index 792dfd41283..438049aa685 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py @@ -33,17 +33,12 @@ class QueriesOperations: - """QueriesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~urlmulticollectionformat.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlmulticollectionformat.aio.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`~urlmulticollectionformat.aio.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py index 8906c4b8bad..4425d18ff5e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py @@ -121,17 +121,12 @@ def build_array_string_multi_valid_request( # fmt: on class QueriesOperations(object): - """QueriesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~urlmulticollectionformat.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlmulticollectionformat.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`~urlmulticollectionformat.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py index 651f1bab485..7a4aaf5fd68 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py @@ -64,17 +64,12 @@ class XmlOperations: # pylint: disable=too-many-public-methods - """XmlOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~xmlservice.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmlservice.aio.AutoRestSwaggerBATXMLService`'s + :attr:`~xmlservice.aio.AutoRestSwaggerBATXMLService.xml` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py index b442a621412..788413446eb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py @@ -799,17 +799,12 @@ def build_put_uri_request( # fmt: on class XmlOperations(object): # pylint: disable=too-many-public-methods - """XmlOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~xmlservice.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmlservice.AutoRestSwaggerBATXMLService`'s + :attr:`~xmlservice.AutoRestSwaggerBATXMLService.xml` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py index b4b24edfa09..197acaed34c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py @@ -33,17 +33,12 @@ class PetOperations: - """PetOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~xmserrorresponse.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmserrorresponse.aio.XMSErrorResponseExtensions`'s + :attr:`~xmserrorresponse.aio.XMSErrorResponseExtensions.pet` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py index f240dca831d..06a5b9bd010 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py @@ -117,17 +117,12 @@ def build_has_models_param_request( # fmt: on class PetOperations(object): - """PetOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~xmserrorresponse.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmserrorresponse.XMSErrorResponseExtensions`'s + :attr:`~xmserrorresponse.XMSErrorResponseExtensions.pet` attribute. """ models = _models diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py index 0c5108708e8..37505ae68ae 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py @@ -35,15 +35,12 @@ class PetsOperations: - """PetsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~additionalpropertiesversiontolerant.aio.AdditionalPropertiesClient`'s + :attr:`~additionalpropertiesversiontolerant.aio.AdditionalPropertiesClient.pets` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py index d9b1ad68bf1..fc3f6f20fcd 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py @@ -131,15 +131,12 @@ def build_pets_create_ap_in_properties_with_ap_string_request( class PetsOperations(object): - """PetsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~additionalpropertiesversiontolerant.AdditionalPropertiesClient`'s + :attr:`~additionalpropertiesversiontolerant.AdditionalPropertiesClient.pets` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py index 5c28db8bc94..ec660f1088d 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py @@ -99,15 +99,12 @@ class ArrayOperations: # pylint: disable=too-many-public-methods - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarrayversiontolerant.aio.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarrayversiontolerant.aio.AutoRestSwaggerBATArrayService.array` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py index 4bbda4f9a04..1875b48773e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py @@ -940,15 +940,12 @@ def build_array_put_dictionary_valid_request( class ArrayOperations(object): # pylint: disable=too-many-public-methods - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyarrayversiontolerant.AutoRestSwaggerBATArrayService`'s + :attr:`~bodyarrayversiontolerant.AutoRestSwaggerBATArrayService.array` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py index 800730edf9e..a0a6083f4ef 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py @@ -28,15 +28,12 @@ class UploadOperations: - """UploadOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybinaryversiontolerant.aio.BinaryWithContentTypeApplicationJson`'s + :attr:`~bodybinaryversiontolerant.aio.BinaryWithContentTypeApplicationJson.upload` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py index ec765f8a3d5..73385fa77ca 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py @@ -59,15 +59,12 @@ def build_upload_binary_request(*, content: Any, **kwargs: Any) -> HttpRequest: class UploadOperations(object): - """UploadOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybinaryversiontolerant.BinaryWithContentTypeApplicationJson`'s + :attr:`~bodybinaryversiontolerant.BinaryWithContentTypeApplicationJson.upload` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py index 0b0ebd09c59..9e1003a1efc 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py @@ -35,15 +35,12 @@ class BoolOperations: - """BoolOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybooleanversiontolerant.aio.AutoRestBoolTestService`'s + :attr:`~bodybooleanversiontolerant.aio.AutoRestBoolTestService.bool` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py index 28b913af82a..abfd3a8faae 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py @@ -113,15 +113,12 @@ def build_bool_get_invalid_request(**kwargs: Any) -> HttpRequest: class BoolOperations(object): - """BoolOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybooleanversiontolerant.AutoRestBoolTestService`'s + :attr:`~bodybooleanversiontolerant.AutoRestBoolTestService.bool` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py index 66d2245ff77..c1a6031a423 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py @@ -34,15 +34,12 @@ class ByteOperations: - """ByteOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybyteversiontolerant.aio.AutoRestSwaggerBATByteService`'s + :attr:`~bodybyteversiontolerant.aio.AutoRestSwaggerBATByteService.byte` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py index a90adc02707..faf40ba9e9e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py @@ -95,15 +95,12 @@ def build_byte_get_invalid_request(**kwargs: Any) -> HttpRequest: class ByteOperations(object): - """ByteOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodybyteversiontolerant.AutoRestSwaggerBATByteService`'s + :attr:`~bodybyteversiontolerant.AutoRestSwaggerBATByteService.byte` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py index 418c623d09f..a0fed4bcc7f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py @@ -84,15 +84,12 @@ class BasicOperations: - """BasicOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.basic` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -385,15 +382,12 @@ async def get_not_provided(self, **kwargs: Any) -> JSONType: class PrimitiveOperations: # pylint: disable=too-many-public-methods - """PrimitiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.primitive` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1396,15 +1390,12 @@ async def put_byte( # pylint: disable=inconsistent-return-statements class ArrayOperations: - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.array` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1644,15 +1635,12 @@ async def get_not_provided(self, **kwargs: Any) -> JSONType: class DictionaryOperations: - """DictionaryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.dictionary` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1936,15 +1924,12 @@ async def get_not_provided(self, **kwargs: Any) -> JSONType: class InheritanceOperations: - """InheritanceOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.inheritance` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2065,15 +2050,12 @@ async def put_valid( # pylint: disable=inconsistent-return-statements class PolymorphismOperations: - """PolymorphismOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphism` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2679,15 +2661,12 @@ async def put_valid_missing_required( # pylint: disable=inconsistent-return-sta class PolymorphicrecursiveOperations: - """PolymorphicrecursiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2850,15 +2829,12 @@ async def put_valid( # pylint: disable=inconsistent-return-statements class ReadonlypropertyOperations: - """ReadonlypropertyOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.readonlyproperty` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2959,15 +2935,12 @@ async def put_valid( # pylint: disable=inconsistent-return-statements class FlattencomplexOperations: - """FlattencomplexOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.flattencomplex` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py index b04d6f21827..44b7333b9d4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py @@ -808,15 +808,12 @@ def build_flattencomplex_get_valid_request(**kwargs: Any) -> HttpRequest: class BasicOperations(object): - """BasicOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.basic` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1109,15 +1106,12 @@ def get_not_provided(self, **kwargs: Any) -> JSONType: class PrimitiveOperations(object): # pylint: disable=too-many-public-methods - """PrimitiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.primitive` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2110,15 +2104,12 @@ def put_byte(self, complex_body: JSONType, **kwargs: Any) -> None: # pylint: di class ArrayOperations(object): - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.array` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2358,15 +2349,12 @@ def get_not_provided(self, **kwargs: Any) -> JSONType: class DictionaryOperations(object): - """DictionaryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.dictionary` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2650,15 +2638,12 @@ def get_not_provided(self, **kwargs: Any) -> JSONType: class InheritanceOperations(object): - """InheritanceOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.inheritance` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2779,15 +2764,12 @@ def put_valid( # pylint: disable=inconsistent-return-statements class PolymorphismOperations(object): - """PolymorphismOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphism` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3393,15 +3375,12 @@ def put_valid_missing_required( # pylint: disable=inconsistent-return-statement class PolymorphicrecursiveOperations(object): - """PolymorphicrecursiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphicrecursive` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3564,15 +3543,12 @@ def put_valid( # pylint: disable=inconsistent-return-statements class ReadonlypropertyOperations(object): - """ReadonlypropertyOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.readonlyproperty` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3673,15 +3649,12 @@ def put_valid( # pylint: disable=inconsistent-return-statements class FlattencomplexOperations(object): - """FlattencomplexOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`~bodycomplexpython3only.AutoRestComplexTestService.flattencomplex` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py index 418c623d09f..1b5c5e1ed25 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py @@ -84,15 +84,12 @@ class BasicOperations: - """BasicOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.basic` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -385,15 +382,12 @@ async def get_not_provided(self, **kwargs: Any) -> JSONType: class PrimitiveOperations: # pylint: disable=too-many-public-methods - """PrimitiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.primitive` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1396,15 +1390,12 @@ async def put_byte( # pylint: disable=inconsistent-return-statements class ArrayOperations: - """ArrayOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.array` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1644,15 +1635,12 @@ async def get_not_provided(self, **kwargs: Any) -> JSONType: class DictionaryOperations: - """DictionaryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.dictionary` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1936,15 +1924,12 @@ async def get_not_provided(self, **kwargs: Any) -> JSONType: class InheritanceOperations: - """InheritanceOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.inheritance` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2065,15 +2050,12 @@ async def put_valid( # pylint: disable=inconsistent-return-statements class PolymorphismOperations: - """PolymorphismOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.polymorphism` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2679,15 +2661,12 @@ async def put_valid_missing_required( # pylint: disable=inconsistent-return-sta class PolymorphicrecursiveOperations: - """PolymorphicrecursiveOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2850,15 +2829,12 @@ async def put_valid( # pylint: disable=inconsistent-return-statements class ReadonlypropertyOperations: - """ReadonlypropertyOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.readonlyproperty` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2959,15 +2935,12 @@ async def put_valid( # pylint: disable=inconsistent-return-statements class FlattencomplexOperations: - """FlattencomplexOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.flattencomplex` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py index eefe462815f..47d2f3033ca 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py @@ -807,15 +807,12 @@ def build_flattencomplex_get_valid_request(**kwargs: Any) -> HttpRequest: class BasicOperations(object): - """BasicOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.basic` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1108,15 +1105,12 @@ def get_not_provided(self, **kwargs: Any) -> JSONType: class PrimitiveOperations(object): # pylint: disable=too-many-public-methods - """PrimitiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.primitive` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2109,15 +2103,12 @@ def put_byte(self, complex_body: JSONType, **kwargs: Any) -> None: # pylint: di class ArrayOperations(object): - """ArrayOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.array` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2357,15 +2348,12 @@ def get_not_provided(self, **kwargs: Any) -> JSONType: class DictionaryOperations(object): - """DictionaryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.dictionary` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2649,15 +2637,12 @@ def get_not_provided(self, **kwargs: Any) -> JSONType: class InheritanceOperations(object): - """InheritanceOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.inheritance` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2778,15 +2763,12 @@ def put_valid( # pylint: disable=inconsistent-return-statements class PolymorphismOperations(object): - """PolymorphismOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.polymorphism` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3392,15 +3374,12 @@ def put_valid_missing_required( # pylint: disable=inconsistent-return-statement class PolymorphicrecursiveOperations(object): - """PolymorphicrecursiveOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.polymorphicrecursive` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3563,15 +3542,12 @@ def put_valid( # pylint: disable=inconsistent-return-statements class ReadonlypropertyOperations(object): - """ReadonlypropertyOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.readonlyproperty` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3672,15 +3648,12 @@ def put_valid( # pylint: disable=inconsistent-return-statements class FlattencomplexOperations(object): - """FlattencomplexOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.flattencomplex` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py index e422b250471..3b37640b15d 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py @@ -39,15 +39,12 @@ class Datetimerfc1123Operations: - """Datetimerfc1123Operations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetimerfc1123versiontolerant.aio.AutoRestRFC1123DateTimeTestService`'s + :attr:`~bodydatetimerfc1123versiontolerant.aio.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py index 24ac9e79630..48f8864cf5a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py @@ -152,15 +152,12 @@ def build_datetimerfc1123_get_utc_min_date_time_request(**kwargs: Any) -> HttpRe class Datetimerfc1123Operations(object): - """Datetimerfc1123Operations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetimerfc1123versiontolerant.AutoRestRFC1123DateTimeTestService`'s + :attr:`~bodydatetimerfc1123versiontolerant.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py index 3c6132f0a36..87bb5768269 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py @@ -52,15 +52,12 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods - """DatetimeOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetimeversiontolerant.aio.AutoRestDateTimeTestService`'s + :attr:`~bodydatetimeversiontolerant.aio.AutoRestDateTimeTestService.datetime` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py index 11552bc51c5..15cbc77cc32 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py @@ -338,15 +338,12 @@ def build_datetime_get_local_no_offset_min_date_time_request(**kwargs: Any) -> H class DatetimeOperations(object): # pylint: disable=too-many-public-methods - """DatetimeOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydatetimeversiontolerant.AutoRestDateTimeTestService`'s + :attr:`~bodydatetimeversiontolerant.AutoRestDateTimeTestService.datetime` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py index 0487ad78f3a..166b1f10124 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py @@ -38,15 +38,12 @@ class DateOperations: - """DateOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydateversiontolerant.aio.AutoRestDateTestService`'s + :attr:`~bodydateversiontolerant.aio.AutoRestDateTestService.date` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py index 6c2d145ed7d..2c6c72fa218 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py @@ -136,15 +136,12 @@ def build_date_get_min_date_request(**kwargs: Any) -> HttpRequest: class DateOperations(object): - """DateOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydateversiontolerant.AutoRestDateTestService`'s + :attr:`~bodydateversiontolerant.AutoRestDateTestService.date` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py index 2f747eae35b..dae09e332cb 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py @@ -95,15 +95,12 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods - """DictionaryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydictionaryversiontolerant.aio.AutoRestSwaggerBATDictionaryService`'s + :attr:`~bodydictionaryversiontolerant.aio.AutoRestSwaggerBATDictionaryService.dictionary` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py index e531d1e5fab..a4277f3cfe2 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py @@ -900,15 +900,12 @@ def build_dictionary_put_dictionary_valid_request( class DictionaryOperations(object): # pylint: disable=too-many-public-methods - """DictionaryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydictionaryversiontolerant.AutoRestSwaggerBATDictionaryService`'s + :attr:`~bodydictionaryversiontolerant.AutoRestSwaggerBATDictionaryService.dictionary` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index 4454eaeae4e..546907b3db3 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -34,15 +34,12 @@ class DurationOperations: - """DurationOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydurationversiontolerant.aio.AutoRestDurationTestService`'s + :attr:`~bodydurationversiontolerant.aio.AutoRestDurationTestService.duration` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index 7f4b9365e0f..9217d509246 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -86,15 +86,12 @@ def build_duration_get_invalid_request(**kwargs: Any) -> HttpRequest: class DurationOperations(object): - """DurationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodydurationversiontolerant.AutoRestDurationTestService`'s + :attr:`~bodydurationversiontolerant.AutoRestDurationTestService.duration` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py index dc02b46a7e9..c1026c05be1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py @@ -32,15 +32,12 @@ class FilesOperations: - """FilesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyfileversiontolerant.aio.AutoRestSwaggerBATFileService`'s + :attr:`~bodyfileversiontolerant.aio.AutoRestSwaggerBATFileService.files` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py index d67fc552788..6beac33accd 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py @@ -67,15 +67,12 @@ def build_files_get_empty_file_request(**kwargs: Any) -> HttpRequest: class FilesOperations(object): - """FilesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyfileversiontolerant.AutoRestSwaggerBATFileService`'s + :attr:`~bodyfileversiontolerant.AutoRestSwaggerBATFileService.files` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py index 5ef8f74091a..545be1ba61b 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py @@ -32,15 +32,12 @@ class FormdataOperations: - """FormdataOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformdataversiontolerant.aio.AutoRestSwaggerBATFormDataService`'s + :attr:`~bodyformdataversiontolerant.aio.AutoRestSwaggerBATFormDataService.formdata` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py index b3558e47474..f531fe72c0f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py @@ -83,15 +83,12 @@ def build_formdata_upload_files_request( class FormdataOperations(object): - """FormdataOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformdataversiontolerant.AutoRestSwaggerBATFormDataService`'s + :attr:`~bodyformdataversiontolerant.AutoRestSwaggerBATFormDataService.formdata` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py index c8cc87b0d65..3702cbdea1d 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py @@ -31,15 +31,12 @@ class FormdataurlencodedOperations: - """FormdataurlencodedOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformurlencodeddataversiontolerant.aio.BodyFormsDataURLEncoded`'s + :attr:`~bodyformurlencodeddataversiontolerant.aio.BodyFormsDataURLEncoded.formdataurlencoded` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py index 77a55e7e0ec..b1d433e4b13 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py @@ -70,15 +70,12 @@ def build_formdataurlencoded_partial_constant_body_request( class FormdataurlencodedOperations(object): - """FormdataurlencodedOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyformurlencodeddataversiontolerant.BodyFormsDataURLEncoded`'s + :attr:`~bodyformurlencodeddataversiontolerant.BodyFormsDataURLEncoded.formdataurlencoded` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py index aa9ff537f38..b0e7fa4b300 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py @@ -44,15 +44,12 @@ class IntOperations: - """IntOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyintegerversiontolerant.aio.AutoRestIntegerTestService`'s + :attr:`~bodyintegerversiontolerant.aio.AutoRestIntegerTestService.int` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py index a5622a81482..79d7e8e9905 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py @@ -220,15 +220,12 @@ def build_int_get_null_unix_time_request(**kwargs: Any) -> HttpRequest: class IntOperations(object): - """IntOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodyintegerversiontolerant.AutoRestIntegerTestService`'s + :attr:`~bodyintegerversiontolerant.AutoRestIntegerTestService.int` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py index 8be3231331a..55119d3c926 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py @@ -53,15 +53,12 @@ class NumberOperations: # pylint: disable=too-many-public-methods - """NumberOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodynumberversiontolerant.aio.AutoRestNumberTestService`'s + :attr:`~bodynumberversiontolerant.aio.AutoRestNumberTestService.number` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py index 007ccf9b072..62a41919dca 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py @@ -363,15 +363,12 @@ def build_number_get_small_decimal_request(**kwargs: Any) -> HttpRequest: class NumberOperations(object): # pylint: disable=too-many-public-methods - """NumberOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodynumberversiontolerant.AutoRestNumberTestService`'s + :attr:`~bodynumberversiontolerant.AutoRestNumberTestService.number` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py index cbe0e8bee1e..e501e488ad0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py @@ -48,15 +48,12 @@ class StringOperations: - """StringOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService`'s + :attr:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService.string` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -536,15 +533,12 @@ async def get_null_base64_url_encoded(self, **kwargs: Any) -> Optional[bytes]: class EnumOperations: - """EnumOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService`'s + :attr:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService.enum` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py index 938019ec78f..4fead595b2b 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py @@ -300,15 +300,12 @@ def build_enum_put_referenced_constant_request( class StringOperations(object): - """StringOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystringversiontolerant.AutoRestSwaggerBATService`'s + :attr:`~bodystringversiontolerant.AutoRestSwaggerBATService.string` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -788,15 +785,12 @@ def get_null_base64_url_encoded(self, **kwargs: Any) -> Optional[bytes]: class EnumOperations(object): - """EnumOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodystringversiontolerant.AutoRestSwaggerBATService`'s + :attr:`~bodystringversiontolerant.AutoRestSwaggerBATService.enum` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py index a6049fa5d6a..5592306a570 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py @@ -29,15 +29,12 @@ class TimeOperations: - """TimeOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodytimeversiontolerant.aio.AutoRestTimeTestService`'s + :attr:`~bodytimeversiontolerant.aio.AutoRestTimeTestService.time` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py index fd58a1a5ac2..9a1eb9e9bea 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py @@ -60,15 +60,12 @@ def build_time_put_request(*, json: JSONType = None, content: Any = None, **kwar class TimeOperations(object): - """TimeOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~bodytimeversiontolerant.AutoRestTimeTestService`'s + :attr:`~bodytimeversiontolerant.AutoRestTimeTestService.time` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py index 6e1360194fb..adf771d4d6c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py @@ -45,15 +45,12 @@ class ContantsOperations: - """ContantsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~constantsversiontolerant.aio.AutoRestSwaggerConstantService`'s + :attr:`~constantsversiontolerant.aio.AutoRestSwaggerConstantService.contants` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py index c4c1921c01a..1e58e882dba 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py @@ -272,15 +272,12 @@ def build_contants_put_client_constants_request(**kwargs: Any) -> HttpRequest: class ContantsOperations(object): - """ContantsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~constantsversiontolerant.AutoRestSwaggerConstantService`'s + :attr:`~constantsversiontolerant.AutoRestSwaggerConstantService.contants` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py index 410f9bc12db..f8c953e885a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py @@ -27,15 +27,12 @@ class PathsOperations: - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlmoreoptionsversiontolerant.aio.AutoRestParameterizedCustomHostTestClient`'s + :attr:`~custombaseurlmoreoptionsversiontolerant.aio.AutoRestParameterizedCustomHostTestClient.paths` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py index 5d325737c64..bc830e35d63 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py @@ -57,15 +57,12 @@ def build_paths_get_empty_request( class PathsOperations(object): - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlmoreoptionsversiontolerant.AutoRestParameterizedCustomHostTestClient`'s + :attr:`~custombaseurlmoreoptionsversiontolerant.AutoRestParameterizedCustomHostTestClient.paths` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 9256bde8d0e..77929c9f785 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -27,15 +27,12 @@ class PathsOperations: - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient.paths` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index 9ae75c523e6..b453e8a6687 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -41,15 +41,12 @@ def build_paths_get_empty_request(**kwargs: Any) -> HttpRequest: class PathsOperations(object): - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient`'s + :attr:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient.paths` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py index 619764f03a3..764de659a12 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py @@ -28,15 +28,12 @@ class PetOperations: - """PetOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~extensibleenumsswaggerversiontolerant.aio.PetStoreInc`'s + :attr:`~extensibleenumsswaggerversiontolerant.aio.PetStoreInc.pet` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py index cc6b87841d8..ca30c4c38e0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py @@ -66,15 +66,12 @@ def build_pet_add_pet_request(*, json: JSONType = None, content: Any = None, **k class PetOperations(object): - """PetOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~extensibleenumsswaggerversiontolerant.PetStoreInc`'s + :attr:`~extensibleenumsswaggerversiontolerant.PetStoreInc.pet` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py index 37f48bb561d..ac1f5a11cad 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py @@ -58,15 +58,12 @@ class HeaderOperations: # pylint: disable=too-many-public-methods - """HeaderOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headerversiontolerant.aio.AutoRestSwaggerBATHeaderService`'s + :attr:`~headerversiontolerant.aio.AutoRestSwaggerBATHeaderService.header` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py index 9233c433035..2eac6ad5975 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py @@ -424,15 +424,12 @@ def build_header_custom_request_id_request(**kwargs: Any) -> HttpRequest: class HeaderOperations(object): # pylint: disable=too-many-public-methods - """HeaderOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~headerversiontolerant.AutoRestSwaggerBATHeaderService`'s + :attr:`~headerversiontolerant.AutoRestSwaggerBATHeaderService.header` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py index 0f87f3cffa9..6d8f9eef9f0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py @@ -140,15 +140,12 @@ class HttpFailureOperations: - """HttpFailureOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_failure` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -261,15 +258,12 @@ async def get_no_model_empty(self, **kwargs: Any) -> bool: class HttpSuccessOperations: - """HttpSuccessOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1017,15 +1011,12 @@ async def head404(self, **kwargs: Any) -> None: # pylint: disable=inconsistent- class HttpRedirectsOperations: - """HttpRedirectsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_redirects` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1654,15 +1645,12 @@ async def delete307( # pylint: disable=inconsistent-return-statements class HttpClientFailureOperations: # pylint: disable=too-many-public-methods - """HttpClientFailureOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2570,15 +2558,12 @@ async def head429(self, **kwargs: Any) -> None: # pylint: disable=inconsistent- class HttpServerFailureOperations: - """HttpServerFailureOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2727,15 +2712,12 @@ async def delete505( # pylint: disable=inconsistent-return-statements class HttpRetryOperations: - """HttpRetryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_retry` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -3086,15 +3068,12 @@ async def patch504( # pylint: disable=inconsistent-return-statements class MultipleResponsesOperations: # pylint: disable=too-many-public-methods - """MultipleResponsesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py index 37e7b7e3c1b..9f51e92a35c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py @@ -1529,15 +1529,12 @@ def build_multiple_responses_get200_model_a202_valid_request(**kwargs: Any) -> H class HttpFailureOperations(object): - """HttpFailureOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_failure` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -1650,15 +1647,12 @@ def get_no_model_empty(self, **kwargs: Any) -> bool: class HttpSuccessOperations(object): - """HttpSuccessOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_success` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2406,15 +2400,12 @@ def head404(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return class HttpRedirectsOperations(object): - """HttpRedirectsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_redirects` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3043,15 +3034,12 @@ def delete307( # pylint: disable=inconsistent-return-statements class HttpClientFailureOperations(object): # pylint: disable=too-many-public-methods - """HttpClientFailureOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3959,15 +3947,12 @@ def head429(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return class HttpServerFailureOperations(object): - """HttpServerFailureOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -4116,15 +4101,12 @@ def delete505( # pylint: disable=inconsistent-return-statements class HttpRetryOperations(object): - """HttpRetryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_retry` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -4475,15 +4457,12 @@ def patch504( # pylint: disable=inconsistent-return-statements class MultipleResponsesOperations(object): # pylint: disable=too-many-public-methods - """MultipleResponsesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py index eec2c9e6900..d272c5aebb6 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py @@ -33,15 +33,12 @@ class IntOperations: - """IntOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient`'s + :attr:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient.int` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -139,15 +136,12 @@ async def get(self, **kwargs: Any) -> int: class FloatOperations: - """FloatOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient`'s + :attr:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient.float` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py index 25622310ac4..e3c931d34dc 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py @@ -87,15 +87,12 @@ def build_float_get_request(**kwargs: Any) -> HttpRequest: class IntOperations(object): - """IntOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.NonStringEnumsClient`'s + :attr:`~nonstringenumsversiontolerant.NonStringEnumsClient.int` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -193,15 +190,12 @@ def get(self, **kwargs: Any) -> int: class FloatOperations(object): - """FloatOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.NonStringEnumsClient`'s + :attr:`~nonstringenumsversiontolerant.NonStringEnumsClient.float` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py index 1fd702ee322..fcd7ede1ba2 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py @@ -28,15 +28,12 @@ class AvailabilitySetsOperations: - """AvailabilitySetsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~parameterflatteningversiontolerant.aio.AutoRestParameterFlattening`'s + :attr:`~parameterflatteningversiontolerant.aio.AutoRestParameterFlattening.availability_sets` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py index 8c85ba77275..1767726ab79 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py @@ -55,15 +55,12 @@ def build_availability_sets_update_request( class AvailabilitySetsOperations(object): - """AvailabilitySetsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~parameterflatteningversiontolerant.AutoRestParameterFlattening`'s + :attr:`~parameterflatteningversiontolerant.AutoRestParameterFlattening.availability_sets` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py index 24b2497a640..db994cb0ede 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py @@ -61,15 +61,12 @@ class ImplicitOperations: - """ImplicitOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService.implicit` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -345,15 +342,12 @@ async def get_optional_global_query(self, **kwargs: Any) -> None: # pylint: dis class ExplicitOperations: # pylint: disable=too-many-public-methods - """ExplicitOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService.explicit` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py index 7a5dfb3db76..740bf63cc14 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py @@ -579,15 +579,12 @@ def build_explicit_post_optional_array_header_request( class ImplicitOperations(object): - """ImplicitOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService.implicit` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -863,15 +860,12 @@ def get_optional_global_query(self, **kwargs: Any) -> None: # pylint: disable=i class ExplicitOperations(object): # pylint: disable=too-many-public-methods - """ExplicitOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService`'s + :attr:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService.explicit` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py index 2816791adb1..f4f06d536e7 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py @@ -35,15 +35,12 @@ class ImportOperations: - """ImportOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~reservedwordsversiontolerant.aio.ReservedWordsClient`'s + :attr:`~reservedwordsversiontolerant.aio.ReservedWordsClient.import_operations` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py index 269f1abd1b3..adb824e5697 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py @@ -146,15 +146,12 @@ def build_operation_with_url_request( class ImportOperations(object): - """ImportOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~reservedwordsversiontolerant.ReservedWordsClient`'s + :attr:`~reservedwordsversiontolerant.ReservedWordsClient.import_operations` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py index 33b05f1be3e..93334451fee 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py @@ -31,15 +31,12 @@ class QueriesOperations: - """QueriesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlmulticollectionformatversiontolerant.aio.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`~urlmulticollectionformatversiontolerant.aio.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py index 4638d9170a3..a79096a2db0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py @@ -93,15 +93,12 @@ def build_queries_array_string_multi_valid_request( class QueriesOperations(object): - """QueriesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlmulticollectionformatversiontolerant.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`~urlmulticollectionformatversiontolerant.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py index f1a55f908fc..1f7f22889ae 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py @@ -95,15 +95,12 @@ class PathsOperations: # pylint: disable=too-many-public-methods - """PathsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s + :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.paths` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -1030,15 +1027,12 @@ async def unix_time_url( # pylint: disable=inconsistent-return-statements class QueriesOperations: # pylint: disable=too-many-public-methods - """QueriesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s + :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.queries` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: @@ -2238,15 +2232,12 @@ async def array_string_pipes_valid( # pylint: disable=inconsistent-return-state class PathItemsOperations: - """PathItemsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s + :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.path_items` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py index 0441597a5ad..f9e71576cf6 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py @@ -1310,15 +1310,12 @@ def build_path_items_get_local_path_item_query_null_request( class PathsOperations(object): # pylint: disable=too-many-public-methods - """PathsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlversiontolerant.AutoRestUrlTestService`'s + :attr:`~urlversiontolerant.AutoRestUrlTestService.paths` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -2239,15 +2236,12 @@ def unix_time_url( # pylint: disable=inconsistent-return-statements class QueriesOperations(object): # pylint: disable=too-many-public-methods - """QueriesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlversiontolerant.AutoRestUrlTestService`'s + :attr:`~urlversiontolerant.AutoRestUrlTestService.queries` attribute. """ def __init__(self, client, config, serializer, deserializer): @@ -3445,15 +3439,12 @@ def array_string_pipes_valid( # pylint: disable=inconsistent-return-statements class PathItemsOperations(object): - """PathItemsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~urlversiontolerant.AutoRestUrlTestService`'s + :attr:`~urlversiontolerant.AutoRestUrlTestService.path_items` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py index d1230514363..708bf26cdc2 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py @@ -64,15 +64,12 @@ class XmlOperations: # pylint: disable=too-many-public-methods - """XmlOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmlserviceversiontolerant.aio.AutoRestSwaggerBATXMLService`'s + :attr:`~xmlserviceversiontolerant.aio.AutoRestSwaggerBATXMLService.xml` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py index e9fed734444..d924efd0fab 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py @@ -521,15 +521,12 @@ def build_xml_put_uri_request(*, content: Any, **kwargs: Any) -> HttpRequest: class XmlOperations(object): # pylint: disable=too-many-public-methods - """XmlOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmlserviceversiontolerant.AutoRestSwaggerBATXMLService`'s + :attr:`~xmlserviceversiontolerant.AutoRestSwaggerBATXMLService.xml` attribute. """ def __init__(self, client, config, serializer, deserializer): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py index fafad4b8ef1..80793181a73 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py @@ -32,15 +32,12 @@ class PetOperations: - """PetOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmserrorresponseversiontolerant.aio.XMSErrorResponseExtensions`'s + :attr:`~xmserrorresponseversiontolerant.aio.XMSErrorResponseExtensions.pet` attribute. """ def __init__(self, client, config, serializer, deserializer) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py index bcacb5f0feb..3d17c2be0c9 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py @@ -84,15 +84,12 @@ def build_pet_has_models_param_request(*, models: Optional[str] = "value1", **kw class PetOperations(object): - """PetOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through :class:`~xmserrorresponseversiontolerant.XMSErrorResponseExtensions`'s + :attr:`~xmserrorresponseversiontolerant.XMSErrorResponseExtensions.pet` attribute. """ def __init__(self, client, config, serializer, deserializer): From 45c9b6939f5817c71ddd448f3558c58c892dd1df Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Fri, 4 Mar 2022 13:38:32 -0500 Subject: [PATCH 2/5] hide OG args --- .../templates/operation_group.py.jinja2 | 11 +-- .../operations/_http_success_operations.py | 11 +-- .../operations/_http_success_operations.py | 11 +-- .../operations/_http_success_operations.py | 11 +-- .../operations/_http_success_operations.py | 11 +-- .../operations/_http_success_operations.py | 11 +-- .../operations/_http_success_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../aio/operations/_duration_operations.py | 10 +-- .../operations/_duration_operations.py | 10 +-- .../_parameter_grouping_operations.py | 10 +-- .../_parameter_grouping_operations.py | 10 +-- .../_api_version_default_operations.py | 10 +-- .../_api_version_local_operations.py | 10 +-- .../aio/operations/_header_operations.py | 10 +-- .../aio/operations/_odata_operations.py | 10 +-- .../_skip_url_encoding_operations.py | 10 +-- ..._subscription_in_credentials_operations.py | 10 +-- .../_subscription_in_method_operations.py | 10 +-- .../_xms_client_request_id_operations.py | 10 +-- .../_api_version_default_operations.py | 10 +-- .../_api_version_local_operations.py | 10 +-- .../operations/_header_operations.py | 10 +-- .../operations/_odata_operations.py | 10 +-- .../_skip_url_encoding_operations.py | 10 +-- ..._subscription_in_credentials_operations.py | 10 +-- .../_subscription_in_method_operations.py | 10 +-- .../_xms_client_request_id_operations.py | 10 +-- .../aio/operations/_paths_operations.py | 10 +-- .../operations/_paths_operations.py | 10 +-- .../aio/operations/_paging_operations.py | 11 +-- .../operations/_paging_operations.py | 11 +-- .../aio/operations/_paging_operations.py | 10 +-- .../operations/_paging_operations.py | 10 +-- .../operations/_http_success_operations.py | 10 +-- .../operations/_http_success_operations.py | 10 +-- .../operations/_head_exception_operations.py | 10 +-- .../operations/_head_exception_operations.py | 10 +-- .../operations/_http_success_operations.py | 10 +-- .../operations/_http_success_operations.py | 10 +-- .../_lr_os_custom_header_operations.py | 10 +-- .../aio/operations/_lro_retrys_operations.py | 10 +-- .../lro/aio/operations/_lros_operations.py | 10 +-- .../lro/aio/operations/_lrosads_operations.py | 10 +-- .../_lr_os_custom_header_operations.py | 10 +-- .../lro/operations/_lro_retrys_operations.py | 10 +-- .../Lro/lro/operations/_lros_operations.py | 10 +-- .../Lro/lro/operations/_lrosads_operations.py | 10 +-- .../aio/operations/_paging_operations.py | 10 +-- .../paging/operations/_paging_operations.py | 10 +-- .../_storage_accounts_operations.py | 10 +-- .../aio/operations/_usage_operations.py | 10 +-- .../_storage_accounts_operations.py | 10 +-- .../storage/operations/_usage_operations.py | 10 +-- .../aio/operations/_group_operations.py | 10 +-- .../operations/_group_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 80 ++++++++--------- .../operations/_operations.py | 80 ++++++++--------- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 40 ++++----- .../operations/_operations.py | 40 ++++----- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 20 ++--- .../operations/_operations.py | 20 ++--- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../_operation_group_one_operations.py | 11 +-- .../_operation_group_two_operations.py | 11 +-- .../aio/operations/_pets_operations.py | 10 +-- .../operations/_pets_operations.py | 10 +-- .../aio/operations/_array_operations.py | 10 +-- .../bodyarray/operations/_array_operations.py | 10 +-- .../array/aio/operations/_array_operations.py | 10 +-- .../array/operations/_array_operations.py | 10 +-- .../aio/operations/_array_operations.py | 10 +-- .../operations/_array_operations.py | 10 +-- .../operations/_array_operations_py3.py | 10 +-- .../aio/operations/_upload_operations.py | 10 +-- .../operations/_upload_operations.py | 10 +-- .../aio/operations/_bool_operations.py | 10 +-- .../operations/_bool_operations.py | 10 +-- .../aio/operations/_byte_operations.py | 10 +-- .../bodybyte/operations/_byte_operations.py | 10 +-- .../aio/operations/_byte_operations.py | 10 +-- .../operations/_byte_operations.py | 10 +-- .../aio/operations/_array_operations.py | 10 +-- .../aio/operations/_basic_operations.py | 10 +-- .../aio/operations/_dictionary_operations.py | 10 +-- .../operations/_flattencomplex_operations.py | 10 +-- .../aio/operations/_inheritance_operations.py | 10 +-- .../_polymorphicrecursive_operations.py | 10 +-- .../operations/_polymorphism_operations.py | 10 +-- .../aio/operations/_primitive_operations.py | 10 +-- .../_readonlyproperty_operations.py | 10 +-- .../operations/_array_operations.py | 10 +-- .../operations/_basic_operations.py | 10 +-- .../operations/_dictionary_operations.py | 10 +-- .../operations/_flattencomplex_operations.py | 10 +-- .../operations/_inheritance_operations.py | 10 +-- .../_polymorphicrecursive_operations.py | 10 +-- .../operations/_polymorphism_operations.py | 10 +-- .../operations/_primitive_operations.py | 10 +-- .../_readonlyproperty_operations.py | 10 +-- .../aio/operations/_array_operations.py | 10 +-- .../aio/operations/_basic_operations.py | 10 +-- .../aio/operations/_dictionary_operations.py | 10 +-- .../operations/_flattencomplex_operations.py | 10 +-- .../aio/operations/_inheritance_operations.py | 10 +-- .../_polymorphicrecursive_operations.py | 10 +-- .../operations/_polymorphism_operations.py | 10 +-- .../aio/operations/_primitive_operations.py | 10 +-- .../_readonlyproperty_operations.py | 10 +-- .../operations/_array_operations.py | 10 +-- .../operations/_basic_operations.py | 10 +-- .../operations/_dictionary_operations.py | 10 +-- .../operations/_flattencomplex_operations.py | 10 +-- .../operations/_inheritance_operations.py | 10 +-- .../_polymorphicrecursive_operations.py | 10 +-- .../operations/_polymorphism_operations.py | 10 +-- .../operations/_primitive_operations.py | 10 +-- .../_readonlyproperty_operations.py | 10 +-- .../aio/operations/_date_operations.py | 10 +-- .../bodydate/operations/_date_operations.py | 10 +-- .../aio/operations/_datetime_operations.py | 10 +-- .../operations/_datetime_operations.py | 10 +-- .../operations/_datetimerfc1123_operations.py | 10 +-- .../operations/_datetimerfc1123_operations.py | 10 +-- .../aio/operations/_dictionary_operations.py | 10 +-- .../operations/_dictionary_operations.py | 10 +-- .../aio/operations/_duration_operations.py | 10 +-- .../operations/_duration_operations.py | 10 +-- .../aio/operations/_files_operations.py | 10 +-- .../bodyfile/operations/_files_operations.py | 10 +-- .../aio/operations/_formdata_operations.py | 10 +-- .../operations/_formdata_operations.py | 10 +-- .../_formdataurlencoded_operations.py | 10 +-- .../_formdataurlencoded_operations.py | 10 +-- .../aio/operations/_int_operations.py | 10 +-- .../bodyinteger/operations/_int_operations.py | 10 +-- .../aio/operations/_number_operations.py | 10 +-- .../operations/_number_operations.py | 10 +-- .../aio/operations/_enum_operations.py | 10 +-- .../aio/operations/_string_operations.py | 10 +-- .../bodystring/operations/_enum_operations.py | 10 +-- .../operations/_string_operations.py | 10 +-- .../aio/operations/_time_operations.py | 10 +-- .../bodytime/operations/_time_operations.py | 10 +-- .../aio/operations/_contants_operations.py | 10 +-- .../operations/_contants_operations.py | 10 +-- .../aio/operations/_paths_operations.py | 10 +-- .../operations/_paths_operations.py | 10 +-- .../aio/operations/_paths_operations.py | 10 +-- .../operations/_paths_operations.py | 10 +-- .../aio/operations/_pet_operations.py | 10 +-- .../operations/_pet_operations.py | 10 +-- .../aio/operations/_header_operations.py | 10 +-- .../header/operations/_header_operations.py | 10 +-- .../_http_client_failure_operations.py | 10 +-- .../operations/_http_failure_operations.py | 10 +-- .../operations/_http_redirects_operations.py | 10 +-- .../aio/operations/_http_retry_operations.py | 10 +-- .../_http_server_failure_operations.py | 10 +-- .../operations/_http_success_operations.py | 10 +-- .../_multiple_responses_operations.py | 10 +-- .../_http_client_failure_operations.py | 10 +-- .../operations/_http_failure_operations.py | 10 +-- .../operations/_http_redirects_operations.py | 10 +-- .../operations/_http_retry_operations.py | 10 +-- .../_http_server_failure_operations.py | 10 +-- .../operations/_http_success_operations.py | 10 +-- .../_multiple_responses_operations.py | 10 +-- .../aio/operations/_float_operations.py | 10 +-- .../aio/operations/_int_operations.py | 10 +-- .../operations/_float_operations.py | 10 +-- .../operations/_int_operations.py | 10 +-- .../_availability_sets_operations.py | 10 +-- .../_availability_sets_operations.py | 10 +-- .../aio/operations/_explicit_operations.py | 10 +-- .../aio/operations/_implicit_operations.py | 10 +-- .../operations/_explicit_operations.py | 10 +-- .../operations/_implicit_operations.py | 10 +-- .../_import_operations_operations.py | 10 +-- .../_import_operations_operations.py | 10 +-- .../aio/operations/_path_items_operations.py | 10 +-- .../url/aio/operations/_paths_operations.py | 10 +-- .../url/aio/operations/_queries_operations.py | 10 +-- .../url/operations/_path_items_operations.py | 10 +-- .../Url/url/operations/_paths_operations.py | 10 +-- .../Url/url/operations/_queries_operations.py | 10 +-- .../aio/operations/_queries_operations.py | 10 +-- .../operations/_queries_operations.py | 10 +-- .../aio/operations/_xml_operations.py | 10 +-- .../xmlservice/operations/_xml_operations.py | 10 +-- .../aio/operations/_pet_operations.py | 10 +-- .../operations/_pet_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 90 +++++++++---------- .../operations/_operations.py | 90 +++++++++---------- .../aio/operations/_operations.py | 90 +++++++++---------- .../operations/_operations.py | 90 +++++++++---------- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 20 ++--- .../operations/_operations.py | 20 ++--- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 70 +++++++-------- .../operations/_operations.py | 70 +++++++-------- .../aio/operations/_operations.py | 20 ++--- .../operations/_operations.py | 20 ++--- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 20 ++--- .../operations/_operations.py | 20 ++--- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 30 +++---- .../operations/_operations.py | 30 +++---- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- .../aio/operations/_operations.py | 10 +-- .../operations/_operations.py | 10 +-- 333 files changed, 2111 insertions(+), 2045 deletions(-) diff --git a/autorest/codegen/templates/operation_group.py.jinja2 b/autorest/codegen/templates/operation_group.py.jinja2 index df6de303f2a..f0cfb17f8f4 100644 --- a/autorest/codegen/templates/operation_group.py.jinja2 +++ b/autorest/codegen/templates/operation_group.py.jinja2 @@ -14,11 +14,12 @@ class {{ operation_group.class_name }}{{ object_base_class }}:{{ disable }} models = _models {% endif %} - def __init__(self, client, config, serializer, deserializer){{ return_none_type_annotation }}: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs){{ return_none_type_annotation }}: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + {% endif %} {% for operation in operation_group.operations %} diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py index ae1a184d1b6..dc9f7848ebe 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py @@ -28,11 +28,12 @@ class HttpSuccessOperations: :attr:`~azure.key.credential.sample.aio.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def head200( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py index 2db0faf31d7..9c0d0de0425 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py @@ -79,11 +79,12 @@ class HttpSuccessOperations(object): :attr:`~azure.key.credential.sample.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def head200( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py index 3eb6d264300..5dd591ec377 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py @@ -28,11 +28,12 @@ class HttpSuccessOperations: :attr:`~azure.basic.sample.aio.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def head200( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py index d1d99368e0d..b16fff85801 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py @@ -79,11 +79,12 @@ class HttpSuccessOperations(object): :attr:`~azure.basic.sample.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def head200( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py index e11c8315f81..28e81fc7396 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py @@ -29,11 +29,12 @@ class HttpSuccessOperations: :attr:`~azure.mgmt.sample.aio.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def head200( diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py index 02ee079322e..30358d2f5e7 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py @@ -80,11 +80,12 @@ class HttpSuccessOperations(object): :attr:`~azure.mgmt.sample.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def head200( diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py index afda26668cd..8179e341461 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py index dbc89184055..31885ea2269 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py @@ -68,11 +68,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py index 4d147090d72..f0d31828fba 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py index ad0db2787ba..79bd213a6ee 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py index eb154e43972..beeac87ddf5 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py @@ -98,11 +98,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py index 799dfc4c106..b3650a474ca 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py @@ -70,11 +70,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py index 8935591e7d0..5bbc2d12ac7 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py index 0b12f9ee471..95f0ae5b962 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py index 2178f9f9b76..56ca1cecca4 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py @@ -71,11 +71,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py index ad05a6ea173..ad8862f934b 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py @@ -98,11 +98,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py index 7eae8d6839b..05b9383a732 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -45,11 +45,11 @@ class DurationOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py index c8b5c7196ff..0f7edfda84e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py @@ -132,11 +132,11 @@ class DurationOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py index 8250fd98515..15e09973c39 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py @@ -45,11 +45,11 @@ class ParameterGroupingOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py index ec99b22992c..18cff6ca541 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py @@ -216,11 +216,11 @@ class ParameterGroupingOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py index 599084c4d64..017e4c19140 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py @@ -45,11 +45,11 @@ class ApiVersionDefaultOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py index 1f9c4ce7f86..d8f0999ee53 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py @@ -45,11 +45,11 @@ class ApiVersionLocalOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_method_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py index 3f6f1e0ee21..b6611cab18a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py @@ -44,11 +44,11 @@ class HeaderOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py index 8cd6423539a..4e8ecd6fcc3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py @@ -40,11 +40,11 @@ class OdataOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_with_filter( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py index 4977655275f..234fcf303bc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py @@ -48,11 +48,11 @@ class SkipUrlEncodingOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_method_path_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py index 4822919c646..55b2823afa8 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py @@ -46,11 +46,11 @@ class SubscriptionInCredentialsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def post_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py index 68745950f7e..f93e8aaab8e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py @@ -45,11 +45,11 @@ class SubscriptionInMethodOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def post_method_local_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py index 7d974971526..7d1e76c396a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py @@ -40,11 +40,11 @@ class XMsClientRequestIdOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py index a09a452defc..5a154c2b952 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py @@ -155,11 +155,11 @@ class ApiVersionDefaultOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_method_global_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py index 9b287826333..a44979d2739 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py @@ -156,11 +156,11 @@ class ApiVersionLocalOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_method_local_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py index 4d710ea6c3d..56d8da6450d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py @@ -116,11 +116,11 @@ class HeaderOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py index 21b033d22fa..8470ef15c86 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py @@ -81,11 +81,11 @@ class OdataOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_with_filter( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py index 50b9c9162cb..bb554c08e29 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py @@ -235,11 +235,11 @@ class SkipUrlEncodingOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_method_path_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py index 14639821d3b..46c8da41abc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py @@ -184,11 +184,11 @@ class SubscriptionInCredentialsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def post_method_global_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py index c4dabed6239..ddb75dc4953 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py @@ -151,11 +151,11 @@ class SubscriptionInMethodOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def post_method_local_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py index 7c4faa01fae..f478f7e1af1 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py @@ -84,11 +84,11 @@ class XMsClientRequestIdOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index 34debe33947..b37a90b800f 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -39,11 +39,11 @@ class PathsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index 5776eba8e8b..aa28e0e06d9 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -66,11 +66,11 @@ class PathsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py index 3125605b186..9e1864ac6cc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py @@ -37,11 +37,12 @@ class PagingOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def get_no_item_name_pages( diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py index 3aa23ca764e..a66b9221e90 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py @@ -591,11 +591,12 @@ class PagingOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def get_no_item_name_pages( diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py index 0b2e84c9460..afb56d42767 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py @@ -44,11 +44,11 @@ class PagingOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_pages_partial_url(self, account_name: str, **kwargs: Any) -> AsyncIterable["_models.ProductResult"]: diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py index b0e9fbd57a0..cd26e5d4205 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py @@ -114,11 +114,11 @@ class PagingOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_pages_partial_url( diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py index 5adeb388d75..9371845d841 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py @@ -37,11 +37,11 @@ class HttpSuccessOperations: :attr:`~head.aio.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py index 2e5dd04b6fb..2ec8cc330ef 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py @@ -87,11 +87,11 @@ class HttpSuccessOperations(object): :attr:`~head.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200( diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py index dc70ed757f3..c59099d2938 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py @@ -37,11 +37,11 @@ class HeadExceptionOperations: :attr:`~headexceptions.aio.AutoRestHeadExceptionTestService.head_exception` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py index bfd401a127b..d026f788159 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py @@ -87,11 +87,11 @@ class HeadExceptionOperations(object): :attr:`~headexceptions.AutoRestHeadExceptionTestService.head_exception` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200( diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py index bc61a0246cd..58b26f6534d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py @@ -37,11 +37,11 @@ class HttpSuccessOperations: :attr:`~headwithazurekeycredentialpolicy.aio.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py index 04908da164b..2c594a65bb8 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py @@ -87,11 +87,11 @@ class HttpSuccessOperations(object): :attr:`~headwithazurekeycredentialpolicy.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200( diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py index de79c52fcfb..e514cf382b3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py @@ -47,11 +47,11 @@ class LROsCustomHeaderOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put_async_retry_succeeded_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py index a2bb2a2fe00..ca6390386f4 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py @@ -50,11 +50,11 @@ class LRORetrysOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put201_creating_succeeded200_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py index 31547796147..f519f2c57da 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py @@ -87,11 +87,11 @@ class LROsOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put200_succeeded_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py index b559bc78ebf..92a6b25d695 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py @@ -69,11 +69,11 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put_non_retry400_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py index f4a372735d4..86a473546bd 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py @@ -146,11 +146,11 @@ class LROsCustomHeaderOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put_async_retry_succeeded_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py index f0ba5222544..97ff817649d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py @@ -206,11 +206,11 @@ class LRORetrysOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put201_creating_succeeded200_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py index 6f745fcb0a1..c7579a12ae5 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py @@ -1038,11 +1038,11 @@ class LROsOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put200_succeeded_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py index a351d1a45d3..c38b25c9154 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py @@ -642,11 +642,11 @@ class LROSADsOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put_non_retry400_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py index bb7aab34e2a..dc2e2174847 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py @@ -65,11 +65,11 @@ class PagingOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> AsyncIterable["_models.ProductResultValue"]: diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py index d171bd026fd..943173f02c3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py @@ -596,11 +596,11 @@ class PagingOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_no_item_name_pages( diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py index 2661ae00f4d..9b127c3fec9 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py @@ -54,11 +54,11 @@ class StorageAccountsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def check_name_availability( diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py index 24e08b1c429..16e6bd1854c 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py @@ -40,11 +40,11 @@ class UsageOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def list(self, **kwargs: Any) -> "_models.UsageListResult": diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py index 879bae7cf47..877b53e12c7 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py @@ -380,11 +380,11 @@ class StorageAccountsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def check_name_availability( diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py index 8663dcd49fe..9a4f756ae2d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py @@ -81,11 +81,11 @@ class UsageOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def list( diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py index 76a6456d440..a2d9580ed18 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py @@ -40,11 +40,11 @@ class GroupOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_sample_resource_group(self, resource_group_name: str, **kwargs: Any) -> "_models.SampleResourceGroup": diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py index 726a1a2b2a2..464fe756a88 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py @@ -83,11 +83,11 @@ class GroupOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_sample_resource_group( diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index 546907b3db3..5201fb4f802 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -42,11 +42,11 @@ class DurationOperations: :attr:`~bodydurationversiontolerant.aio.AutoRestDurationTestService.duration` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index 9217d509246..7cc170cf3e3 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -94,11 +94,11 @@ class DurationOperations(object): :attr:`~bodydurationversiontolerant.AutoRestDurationTestService.duration` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py index 5aa5da47ee6..d6db6dc023d 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py @@ -42,11 +42,11 @@ class ParameterGroupingOperations: :attr:`~azureparametergroupingversiontolerant.aio.AutoRestParameterGroupingTestService.parameter_grouping` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py index 05ddbb1e4d7..de3cf67f306 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py @@ -177,11 +177,11 @@ class ParameterGroupingOperations(object): :attr:`~azureparametergroupingversiontolerant.AutoRestParameterGroupingTestService.parameter_grouping` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py index 9a6df294db4..bc282a4a183 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py @@ -67,11 +67,11 @@ class XMsClientRequestIdOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -146,11 +146,11 @@ class SubscriptionInCredentialsOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def post_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -317,11 +317,11 @@ class SubscriptionInMethodOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def post_method_local_valid( # pylint: disable=inconsistent-return-statements @@ -472,11 +472,11 @@ class ApiVersionDefaultOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -614,11 +614,11 @@ class ApiVersionLocalOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_method_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -767,11 +767,11 @@ class SkipUrlEncodingOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_method_path_valid( # pylint: disable=inconsistent-return-statements @@ -1018,11 +1018,11 @@ class OdataOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.odata` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_with_filter( # pylint: disable=inconsistent-return-statements @@ -1074,11 +1074,11 @@ class HeaderOperations: :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.header` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py index f9c9f0171c3..409632a118f 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py @@ -568,11 +568,11 @@ class XMsClientRequestIdOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -647,11 +647,11 @@ class SubscriptionInCredentialsOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def post_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -818,11 +818,11 @@ class SubscriptionInMethodOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def post_method_local_valid( # pylint: disable=inconsistent-return-statements @@ -973,11 +973,11 @@ class ApiVersionDefaultOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1115,11 +1115,11 @@ class ApiVersionLocalOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_method_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1268,11 +1268,11 @@ class SkipUrlEncodingOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_method_path_valid( # pylint: disable=inconsistent-return-statements @@ -1517,11 +1517,11 @@ class OdataOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.odata` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_with_filter( # pylint: disable=inconsistent-return-statements @@ -1573,11 +1573,11 @@ class HeaderOperations(object): :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.header` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 77929c9f785..5200e63fa2f 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -35,11 +35,11 @@ class PathsOperations: :attr:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index b453e8a6687..74f3d4ab057 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -49,11 +49,11 @@ class PathsOperations(object): :attr:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty(self, account_name: str, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py index 31c19f62711..429684c031b 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py @@ -64,11 +64,11 @@ class PagingOperations: :attr:`~custompollerpagerversiontolerant.aio.AutoRestPagingTestService.paging` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> AsyncIterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py index 46ab04154e2..10783db18c1 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py @@ -416,11 +416,11 @@ class PagingOperations(object): :attr:`~custompollerpagerversiontolerant.AutoRestPagingTestService.paging` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> Iterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py index 5c9e6e14397..8d63b109a91 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py @@ -41,11 +41,11 @@ class PagingOperations: :attr:`~custombaseurlpagingversiontolerant.aio.AutoRestParameterizedHostTestPagingClient.paging` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_pages_partial_url(self, account_name: str, **kwargs: Any) -> AsyncIterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py index 82d3b44dd8b..be38281f35c 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py @@ -83,11 +83,11 @@ class PagingOperations(object): :attr:`~custombaseurlpagingversiontolerant.AutoRestParameterizedHostTestPagingClient.paging` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_pages_partial_url(self, account_name: str, **kwargs: Any) -> Iterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py index 0d366845581..fb0dda41306 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py @@ -40,11 +40,11 @@ class HeadExceptionOperations: :attr:`~headexceptionsversiontolerant.aio.AutoRestHeadExceptionTestService.head_exception` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py index 3427ae6d793..f337d7336f6 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py @@ -60,11 +60,11 @@ class HeadExceptionOperations(object): :attr:`~headexceptionsversiontolerant.AutoRestHeadExceptionTestService.head_exception` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py index 3e9d6f2cf88..28f68321d2a 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py @@ -40,11 +40,11 @@ class HttpSuccessOperations: :attr:`~headversiontolerant.aio.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py index 0c7c07c5367..bdebace3cde 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py @@ -60,11 +60,11 @@ class HttpSuccessOperations(object): :attr:`~headversiontolerant.AutoRestHeadTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py index e21f028869b..827a61491dd 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py @@ -121,11 +121,11 @@ class LROsOperations: # pylint: disable=too-many-public-methods :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lros` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put200_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> Optional[JSONType]: cls = kwargs.pop("cls", None) # type: ClsType[Optional[JSONType]] @@ -5237,11 +5237,11 @@ class LRORetrysOperations: :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lro_retrys` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put201_creating_succeeded200_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -6014,11 +6014,11 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lrosads` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put_non_retry400_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -8902,11 +8902,11 @@ class LROsCustomHeaderOperations: :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) async def _put_async_retry_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py index b210ab1e894..94ac60dc2a4 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py @@ -1332,11 +1332,11 @@ class LROsOperations(object): # pylint: disable=too-many-public-methods :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lros` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put200_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> Optional[JSONType]: cls = kwargs.pop("cls", None) # type: ClsType[Optional[JSONType]] @@ -6412,11 +6412,11 @@ class LRORetrysOperations(object): :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lro_retrys` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put201_creating_succeeded200_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -7181,11 +7181,11 @@ class LROSADsOperations(object): # pylint: disable=too-many-public-methods :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lrosads` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put_non_retry400_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -10047,11 +10047,11 @@ class LROsCustomHeaderOperations(object): :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) def _put_async_retry_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py index 0d091c2521e..efcb13b3ac0 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py @@ -62,11 +62,11 @@ class PagingOperations: :attr:`~pagingversiontolerant.aio.AutoRestPagingTestService.paging` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> AsyncIterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py index 2f59c02f034..d2723bbd72a 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py @@ -414,11 +414,11 @@ class PagingOperations(object): :attr:`~pagingversiontolerant.AutoRestPagingTestService.paging` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> Iterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py index 51c01989c64..c413a795ebf 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py @@ -52,11 +52,11 @@ class StorageAccountsOperations: :attr:`~storageversiontolerant.aio.StorageManagementClient.storage_accounts` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def check_name_availability( @@ -1102,11 +1102,11 @@ class UsageOperations: :attr:`~storageversiontolerant.aio.StorageManagementClient.usage` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def list(self, **kwargs: Any) -> JSONType: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py index 67f2b2f2190..02d66365906 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py @@ -363,11 +363,11 @@ class StorageAccountsOperations(object): :attr:`~storageversiontolerant.StorageManagementClient.storage_accounts` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def check_name_availability( @@ -1413,11 +1413,11 @@ class UsageOperations(object): :attr:`~storageversiontolerant.StorageManagementClient.usage` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def list(self, **kwargs: Any) -> JSONType: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py index c7ff2b173a2..edd4065c99c 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py @@ -37,11 +37,11 @@ class GroupOperations: :attr:`~subscriptionidapiversionversiontolerant.aio.MicrosoftAzureTestUrl.group` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_sample_resource_group(self, resource_group_name: str, **kwargs: Any) -> JSONType: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py index 3ae736f4532..d709f42141f 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py @@ -68,11 +68,11 @@ class GroupOperations(object): :attr:`~subscriptionidapiversionversiontolerant.MicrosoftAzureTestUrl.group` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_sample_resource_group(self, resource_group_name: str, **kwargs: Any) -> JSONType: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py index d8befc5f45d..2ebae918309 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py @@ -42,11 +42,11 @@ class ParamsOperations: :attr:`~dpgservicedriveninitialversiontolerant.aio.DPGClient.params` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head_no_params(self, **kwargs: Any) -> Any: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py index aa8110ae704..1d895ea29ca 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py @@ -120,11 +120,11 @@ class ParamsOperations(object): :attr:`~dpgservicedriveninitialversiontolerant.DPGClient.params` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head_no_params(self, **kwargs: Any) -> Any: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py index a626d886b32..6c010c53074 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py @@ -44,11 +44,11 @@ class ParamsOperations: :attr:`~dpgservicedrivenupdateoneversiontolerant.aio.DPGClient.params` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head_no_params(self, *, new_parameter: Optional[str] = None, **kwargs: Any) -> Any: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py index 9ea3f1435c6..b24e3277aa4 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py @@ -154,11 +154,11 @@ class ParamsOperations(object): :attr:`~dpgservicedrivenupdateoneversiontolerant.DPGClient.params` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head_no_params(self, *, new_parameter: Optional[str] = None, **kwargs: Any) -> Any: diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py index 2e4e9c7d76a..e54766b51e9 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py index 36c96db8714..901773cc438 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py @@ -68,11 +68,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py index 8f5bb15fee3..6e036314d95 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py index 09f8f68c9cc..bb48a0f2fed 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py @@ -68,11 +68,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py index 7da227894af..de3d25e7944 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py index eb0b11fae29..70ba1de334e 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py index 89bdbc882ea..ba88cc20695 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py @@ -98,11 +98,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py index 984637b3927..cc3944952fb 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py @@ -70,11 +70,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py index 4cac21369f7..7e3ea93c4e8 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py index a6a39a91cc8..087388788af 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py index c9220ff8071..2726a7a4696 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py @@ -71,11 +71,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py index bbeda84576b..7e90e23c9c3 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py @@ -98,11 +98,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py index 632659658a9..a8ef00ae50e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py index 85bf2be4c64..a895899207b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py @@ -68,11 +68,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py index 08a841d66b8..72aba612b6f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py index ac8b09d5d9d..5c653a25563 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py index e48fd13b27f..a0e48d12265 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py @@ -98,11 +98,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py index 5d218de008d..11f9dd8892c 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py @@ -70,11 +70,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py index 5d8bf21f3a3..7f0db98b17a 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py index efc63972e48..9f56b1250f6 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py index 70af31feda9..7711a86e4f2 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py @@ -71,11 +71,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py index f19951ebdd3..ee6168aa2dc 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py @@ -98,11 +98,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py index a18b4e50d5b..bab4f0c1804 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py @@ -31,11 +31,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py index 2b4506ed95f..2850e3ea555 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py @@ -67,11 +67,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py index 352b691e0aa..e60b05361ca 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py @@ -31,11 +31,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py index 1aa1a07a0f2..5d7c544faa6 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py @@ -31,11 +31,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py index e5f7d05150c..4e8f71bae53 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py @@ -97,11 +97,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py index 6775d81d9c1..f986f84368d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py @@ -69,11 +69,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py index 490264dab19..bf18f7254c5 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py @@ -31,11 +31,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py index 152b21c37ac..dbe64c3c59e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py @@ -31,11 +31,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py index e89746ee84c..01f076a2530 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py @@ -70,11 +70,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py index 1c3fcf169e0..4666b9734ac 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py @@ -97,11 +97,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py index 51ec2740b02..c3b6f79994d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py @@ -68,11 +68,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py index f62c1a14734..92e7de8c43d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py @@ -98,11 +98,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py index 5f760c56d13..6a979605b5b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py @@ -70,11 +70,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py index 6fefe755670..8fdb12c34f5 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py @@ -71,11 +71,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py index b5da1eeea81..c584111fa72 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py @@ -98,11 +98,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py index 4c7c4d1e4e2..8c4faef4fb8 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py index 405397870d7..3815d97b803 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py @@ -68,11 +68,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py index 8d0d521eb23..3ad2fa8be28 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py index d9831166b16..b2d4313c97f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py index 9c475f04daa..5fb946d0f54 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py @@ -98,11 +98,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py index d3d82a50882..edd8016a6c1 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py @@ -70,11 +70,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py index 08f9d254469..f85aed1e23e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py @@ -32,11 +32,12 @@ class OperationGroupOneOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py index 2fed2c7f564..ba87c7f0c08 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py @@ -32,11 +32,12 @@ class OperationGroupTwoOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace_async async def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py index 630f568e4de..36ec8bf619a 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py @@ -71,11 +71,12 @@ class OperationGroupOneOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_two( diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py index 72553ede10d..1b5bdf5bd72 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py @@ -98,11 +98,12 @@ class OperationGroupTwoOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) + @distributed_trace def test_four( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py index 10e53ce9cc5..b35dd2c915a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py @@ -46,11 +46,11 @@ class PetsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def create_ap_true(self, create_parameters: "_models.PetAPTrue", **kwargs: Any) -> "_models.PetAPTrue": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py index b35e32a0b49..1d397b7065d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py @@ -191,11 +191,11 @@ class PetsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def create_ap_true( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py index 12ecf68ef5a..4350f423cca 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py @@ -110,11 +110,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py index 5b3f0fe71cc..d5d4619d729 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py @@ -1500,11 +1500,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py index d6ae04623ca..e4c25872ef2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py @@ -110,11 +110,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py index 791d07d46c5..9b143f233a6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py @@ -1500,11 +1500,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py index 90f1ab756ac..5fddf5127e9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py @@ -110,11 +110,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py index e95670a4168..b8a95e145b4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py @@ -1501,11 +1501,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py index 90aaa713b1d..577eef66bd9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py @@ -947,11 +947,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py index 093ed168988..b9c0856172d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py @@ -36,11 +36,11 @@ class UploadOperations: :attr:`~bodybinary.aio.BinaryWithContentTypeApplicationJson.upload` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def file(self, file_param: IO, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py index 3d01d340d53..5c9dc015d10 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py @@ -88,11 +88,11 @@ class UploadOperations(object): :attr:`~bodybinary.BinaryWithContentTypeApplicationJson.upload` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def file( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py index 28bcd45371c..9d31b9d8ff8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py @@ -46,11 +46,11 @@ class BoolOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_true(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py index 608087ac9f8..bfde3935067 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py @@ -179,11 +179,11 @@ class BoolOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_true( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py index b9daae798a6..a72185e6495 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py @@ -45,11 +45,11 @@ class ByteOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py index 4eb1e7a3026..3a5b765d892 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py @@ -151,11 +151,11 @@ class ByteOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py index 6bf615e2b7a..0a626551ae0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py @@ -45,11 +45,11 @@ class ByteOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py index e45dbb2c796..0cd76347d3a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py @@ -151,11 +151,11 @@ class ByteOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py index 2649e7b631d..51dde72be95 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py @@ -45,11 +45,11 @@ class ArrayOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ArrayWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py index 2cdf975976b..73e25e71ecd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py @@ -46,11 +46,11 @@ class BasicOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Basic": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py index 9b0d246760c..0264a46394a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py @@ -46,11 +46,11 @@ class DictionaryOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.DictionaryWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py index 65f8a216309..e5b977a199f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py @@ -39,11 +39,11 @@ class FlattencomplexOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.MyBaseType": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py index b5684057b34..271d9ce144d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py @@ -39,11 +39,11 @@ class InheritanceOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Siamese": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py index d3a18e6a4d3..5ce549eec49 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py @@ -39,11 +39,11 @@ class PolymorphicrecursiveOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py index 79a4cd92c3a..a7f5d4cfabd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py @@ -49,11 +49,11 @@ class PolymorphismOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py index 5427e65db8d..06503bca905 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py @@ -63,11 +63,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_int(self, **kwargs: Any) -> "_models.IntWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py index d5a14c336d2..277ecb31a5d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py @@ -39,11 +39,11 @@ class ReadonlypropertyOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ReadonlyObj": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py index ccc4eeddbc1..c35a3d7a797 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py @@ -154,11 +154,11 @@ class ArrayOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py index 108e93b0c38..4f771dc18be 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py @@ -176,11 +176,11 @@ class BasicOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py index 6aa24805e3d..cd28314ee98 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py @@ -174,11 +174,11 @@ class DictionaryOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py index 6033ba73cca..3d6bbfe6e36 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py @@ -66,11 +66,11 @@ class FlattencomplexOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py index a74b32b359c..972ac48a072 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py @@ -90,11 +90,11 @@ class InheritanceOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py index d7bad497e85..845767468ed 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py @@ -90,11 +90,11 @@ class PolymorphicrecursiveOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py index a3ec01514a4..805c3d3cae2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py @@ -242,11 +242,11 @@ class PolymorphismOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py index 1c96e627df2..d1827d8d241 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py @@ -531,11 +531,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_int( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py index 7fafd8c9b3c..4ee562bb4b0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py @@ -90,11 +90,11 @@ class ReadonlypropertyOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py index fb99f8fc1eb..d31c4cca9ff 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py @@ -45,11 +45,11 @@ class ArrayOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ArrayWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py index 004a5939b2f..62804e9af9b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py @@ -46,11 +46,11 @@ class BasicOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Basic": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py index 8f5a5d4f302..e02a4c924e4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py @@ -46,11 +46,11 @@ class DictionaryOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.DictionaryWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py index 23ebca02d2b..fdaa0cb8fc9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py @@ -39,11 +39,11 @@ class FlattencomplexOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.MyBaseType": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py index 2646fa36bcc..4a422476cb9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py @@ -39,11 +39,11 @@ class InheritanceOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Siamese": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py index ba854735bf5..580da49ccaa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py @@ -39,11 +39,11 @@ class PolymorphicrecursiveOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py index d4152132cc8..2db25dbbb63 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py @@ -49,11 +49,11 @@ class PolymorphismOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py index 419fb12c05a..9a9d6a1c783 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py @@ -63,11 +63,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_int(self, **kwargs: Any) -> "_models.IntWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py index 0ecb01cc94b..e59dcb394b2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py @@ -39,11 +39,11 @@ class ReadonlypropertyOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ReadonlyObj": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py index b349e37847d..a7ea4b84cdc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py @@ -112,11 +112,11 @@ class ArrayOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.ArrayWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py index 84800afb277..b3278ad9897 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py @@ -133,11 +133,11 @@ class BasicOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Basic": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py index b91602b8442..a6cc8651361 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py @@ -124,11 +124,11 @@ class DictionaryOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.DictionaryWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py index 45f174748da..e9411f26abb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py @@ -55,11 +55,11 @@ class FlattencomplexOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.MyBaseType": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py index 9a3c50f60da..bb1e1393d6c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py @@ -72,11 +72,11 @@ class InheritanceOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Siamese": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py index a3aab7650b9..4567134f005 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py @@ -72,11 +72,11 @@ class PolymorphicrecursiveOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py index c1766eef437..123267fbad9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py @@ -172,11 +172,11 @@ class PolymorphismOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py index 3c3631f438c..355310c2fca 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py @@ -353,11 +353,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_int(self, **kwargs: Any) -> "_models.IntWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py index 67d2435dd68..7e3a1c86f34 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py @@ -72,11 +72,11 @@ class ReadonlypropertyOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.ReadonlyObj": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py index 01f5c26bbc3..3930af7b609 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py @@ -49,11 +49,11 @@ class DateOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.date]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py index c78e0302e7b..2a79f2a639f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py @@ -216,11 +216,11 @@ class DateOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py index 31ebea1b572..a9a7640e24d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py @@ -63,11 +63,11 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py index bc1f0296d52..5098032ff9c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py @@ -516,11 +516,11 @@ class DatetimeOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py index 581d1307ad7..3fc4a6cadfb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py @@ -50,11 +50,11 @@ class Datetimerfc1123Operations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py index a0be04a4d6a..334a25a121d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py @@ -236,11 +236,11 @@ class Datetimerfc1123Operations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py index b1d1bf18ac8..7f95d115e83 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py @@ -106,11 +106,11 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Dict[str, int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py index 9be7f5713e9..0f8b48777d2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py @@ -1408,11 +1408,11 @@ class DictionaryOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py index 7eae8d6839b..05b9383a732 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -45,11 +45,11 @@ class DurationOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py index c8b5c7196ff..0f7edfda84e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py @@ -132,11 +132,11 @@ class DurationOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py index 5c14a776e82..6d011370743 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py @@ -43,11 +43,11 @@ class FilesOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_file(self, **kwargs: Any) -> IO: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py index e631478a317..ee2613b2d5b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py @@ -107,11 +107,11 @@ class FilesOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_file( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py index 5fa11494dd9..56c8b92a942 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py @@ -43,11 +43,11 @@ class FormdataOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def upload_file(self, file_content: IO, file_name: str, **kwargs: Any) -> IO: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py index 909c6f19888..cc1b8b83ac3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py @@ -119,11 +119,11 @@ class FormdataOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def upload_file( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py index 5f44681d327..c6d7f20a9ed 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py @@ -42,11 +42,11 @@ class FormdataurlencodedOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py index 2ea8bf38784..c2215581405 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py @@ -97,11 +97,11 @@ class FormdataurlencodedOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py index 4af362f8952..5039d0607dc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py @@ -55,11 +55,11 @@ class IntOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py index 3a9810d4bc0..1b0e4deabb6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py @@ -348,11 +348,11 @@ class IntOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py index 4f488d37056..11b46b92236 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py @@ -64,11 +64,11 @@ class NumberOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[float]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py index 9025105e559..e5020f4dbc1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py @@ -575,11 +575,11 @@ class NumberOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py index 45e33a1693d..f4571414bea 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py @@ -46,11 +46,11 @@ class EnumOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_not_expandable(self, **kwargs: Any) -> Union[str, "_models.Colors"]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py index 394ecb3de87..a46f6281b73 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py @@ -53,11 +53,11 @@ class StringOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[str]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py index 635acd4fe7c..217f3831629 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py @@ -179,11 +179,11 @@ class EnumOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_not_expandable( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py index 0edd1305744..50056731919 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py @@ -333,11 +333,11 @@ class StringOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py index 136189de38e..786da53070d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py @@ -40,11 +40,11 @@ class TimeOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get(self, **kwargs: Any) -> datetime.time: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py index 8b751ee7d5e..4a158837d7d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py @@ -92,11 +92,11 @@ class TimeOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py index 66a89e134b1..a178e4b25ff 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py @@ -57,11 +57,11 @@ class ContantsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py index d3e63fad9d5..112676780f9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py @@ -424,11 +424,11 @@ class ContantsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index 34debe33947..b37a90b800f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -39,11 +39,11 @@ class PathsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index 5776eba8e8b..aa28e0e06d9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -66,11 +66,11 @@ class PathsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py index 0eb1eafd0bc..b3dcdbb9fc1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py @@ -39,11 +39,11 @@ class PathsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py index e71b2984f4c..58731074a34 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py @@ -83,11 +83,11 @@ class PathsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py index a3e2812899e..25c35132e5b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py @@ -39,11 +39,11 @@ class PetOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_by_pet_id(self, pet_id: str, **kwargs: Any) -> "_models.Pet": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py index 3be11ff856e..e3788f20800 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py @@ -97,11 +97,11 @@ class PetOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_by_pet_id( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py index be0d64d3a05..b7e3a48eedc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py @@ -70,11 +70,11 @@ class HeaderOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py index 35b02e4bbaa..f98e5f27dd3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py @@ -733,11 +733,11 @@ class HeaderOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py index 74420e853ea..ad0954e0761 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py @@ -66,11 +66,11 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head400(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py index 933febb6e32..fad55ecce5e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py @@ -43,11 +43,11 @@ class HttpFailureOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty_error(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py index 9f4babc556c..75f6e0c4975 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py @@ -56,11 +56,11 @@ class HttpRedirectsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head300(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py index 6583f59398f..cd092bfb6d0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py @@ -49,11 +49,11 @@ class HttpRetryOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head408(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py index 37dc1272dc5..3cad67aa6a3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py @@ -44,11 +44,11 @@ class HttpServerFailureOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head501(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py index 59245024581..3a38180ca6a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py @@ -59,11 +59,11 @@ class HttpSuccessOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py index 8fd60b35841..c46a81ed960 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py @@ -74,11 +74,11 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get200_model204_no_model_default_error200_valid(self, **kwargs: Any) -> Optional["_models.MyException"]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py index f60a33a7e6f..7fb045795fd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py @@ -619,11 +619,11 @@ class HttpClientFailureOperations(object): # pylint: disable=too-many-public-me models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head400( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py index 073e941a26a..9caea66dd72 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py @@ -107,11 +107,11 @@ class HttpFailureOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty_error( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py index 7bd81e4782a..d60bff5025a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py @@ -395,11 +395,11 @@ class HttpRedirectsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head300( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py index f7609753450..3a059738898 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py @@ -251,11 +251,11 @@ class HttpRetryOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head408( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py index 4c4d357cf59..b12c6d79849 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py @@ -135,11 +135,11 @@ class HttpServerFailureOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head501( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py index 97ce1aab118..cdeadcc35cf 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py @@ -483,11 +483,11 @@ class HttpSuccessOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py index 502fcdcc8b9..44f7f1de4c5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py @@ -679,11 +679,11 @@ class MultipleResponsesOperations(object): # pylint: disable=too-many-public-me models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get200_model204_no_model_default_error200_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py index 882879be0fa..7cb8cc1aa9d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py @@ -37,11 +37,11 @@ class FloatOperations: :attr:`~nonstringenums.aio.NonStringEnumsClient.float` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put(self, input: Optional[Union[float, "_models.FloatEnum"]] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py index f4c06e44dd4..228fc3599b2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py @@ -37,11 +37,11 @@ class IntOperations: :attr:`~nonstringenums.aio.NonStringEnumsClient.int` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put(self, input: Optional[Union[int, "_models.IntEnum"]] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py index 87e5fe8ee46..03e589b5336 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py @@ -89,11 +89,11 @@ class FloatOperations(object): :attr:`~nonstringenums.NonStringEnumsClient.float` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py index 7c4181f3d41..d3daad31439 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py @@ -89,11 +89,11 @@ class IntOperations(object): :attr:`~nonstringenums.NonStringEnumsClient.int` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py index 155b6e4ba00..5272ed0c559 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py @@ -39,11 +39,11 @@ class AvailabilitySetsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py index d08a7d5f2bd..2d18276ac92 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py @@ -77,11 +77,11 @@ class AvailabilitySetsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py index 0f5a8582ddf..29f6ad0b3b7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py @@ -64,11 +64,11 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py index 7e127a3a460..c49e2abd278 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py @@ -48,11 +48,11 @@ class ImplicitOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_required_path( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py index 4302083e487..feb981661d5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py @@ -619,11 +619,11 @@ class ExplicitOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py index 1f4fb27afdd..6f87220461b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py @@ -253,11 +253,11 @@ class ImplicitOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_required_path( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py index d033ce7383d..9382f05990c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py @@ -39,11 +39,11 @@ class ImportOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def operation_one(self, parameter1: str, **kwargs: Any) -> Any: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py index 8a4f80096a9..695fc251231 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py @@ -74,11 +74,11 @@ class ImportOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def operation_one( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py index dc2e1e5d776..458ce237ce7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py @@ -44,11 +44,11 @@ class PathItemsOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py index 61168ef5a26..36393fe7f95 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py @@ -68,11 +68,11 @@ class PathsOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py index be38795eb39..1fc79d50d3d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py @@ -76,11 +76,11 @@ class QueriesOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py index d21e3e77c77..b700c0fce5c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py @@ -222,11 +222,11 @@ class PathItemsOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py index 6db7f2cf4c8..cf432adf0b2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py @@ -766,11 +766,11 @@ class PathsOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_boolean_true( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py index e7dad437f1b..9d769a6c719 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py @@ -1011,11 +1011,11 @@ class QueriesOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_boolean_true( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py index 438049aa685..11ed205fb75 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py @@ -43,11 +43,11 @@ class QueriesOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py index 4425d18ff5e..274b398788a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py @@ -131,11 +131,11 @@ class QueriesOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py index 7a4aaf5fd68..4947f2b16d7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py @@ -74,11 +74,11 @@ class XmlOperations: # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_complex_type_ref_no_meta(self, **kwargs: Any) -> "_models.RootWithRefAndNoMeta": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py index 788413446eb..2390100a0d9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py @@ -809,11 +809,11 @@ class XmlOperations(object): # pylint: disable=too-many-public-methods models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_complex_type_ref_no_meta( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py index 197acaed34c..ad9a0eeab87 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py @@ -43,11 +43,11 @@ class PetOperations: models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_pet_by_id(self, pet_id: str, **kwargs: Any) -> Optional["_models.Pet"]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py index 06a5b9bd010..9af5199ba9c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py @@ -127,11 +127,11 @@ class PetOperations(object): models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_pet_by_id( diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py index 37505ae68ae..4a115397e0e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py @@ -43,11 +43,11 @@ class PetsOperations: :attr:`~additionalpropertiesversiontolerant.aio.AdditionalPropertiesClient.pets` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def create_ap_true(self, create_parameters: JSONType, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py index fc3f6f20fcd..c3b98fe57c4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py @@ -139,11 +139,11 @@ class PetsOperations(object): :attr:`~additionalpropertiesversiontolerant.AdditionalPropertiesClient.pets` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def create_ap_true(self, create_parameters: JSONType, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py index ec660f1088d..b18e77d5e0c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py @@ -107,11 +107,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods :attr:`~bodyarrayversiontolerant.aio.AutoRestSwaggerBATArrayService.array` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py index 1875b48773e..5a08fd14833 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py @@ -948,11 +948,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods :attr:`~bodyarrayversiontolerant.AutoRestSwaggerBATArrayService.array` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py index a0a6083f4ef..11470eabc50 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py @@ -36,11 +36,11 @@ class UploadOperations: :attr:`~bodybinaryversiontolerant.aio.BinaryWithContentTypeApplicationJson.upload` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def file( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py index 73385fa77ca..64a0c2861b1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py @@ -67,11 +67,11 @@ class UploadOperations(object): :attr:`~bodybinaryversiontolerant.BinaryWithContentTypeApplicationJson.upload` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def file( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py index 9e1003a1efc..c28552dac4c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py @@ -43,11 +43,11 @@ class BoolOperations: :attr:`~bodybooleanversiontolerant.aio.AutoRestBoolTestService.bool` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_true(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py index abfd3a8faae..e788a209e4e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py @@ -121,11 +121,11 @@ class BoolOperations(object): :attr:`~bodybooleanversiontolerant.AutoRestBoolTestService.bool` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_true(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py index c1a6031a423..74cfce05b99 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py @@ -42,11 +42,11 @@ class ByteOperations: :attr:`~bodybyteversiontolerant.aio.AutoRestSwaggerBATByteService.byte` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py index faf40ba9e9e..eb2dbe4bc67 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py @@ -103,11 +103,11 @@ class ByteOperations(object): :attr:`~bodybyteversiontolerant.AutoRestSwaggerBATByteService.byte` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py index a0fed4bcc7f..1d6e7d2661a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py @@ -92,11 +92,11 @@ class BasicOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.basic` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -390,11 +390,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.primitive` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_int(self, **kwargs: Any) -> JSONType: @@ -1398,11 +1398,11 @@ class ArrayOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.array` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1643,11 +1643,11 @@ class DictionaryOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.dictionary` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1932,11 +1932,11 @@ class InheritanceOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.inheritance` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2058,11 +2058,11 @@ class PolymorphismOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphism` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2669,11 +2669,11 @@ class PolymorphicrecursiveOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2837,11 +2837,11 @@ class ReadonlypropertyOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.readonlyproperty` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2943,11 +2943,11 @@ class FlattencomplexOperations: :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.flattencomplex` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py index 44b7333b9d4..1fb7c745370 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py @@ -816,11 +816,11 @@ class BasicOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.basic` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -1114,11 +1114,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods :attr:`~bodycomplexpython3only.AutoRestComplexTestService.primitive` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_int(self, **kwargs: Any) -> JSONType: @@ -2112,11 +2112,11 @@ class ArrayOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.array` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2357,11 +2357,11 @@ class DictionaryOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.dictionary` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2646,11 +2646,11 @@ class InheritanceOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.inheritance` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2772,11 +2772,11 @@ class PolymorphismOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphism` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3383,11 +3383,11 @@ class PolymorphicrecursiveOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphicrecursive` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3551,11 +3551,11 @@ class ReadonlypropertyOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.readonlyproperty` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3657,11 +3657,11 @@ class FlattencomplexOperations(object): :attr:`~bodycomplexpython3only.AutoRestComplexTestService.flattencomplex` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py index 1b5c5e1ed25..af54cd9438d 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py @@ -92,11 +92,11 @@ class BasicOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.basic` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -390,11 +390,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.primitive` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_int(self, **kwargs: Any) -> JSONType: @@ -1398,11 +1398,11 @@ class ArrayOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.array` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1643,11 +1643,11 @@ class DictionaryOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.dictionary` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1932,11 +1932,11 @@ class InheritanceOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.inheritance` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2058,11 +2058,11 @@ class PolymorphismOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.polymorphism` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2669,11 +2669,11 @@ class PolymorphicrecursiveOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2837,11 +2837,11 @@ class ReadonlypropertyOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.readonlyproperty` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2943,11 +2943,11 @@ class FlattencomplexOperations: :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.flattencomplex` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py index 47d2f3033ca..01d523cc8be 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py @@ -815,11 +815,11 @@ class BasicOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.basic` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -1113,11 +1113,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.primitive` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_int(self, **kwargs: Any) -> JSONType: @@ -2111,11 +2111,11 @@ class ArrayOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.array` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2356,11 +2356,11 @@ class DictionaryOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.dictionary` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2645,11 +2645,11 @@ class InheritanceOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.inheritance` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2771,11 +2771,11 @@ class PolymorphismOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.polymorphism` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3382,11 +3382,11 @@ class PolymorphicrecursiveOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.polymorphicrecursive` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3550,11 +3550,11 @@ class ReadonlypropertyOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.readonlyproperty` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3656,11 +3656,11 @@ class FlattencomplexOperations(object): :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.flattencomplex` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py index 3b37640b15d..a4cb59dd54f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py @@ -47,11 +47,11 @@ class Datetimerfc1123Operations: :attr:`~bodydatetimerfc1123versiontolerant.aio.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py index 48f8864cf5a..a2c01965f55 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py @@ -160,11 +160,11 @@ class Datetimerfc1123Operations(object): :attr:`~bodydatetimerfc1123versiontolerant.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py index 87bb5768269..4275874ab30 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py @@ -60,11 +60,11 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods :attr:`~bodydatetimeversiontolerant.aio.AutoRestDateTimeTestService.datetime` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py index 15cbc77cc32..25b7f1654db 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py @@ -346,11 +346,11 @@ class DatetimeOperations(object): # pylint: disable=too-many-public-methods :attr:`~bodydatetimeversiontolerant.AutoRestDateTimeTestService.datetime` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py index 166b1f10124..66c44b8e9a9 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py @@ -46,11 +46,11 @@ class DateOperations: :attr:`~bodydateversiontolerant.aio.AutoRestDateTestService.date` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.date]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py index 2c6c72fa218..5e71df4ab1c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py @@ -144,11 +144,11 @@ class DateOperations(object): :attr:`~bodydateversiontolerant.AutoRestDateTestService.date` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.date]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py index dae09e332cb..464e71695fe 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py @@ -103,11 +103,11 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods :attr:`~bodydictionaryversiontolerant.aio.AutoRestSwaggerBATDictionaryService.dictionary` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Dict[str, int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py index a4277f3cfe2..a0a2a596e3c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py @@ -908,11 +908,11 @@ class DictionaryOperations(object): # pylint: disable=too-many-public-methods :attr:`~bodydictionaryversiontolerant.AutoRestSwaggerBATDictionaryService.dictionary` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Dict[str, int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index 546907b3db3..5201fb4f802 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -42,11 +42,11 @@ class DurationOperations: :attr:`~bodydurationversiontolerant.aio.AutoRestDurationTestService.duration` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index 9217d509246..7cc170cf3e3 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -94,11 +94,11 @@ class DurationOperations(object): :attr:`~bodydurationversiontolerant.AutoRestDurationTestService.duration` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py index c1026c05be1..0478fac7208 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py @@ -40,11 +40,11 @@ class FilesOperations: :attr:`~bodyfileversiontolerant.aio.AutoRestSwaggerBATFileService.files` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_file(self, **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py index 6beac33accd..fd6038f07eb 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py @@ -75,11 +75,11 @@ class FilesOperations(object): :attr:`~bodyfileversiontolerant.AutoRestSwaggerBATFileService.files` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_file(self, **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py index 545be1ba61b..c68bf848159 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py @@ -40,11 +40,11 @@ class FormdataOperations: :attr:`~bodyformdataversiontolerant.aio.AutoRestSwaggerBATFormDataService.formdata` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def upload_file(self, files: Dict[str, Any], **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py index f531fe72c0f..259de58d9e9 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py @@ -91,11 +91,11 @@ class FormdataOperations(object): :attr:`~bodyformdataversiontolerant.AutoRestSwaggerBATFormDataService.formdata` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def upload_file(self, files: Dict[str, Any], **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py index 3702cbdea1d..461e22a2b52 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py @@ -39,11 +39,11 @@ class FormdataurlencodedOperations: :attr:`~bodyformurlencodeddataversiontolerant.aio.BodyFormsDataURLEncoded.formdataurlencoded` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py index b1d433e4b13..7531ddd8e6e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py @@ -78,11 +78,11 @@ class FormdataurlencodedOperations(object): :attr:`~bodyformurlencodeddataversiontolerant.BodyFormsDataURLEncoded.formdataurlencoded` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py index b0e7fa4b300..3cbe0d74100 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py @@ -52,11 +52,11 @@ class IntOperations: :attr:`~bodyintegerversiontolerant.aio.AutoRestIntegerTestService.int` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py index 79d7e8e9905..70d8fbb1bbc 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py @@ -228,11 +228,11 @@ class IntOperations(object): :attr:`~bodyintegerversiontolerant.AutoRestIntegerTestService.int` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py index 55119d3c926..cb0b7053df3 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py @@ -61,11 +61,11 @@ class NumberOperations: # pylint: disable=too-many-public-methods :attr:`~bodynumberversiontolerant.aio.AutoRestNumberTestService.number` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[float]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py index 62a41919dca..2dad701aced 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py @@ -371,11 +371,11 @@ class NumberOperations(object): # pylint: disable=too-many-public-methods :attr:`~bodynumberversiontolerant.AutoRestNumberTestService.number` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[float]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py index e501e488ad0..36de9d439e7 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py @@ -56,11 +56,11 @@ class StringOperations: :attr:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService.string` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[str]: @@ -541,11 +541,11 @@ class EnumOperations: :attr:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService.enum` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_not_expandable(self, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py index 4fead595b2b..4a3f3912c52 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py @@ -308,11 +308,11 @@ class StringOperations(object): :attr:`~bodystringversiontolerant.AutoRestSwaggerBATService.string` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_null(self, **kwargs: Any) -> Optional[str]: @@ -793,11 +793,11 @@ class EnumOperations(object): :attr:`~bodystringversiontolerant.AutoRestSwaggerBATService.enum` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_not_expandable(self, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py index 5592306a570..61893547bdf 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py @@ -37,11 +37,11 @@ class TimeOperations: :attr:`~bodytimeversiontolerant.aio.AutoRestTimeTestService.time` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get(self, **kwargs: Any) -> datetime.time: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py index 9a1eb9e9bea..edcbad1b059 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py @@ -68,11 +68,11 @@ class TimeOperations(object): :attr:`~bodytimeversiontolerant.AutoRestTimeTestService.time` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get(self, **kwargs: Any) -> datetime.time: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py index adf771d4d6c..b4f4f249feb 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py @@ -53,11 +53,11 @@ class ContantsOperations: :attr:`~constantsversiontolerant.aio.AutoRestSwaggerConstantService.contants` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py index 1e58e882dba..f7281ef0751 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py @@ -280,11 +280,11 @@ class ContantsOperations(object): :attr:`~constantsversiontolerant.AutoRestSwaggerConstantService.contants` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py index f8c953e885a..e8ca53dbb4b 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py @@ -35,11 +35,11 @@ class PathsOperations: :attr:`~custombaseurlmoreoptionsversiontolerant.aio.AutoRestParameterizedCustomHostTestClient.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py index bc830e35d63..97995896812 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py @@ -65,11 +65,11 @@ class PathsOperations(object): :attr:`~custombaseurlmoreoptionsversiontolerant.AutoRestParameterizedCustomHostTestClient.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 77929c9f785..5200e63fa2f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -35,11 +35,11 @@ class PathsOperations: :attr:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index b453e8a6687..74f3d4ab057 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -49,11 +49,11 @@ class PathsOperations(object): :attr:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty(self, account_name: str, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py index 764de659a12..10df18ce603 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py @@ -36,11 +36,11 @@ class PetOperations: :attr:`~extensibleenumsswaggerversiontolerant.aio.PetStoreInc.pet` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_by_pet_id(self, pet_id: str, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py index ca30c4c38e0..9562899cc86 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py @@ -74,11 +74,11 @@ class PetOperations(object): :attr:`~extensibleenumsswaggerversiontolerant.PetStoreInc.pet` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_by_pet_id(self, pet_id: str, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py index ac1f5a11cad..b46dd80ab82 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py @@ -66,11 +66,11 @@ class HeaderOperations: # pylint: disable=too-many-public-methods :attr:`~headerversiontolerant.aio.AutoRestSwaggerBATHeaderService.header` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py index 2eac6ad5975..f576cb836ae 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py @@ -432,11 +432,11 @@ class HeaderOperations(object): # pylint: disable=too-many-public-methods :attr:`~headerversiontolerant.AutoRestSwaggerBATHeaderService.header` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py index 6d8f9eef9f0..a0ef1897a4d 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py @@ -148,11 +148,11 @@ class HttpFailureOperations: :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_failure` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_empty_error(self, **kwargs: Any) -> bool: @@ -266,11 +266,11 @@ class HttpSuccessOperations: :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head200(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1019,11 +1019,11 @@ class HttpRedirectsOperations: :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_redirects` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head300(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1653,11 +1653,11 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head400(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2566,11 +2566,11 @@ class HttpServerFailureOperations: :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head501(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2720,11 +2720,11 @@ class HttpRetryOperations: :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_retry` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def head408(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3076,11 +3076,11 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get200_model204_no_model_default_error200_valid(self, **kwargs: Any) -> Optional[JSONType]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py index 9f51e92a35c..d60cfc8e366 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py @@ -1537,11 +1537,11 @@ class HttpFailureOperations(object): :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_failure` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_empty_error(self, **kwargs: Any) -> bool: @@ -1655,11 +1655,11 @@ class HttpSuccessOperations(object): :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_success` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head200(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2408,11 +2408,11 @@ class HttpRedirectsOperations(object): :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_redirects` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head300(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3042,11 +3042,11 @@ class HttpClientFailureOperations(object): # pylint: disable=too-many-public-me :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head400(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3955,11 +3955,11 @@ class HttpServerFailureOperations(object): :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head501(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -4109,11 +4109,11 @@ class HttpRetryOperations(object): :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_retry` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def head408(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -4465,11 +4465,11 @@ class MultipleResponsesOperations(object): # pylint: disable=too-many-public-me :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get200_model204_no_model_default_error200_valid(self, **kwargs: Any) -> Optional[JSONType]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py index d272c5aebb6..79e997789bf 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py @@ -41,11 +41,11 @@ class IntOperations: :attr:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient.int` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put(self, input: Optional[int] = None, **kwargs: Any) -> str: @@ -144,11 +144,11 @@ class FloatOperations: :attr:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient.float` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put(self, input: Optional[float] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py index e3c931d34dc..8904cd981fe 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py @@ -95,11 +95,11 @@ class IntOperations(object): :attr:`~nonstringenumsversiontolerant.NonStringEnumsClient.int` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put(self, input: Optional[int] = None, **kwargs: Any) -> str: @@ -198,11 +198,11 @@ class FloatOperations(object): :attr:`~nonstringenumsversiontolerant.NonStringEnumsClient.float` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put(self, input: Optional[float] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py index fcd7ede1ba2..23d1f8c2801 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py @@ -36,11 +36,11 @@ class AvailabilitySetsOperations: :attr:`~parameterflatteningversiontolerant.aio.AutoRestParameterFlattening.availability_sets` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py index 1767726ab79..67126b2a1a4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py @@ -63,11 +63,11 @@ class AvailabilitySetsOperations(object): :attr:`~parameterflatteningversiontolerant.AutoRestParameterFlattening.availability_sets` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py index db994cb0ede..9247bb0e910 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py @@ -69,11 +69,11 @@ class ImplicitOperations: :attr:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService.implicit` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_required_path( # pylint: disable=inconsistent-return-statements @@ -350,11 +350,11 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods :attr:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService.explicit` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py index 740bf63cc14..0b26348ae92 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py @@ -587,11 +587,11 @@ class ImplicitOperations(object): :attr:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService.implicit` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_required_path( # pylint: disable=inconsistent-return-statements @@ -868,11 +868,11 @@ class ExplicitOperations(object): # pylint: disable=too-many-public-methods :attr:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService.explicit` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py index f4f06d536e7..acb82ac6e30 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py @@ -43,11 +43,11 @@ class ImportOperations: :attr:`~reservedwordsversiontolerant.aio.ReservedWordsClient.import_operations` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def operation_one(self, *, parameter1: str, **kwargs: Any) -> Any: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py index adb824e5697..263d498f4d4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py @@ -154,11 +154,11 @@ class ImportOperations(object): :attr:`~reservedwordsversiontolerant.ReservedWordsClient.import_operations` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def operation_one(self, *, parameter1: str, **kwargs: Any) -> Any: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py index 93334451fee..0f180a1d25e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py @@ -39,11 +39,11 @@ class QueriesOperations: :attr:`~urlmulticollectionformatversiontolerant.aio.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py index a79096a2db0..e2d701166ae 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py @@ -101,11 +101,11 @@ class QueriesOperations(object): :attr:`~urlmulticollectionformatversiontolerant.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py index 1f7f22889ae..3711d4fd605 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py @@ -103,11 +103,11 @@ class PathsOperations: # pylint: disable=too-many-public-methods :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1035,11 +1035,11 @@ class QueriesOperations: # pylint: disable=too-many-public-methods :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.queries` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2240,11 +2240,11 @@ class PathItemsOperations: :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.path_items` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py index f9e71576cf6..f4e962adfa0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py @@ -1318,11 +1318,11 @@ class PathsOperations(object): # pylint: disable=too-many-public-methods :attr:`~urlversiontolerant.AutoRestUrlTestService.paths` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2244,11 +2244,11 @@ class QueriesOperations(object): # pylint: disable=too-many-public-methods :attr:`~urlversiontolerant.AutoRestUrlTestService.queries` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3447,11 +3447,11 @@ class PathItemsOperations(object): :attr:`~urlversiontolerant.AutoRestUrlTestService.path_items` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py index 708bf26cdc2..d450955a955 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py @@ -72,11 +72,11 @@ class XmlOperations: # pylint: disable=too-many-public-methods :attr:`~xmlserviceversiontolerant.aio.AutoRestSwaggerBATXMLService.xml` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_complex_type_ref_no_meta(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py index d924efd0fab..a0a3fe5b7ed 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py @@ -529,11 +529,11 @@ class XmlOperations(object): # pylint: disable=too-many-public-methods :attr:`~xmlserviceversiontolerant.AutoRestSwaggerBATXMLService.xml` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_complex_type_ref_no_meta(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py index 80793181a73..ec091d8c175 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py @@ -40,11 +40,11 @@ class PetOperations: :attr:`~xmserrorresponseversiontolerant.aio.XMSErrorResponseExtensions.pet` attribute. """ - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace_async async def get_pet_by_id(self, pet_id: str, **kwargs: Any) -> Optional[JSONType]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py index 3d17c2be0c9..aa7106a4833 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py @@ -92,11 +92,11 @@ class PetOperations(object): :attr:`~xmserrorresponseversiontolerant.XMSErrorResponseExtensions.pet` attribute. """ - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + self._client = kwargs.pop("client", args[0]) + self._config = kwargs.pop("config", args[1]) + self._serialize = kwargs.pop("serializer", args[2]) + self._deserialize = kwargs.pop("deserializer", args[3]) @distributed_trace def get_pet_by_id(self, pet_id: str, **kwargs: Any) -> Optional[JSONType]: From dd69bacf7e5fbbea4489fc458d69ea46fcf53858 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Fri, 4 Mar 2022 13:50:19 -0500 Subject: [PATCH 3/5] update changelog --- ChangeLog.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 181754ada28..216db5a421f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,19 @@ # Change Log +### 2022-03-xx - 5.13.1 + +| Library | Min Version | +| ----------------------------------------------------------------------- | ----------- | +| `@autorest/core` | `3.6.2` | +| `@autorest/modelerfour` | `4.19.1` | +| `azure-core` dep of generated code | `1.20.1` | +| `msrest` dep of generated code | `0.6.21` | +| `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` | + +**Bug Fixes** + +- Improve operation group documentation to prevent users from initializing operation groups themselves #1179 + ### 2022-03-03 - 5.13.0 | Library | Min Version | From c5d1ad54bb488a0b3d20a17af54cdaa712c10db9 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Fri, 4 Mar 2022 17:46:17 -0500 Subject: [PATCH 4/5] get from args with an if statement --- .../templates/operation_group.py.jinja2 | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../aio/operations/_duration_operations.py | 9 ++- .../operations/_duration_operations.py | 9 ++- .../_parameter_grouping_operations.py | 9 ++- .../_parameter_grouping_operations.py | 9 ++- .../_api_version_default_operations.py | 9 ++- .../_api_version_local_operations.py | 9 ++- .../aio/operations/_header_operations.py | 9 ++- .../aio/operations/_odata_operations.py | 9 ++- .../_skip_url_encoding_operations.py | 9 ++- ..._subscription_in_credentials_operations.py | 9 ++- .../_subscription_in_method_operations.py | 9 ++- .../_xms_client_request_id_operations.py | 9 ++- .../_api_version_default_operations.py | 9 ++- .../_api_version_local_operations.py | 9 ++- .../operations/_header_operations.py | 9 ++- .../operations/_odata_operations.py | 9 ++- .../_skip_url_encoding_operations.py | 9 ++- ..._subscription_in_credentials_operations.py | 9 ++- .../_subscription_in_method_operations.py | 9 ++- .../_xms_client_request_id_operations.py | 9 ++- .../aio/operations/_paths_operations.py | 9 ++- .../operations/_paths_operations.py | 9 ++- .../aio/operations/_paging_operations.py | 9 ++- .../operations/_paging_operations.py | 9 ++- .../aio/operations/_paging_operations.py | 9 ++- .../operations/_paging_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_head_exception_operations.py | 9 ++- .../operations/_head_exception_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../_lr_os_custom_header_operations.py | 9 ++- .../aio/operations/_lro_retrys_operations.py | 9 ++- .../lro/aio/operations/_lros_operations.py | 9 ++- .../lro/aio/operations/_lrosads_operations.py | 9 ++- .../_lr_os_custom_header_operations.py | 9 ++- .../lro/operations/_lro_retrys_operations.py | 9 ++- .../Lro/lro/operations/_lros_operations.py | 9 ++- .../Lro/lro/operations/_lrosads_operations.py | 9 ++- .../aio/operations/_paging_operations.py | 9 ++- .../paging/operations/_paging_operations.py | 9 ++- .../_storage_accounts_operations.py | 9 ++- .../aio/operations/_usage_operations.py | 9 ++- .../_storage_accounts_operations.py | 9 ++- .../storage/operations/_usage_operations.py | 9 ++- .../aio/operations/_group_operations.py | 9 ++- .../operations/_group_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 72 +++++++++-------- .../operations/_operations.py | 72 +++++++++-------- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 36 +++++---- .../operations/_operations.py | 36 +++++---- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 18 +++-- .../operations/_operations.py | 18 +++-- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../_operation_group_one_operations.py | 9 ++- .../_operation_group_two_operations.py | 9 ++- .../aio/operations/_pets_operations.py | 9 ++- .../operations/_pets_operations.py | 9 ++- .../aio/operations/_array_operations.py | 9 ++- .../bodyarray/operations/_array_operations.py | 9 ++- .../array/aio/operations/_array_operations.py | 9 ++- .../array/operations/_array_operations.py | 9 ++- .../aio/operations/_array_operations.py | 9 ++- .../operations/_array_operations.py | 9 ++- .../operations/_array_operations_py3.py | 9 ++- .../aio/operations/_upload_operations.py | 9 ++- .../operations/_upload_operations.py | 9 ++- .../aio/operations/_bool_operations.py | 9 ++- .../operations/_bool_operations.py | 9 ++- .../aio/operations/_byte_operations.py | 9 ++- .../bodybyte/operations/_byte_operations.py | 9 ++- .../aio/operations/_byte_operations.py | 9 ++- .../operations/_byte_operations.py | 9 ++- .../aio/operations/_array_operations.py | 9 ++- .../aio/operations/_basic_operations.py | 9 ++- .../aio/operations/_dictionary_operations.py | 9 ++- .../operations/_flattencomplex_operations.py | 9 ++- .../aio/operations/_inheritance_operations.py | 9 ++- .../_polymorphicrecursive_operations.py | 9 ++- .../operations/_polymorphism_operations.py | 9 ++- .../aio/operations/_primitive_operations.py | 9 ++- .../_readonlyproperty_operations.py | 9 ++- .../operations/_array_operations.py | 9 ++- .../operations/_basic_operations.py | 9 ++- .../operations/_dictionary_operations.py | 9 ++- .../operations/_flattencomplex_operations.py | 9 ++- .../operations/_inheritance_operations.py | 9 ++- .../_polymorphicrecursive_operations.py | 9 ++- .../operations/_polymorphism_operations.py | 9 ++- .../operations/_primitive_operations.py | 9 ++- .../_readonlyproperty_operations.py | 9 ++- .../aio/operations/_array_operations.py | 9 ++- .../aio/operations/_basic_operations.py | 9 ++- .../aio/operations/_dictionary_operations.py | 9 ++- .../operations/_flattencomplex_operations.py | 9 ++- .../aio/operations/_inheritance_operations.py | 9 ++- .../_polymorphicrecursive_operations.py | 9 ++- .../operations/_polymorphism_operations.py | 9 ++- .../aio/operations/_primitive_operations.py | 9 ++- .../_readonlyproperty_operations.py | 9 ++- .../operations/_array_operations.py | 9 ++- .../operations/_basic_operations.py | 9 ++- .../operations/_dictionary_operations.py | 9 ++- .../operations/_flattencomplex_operations.py | 9 ++- .../operations/_inheritance_operations.py | 9 ++- .../_polymorphicrecursive_operations.py | 9 ++- .../operations/_polymorphism_operations.py | 9 ++- .../operations/_primitive_operations.py | 9 ++- .../_readonlyproperty_operations.py | 9 ++- .../aio/operations/_date_operations.py | 9 ++- .../bodydate/operations/_date_operations.py | 9 ++- .../aio/operations/_datetime_operations.py | 9 ++- .../operations/_datetime_operations.py | 9 ++- .../operations/_datetimerfc1123_operations.py | 9 ++- .../operations/_datetimerfc1123_operations.py | 9 ++- .../aio/operations/_dictionary_operations.py | 9 ++- .../operations/_dictionary_operations.py | 9 ++- .../aio/operations/_duration_operations.py | 9 ++- .../operations/_duration_operations.py | 9 ++- .../aio/operations/_files_operations.py | 9 ++- .../bodyfile/operations/_files_operations.py | 9 ++- .../aio/operations/_formdata_operations.py | 9 ++- .../operations/_formdata_operations.py | 9 ++- .../_formdataurlencoded_operations.py | 9 ++- .../_formdataurlencoded_operations.py | 9 ++- .../aio/operations/_int_operations.py | 9 ++- .../bodyinteger/operations/_int_operations.py | 9 ++- .../aio/operations/_number_operations.py | 9 ++- .../operations/_number_operations.py | 9 ++- .../aio/operations/_enum_operations.py | 9 ++- .../aio/operations/_string_operations.py | 9 ++- .../bodystring/operations/_enum_operations.py | 9 ++- .../operations/_string_operations.py | 9 ++- .../aio/operations/_time_operations.py | 9 ++- .../bodytime/operations/_time_operations.py | 9 ++- .../aio/operations/_contants_operations.py | 9 ++- .../operations/_contants_operations.py | 9 ++- .../aio/operations/_paths_operations.py | 9 ++- .../operations/_paths_operations.py | 9 ++- .../aio/operations/_paths_operations.py | 9 ++- .../operations/_paths_operations.py | 9 ++- .../aio/operations/_pet_operations.py | 9 ++- .../operations/_pet_operations.py | 9 ++- .../aio/operations/_header_operations.py | 9 ++- .../header/operations/_header_operations.py | 9 ++- .../_http_client_failure_operations.py | 9 ++- .../operations/_http_failure_operations.py | 9 ++- .../operations/_http_redirects_operations.py | 9 ++- .../aio/operations/_http_retry_operations.py | 9 ++- .../_http_server_failure_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../_multiple_responses_operations.py | 9 ++- .../_http_client_failure_operations.py | 9 ++- .../operations/_http_failure_operations.py | 9 ++- .../operations/_http_redirects_operations.py | 9 ++- .../operations/_http_retry_operations.py | 9 ++- .../_http_server_failure_operations.py | 9 ++- .../operations/_http_success_operations.py | 9 ++- .../_multiple_responses_operations.py | 9 ++- .../aio/operations/_float_operations.py | 9 ++- .../aio/operations/_int_operations.py | 9 ++- .../operations/_float_operations.py | 9 ++- .../operations/_int_operations.py | 9 ++- .../_availability_sets_operations.py | 9 ++- .../_availability_sets_operations.py | 9 ++- .../aio/operations/_explicit_operations.py | 9 ++- .../aio/operations/_implicit_operations.py | 9 ++- .../operations/_explicit_operations.py | 9 ++- .../operations/_implicit_operations.py | 9 ++- .../_import_operations_operations.py | 9 ++- .../_import_operations_operations.py | 9 ++- .../aio/operations/_path_items_operations.py | 9 ++- .../url/aio/operations/_paths_operations.py | 9 ++- .../url/aio/operations/_queries_operations.py | 9 ++- .../url/operations/_path_items_operations.py | 9 ++- .../Url/url/operations/_paths_operations.py | 9 ++- .../Url/url/operations/_queries_operations.py | 9 ++- .../aio/operations/_queries_operations.py | 9 ++- .../operations/_queries_operations.py | 9 ++- .../aio/operations/_xml_operations.py | 9 ++- .../xmlservice/operations/_xml_operations.py | 9 ++- .../aio/operations/_pet_operations.py | 9 ++- .../operations/_pet_operations.py | 9 ++- .../AcceptanceTests/test_python3_only.py | 2 +- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 81 ++++++++++--------- .../operations/_operations.py | 81 ++++++++++--------- .../aio/operations/_operations.py | 81 ++++++++++--------- .../operations/_operations.py | 81 ++++++++++--------- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 18 +++-- .../operations/_operations.py | 18 +++-- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 63 ++++++++------- .../operations/_operations.py | 63 ++++++++------- .../aio/operations/_operations.py | 18 +++-- .../operations/_operations.py | 18 +++-- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 18 +++-- .../operations/_operations.py | 18 +++-- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 27 ++++--- .../operations/_operations.py | 27 ++++--- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- .../aio/operations/_operations.py | 9 ++- .../operations/_operations.py | 9 ++- 334 files changed, 2046 insertions(+), 1637 deletions(-) diff --git a/autorest/codegen/templates/operation_group.py.jinja2 b/autorest/codegen/templates/operation_group.py.jinja2 index f0cfb17f8f4..44b16aa5411 100644 --- a/autorest/codegen/templates/operation_group.py.jinja2 +++ b/autorest/codegen/templates/operation_group.py.jinja2 @@ -15,10 +15,11 @@ class {{ operation_group.class_name }}{{ object_base_class }}:{{ disable }} {% endif %} def __init__(self, *args, **kwargs){{ return_none_type_annotation }}: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") {% endif %} {% for operation in operation_group.operations %} diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py index dc9f7848ebe..6d9d14c5e3f 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py @@ -29,10 +29,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py index 9c0d0de0425..42f00c3e110 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py @@ -80,10 +80,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py index 5dd591ec377..4f6414a7cb6 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py @@ -29,10 +29,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py index b16fff85801..9c6bd996a38 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py @@ -80,10 +80,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py index 28e81fc7396..a12192258cb 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py @@ -30,10 +30,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py index 30358d2f5e7..b16269d1a13 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py @@ -81,10 +81,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py index 8179e341461..ea95fab1cef 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py index 31885ea2269..4ec12e4afc6 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py @@ -69,10 +69,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py index f0d31828fba..f2aa9c899e7 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py index 79bd213a6ee..e243fbcd866 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py index beeac87ddf5..88da79d6068 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py @@ -99,10 +99,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py index b3650a474ca..c91cd1afbe3 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py @@ -71,10 +71,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py index 5bbc2d12ac7..bec0830ab59 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py index 95f0ae5b962..36391e28700 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py index 56ca1cecca4..0048b67efa4 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py @@ -72,10 +72,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py index ad8862f934b..7064523e160 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py @@ -99,10 +99,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py index 05b9383a732..e3e6b28ace4 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -46,10 +46,11 @@ class DurationOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py index 0f7edfda84e..450a3f28fcb 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py @@ -133,10 +133,11 @@ class DurationOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py index 15e09973c39..c5dfd8182b0 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py @@ -46,10 +46,11 @@ class ParameterGroupingOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py index 18cff6ca541..5c22bb81479 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py @@ -217,10 +217,11 @@ class ParameterGroupingOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py index 017e4c19140..4162d5cc40e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py @@ -46,10 +46,11 @@ class ApiVersionDefaultOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py index d8f0999ee53..5ccb515ac9c 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py @@ -46,10 +46,11 @@ class ApiVersionLocalOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_method_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py index b6611cab18a..2ec063ea9ae 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py @@ -45,10 +45,11 @@ class HeaderOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py index 4e8ecd6fcc3..196724d5fd2 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py @@ -41,10 +41,11 @@ class OdataOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_with_filter( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py index 234fcf303bc..6e1e24e8722 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py @@ -49,10 +49,11 @@ class SkipUrlEncodingOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_method_path_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py index 55b2823afa8..7246483b991 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py @@ -47,10 +47,11 @@ class SubscriptionInCredentialsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def post_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py index f93e8aaab8e..f4b4a0f2491 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py @@ -46,10 +46,11 @@ class SubscriptionInMethodOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def post_method_local_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py index 7d1e76c396a..743cb2ba7db 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py @@ -41,10 +41,11 @@ class XMsClientRequestIdOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py index 5a154c2b952..8a70be035c1 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py @@ -156,10 +156,11 @@ class ApiVersionDefaultOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_method_global_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py index a44979d2739..90fc731208c 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py @@ -157,10 +157,11 @@ class ApiVersionLocalOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_method_local_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py index 56d8da6450d..438e913291d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py @@ -117,10 +117,11 @@ class HeaderOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py index 8470ef15c86..7eeeca28fe9 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py @@ -82,10 +82,11 @@ class OdataOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_with_filter( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py index bb554c08e29..46005f69019 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py @@ -236,10 +236,11 @@ class SkipUrlEncodingOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_method_path_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py index 46c8da41abc..045563e9102 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py @@ -185,10 +185,11 @@ class SubscriptionInCredentialsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def post_method_global_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py index ddb75dc4953..446a3647275 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py @@ -152,10 +152,11 @@ class SubscriptionInMethodOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def post_method_local_valid( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py index f478f7e1af1..a680e034b9c 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py @@ -85,10 +85,11 @@ class XMsClientRequestIdOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index b37a90b800f..5d169788e00 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -40,10 +40,11 @@ class PathsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index aa28e0e06d9..badc85cf9b9 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -67,10 +67,11 @@ class PathsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py index 9e1864ac6cc..3df9e38388d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py @@ -38,10 +38,11 @@ class PagingOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py index a66b9221e90..be9b51c1686 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py @@ -592,10 +592,11 @@ class PagingOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py index afb56d42767..39e1788c753 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py @@ -45,10 +45,11 @@ class PagingOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_pages_partial_url(self, account_name: str, **kwargs: Any) -> AsyncIterable["_models.ProductResult"]: diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py index cd26e5d4205..66d67a48de8 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py @@ -115,10 +115,11 @@ class PagingOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_pages_partial_url( diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py index 9371845d841..a068cdd4712 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py @@ -38,10 +38,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py index 2ec8cc330ef..622667e6c32 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py @@ -88,10 +88,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200( diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py index c59099d2938..cbfd7c0d8ce 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py @@ -38,10 +38,11 @@ class HeadExceptionOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py index d026f788159..f8d719e58c1 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py @@ -88,10 +88,11 @@ class HeadExceptionOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200( diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py index 58b26f6534d..82551ff82be 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py @@ -38,10 +38,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py index 2c594a65bb8..cab6ea5e9e4 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py @@ -88,10 +88,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200( diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py index e514cf382b3..f0a1ab290df 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py @@ -48,10 +48,11 @@ class LROsCustomHeaderOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put_async_retry_succeeded_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py index ca6390386f4..7a80f487466 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py @@ -51,10 +51,11 @@ class LRORetrysOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put201_creating_succeeded200_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py index f519f2c57da..5f038c7be53 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py @@ -88,10 +88,11 @@ class LROsOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put200_succeeded_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py index 92a6b25d695..85cb987544f 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py @@ -70,10 +70,11 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put_non_retry400_initial( self, product: Optional["_models.Product"] = None, **kwargs: Any diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py index 86a473546bd..f53ea518665 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py @@ -147,10 +147,11 @@ class LROsCustomHeaderOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put_async_retry_succeeded_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py index 97ff817649d..9bbdcb61db5 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py @@ -207,10 +207,11 @@ class LRORetrysOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put201_creating_succeeded200_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py index c7579a12ae5..b41ccfdf7a3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py @@ -1039,10 +1039,11 @@ class LROsOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put200_succeeded_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py index c38b25c9154..47a2c9afe19 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py @@ -643,10 +643,11 @@ class LROSADsOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put_non_retry400_initial( self, diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py index dc2e2174847..34f7aa3eb78 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py @@ -66,10 +66,11 @@ class PagingOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> AsyncIterable["_models.ProductResultValue"]: diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py index 943173f02c3..a8a3d57d9ee 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py @@ -597,10 +597,11 @@ class PagingOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_no_item_name_pages( diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py index 9b127c3fec9..f3d647e1e8a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py @@ -55,10 +55,11 @@ class StorageAccountsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def check_name_availability( diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py index 16e6bd1854c..2eb9e3c4f93 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py @@ -41,10 +41,11 @@ class UsageOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def list(self, **kwargs: Any) -> "_models.UsageListResult": diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py index 877b53e12c7..8f59f1c3f1e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py @@ -381,10 +381,11 @@ class StorageAccountsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def check_name_availability( diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py index 9a4f756ae2d..014cdaf9a26 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py @@ -82,10 +82,11 @@ class UsageOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def list( diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py index a2d9580ed18..b34ea21577d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py @@ -41,10 +41,11 @@ class GroupOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_sample_resource_group(self, resource_group_name: str, **kwargs: Any) -> "_models.SampleResourceGroup": diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py index 464fe756a88..5b6eecbd080 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py @@ -84,10 +84,11 @@ class GroupOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_sample_resource_group( diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index 5201fb4f802..b2cfa8e1d89 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -43,10 +43,11 @@ class DurationOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index 7cc170cf3e3..a9ed639a4fe 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -95,10 +95,11 @@ class DurationOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py index d6db6dc023d..3d427c5999f 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py @@ -43,10 +43,11 @@ class ParameterGroupingOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py index de3cf67f306..2906db6454f 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py @@ -178,10 +178,11 @@ class ParameterGroupingOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def post_required( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py index bc282a4a183..f62e5757b88 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py @@ -68,10 +68,11 @@ class XMsClientRequestIdOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -147,10 +148,11 @@ class SubscriptionInCredentialsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def post_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -318,10 +320,11 @@ class SubscriptionInMethodOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def post_method_local_valid( # pylint: disable=inconsistent-return-statements @@ -473,10 +476,11 @@ class ApiVersionDefaultOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -615,10 +619,11 @@ class ApiVersionLocalOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_method_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -768,10 +773,11 @@ class SkipUrlEncodingOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_method_path_valid( # pylint: disable=inconsistent-return-statements @@ -1019,10 +1025,11 @@ class OdataOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_with_filter( # pylint: disable=inconsistent-return-statements @@ -1075,10 +1082,11 @@ class HeaderOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py index 409632a118f..3a7d556b964 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py @@ -569,10 +569,11 @@ class XMsClientRequestIdOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -648,10 +649,11 @@ class SubscriptionInCredentialsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def post_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -819,10 +821,11 @@ class SubscriptionInMethodOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def post_method_local_valid( # pylint: disable=inconsistent-return-statements @@ -974,10 +977,11 @@ class ApiVersionDefaultOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_method_global_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1116,10 +1120,11 @@ class ApiVersionLocalOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_method_local_valid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1269,10 +1274,11 @@ class SkipUrlEncodingOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_method_path_valid( # pylint: disable=inconsistent-return-statements @@ -1518,10 +1524,11 @@ class OdataOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_with_filter( # pylint: disable=inconsistent-return-statements @@ -1574,10 +1581,11 @@ class HeaderOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def custom_named_request_id( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 5200e63fa2f..29344984c47 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -36,10 +36,11 @@ class PathsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index 74f3d4ab057..d30552434e3 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -50,10 +50,11 @@ class PathsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty(self, account_name: str, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py index 429684c031b..09ccdc4f623 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py @@ -65,10 +65,11 @@ class PagingOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> AsyncIterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py index 10783db18c1..927ce14befb 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py @@ -417,10 +417,11 @@ class PagingOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> Iterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py index 8d63b109a91..a20802ba23c 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py @@ -42,10 +42,11 @@ class PagingOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_pages_partial_url(self, account_name: str, **kwargs: Any) -> AsyncIterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py index be38281f35c..ddadfb13a0b 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py @@ -84,10 +84,11 @@ class PagingOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_pages_partial_url(self, account_name: str, **kwargs: Any) -> Iterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py index fb0dda41306..78378449355 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py @@ -41,10 +41,11 @@ class HeadExceptionOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py index f337d7336f6..11e169cd78d 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py @@ -61,10 +61,11 @@ class HeadExceptionOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py index 28f68321d2a..fae92551e23 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py @@ -41,10 +41,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py index bdebace3cde..fcbff94cb97 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py @@ -61,10 +61,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200(self, **kwargs: Any) -> bool: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py index 827a61491dd..8af4f96d44b 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py @@ -122,10 +122,11 @@ class LROsOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put200_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> Optional[JSONType]: cls = kwargs.pop("cls", None) # type: ClsType[Optional[JSONType]] @@ -5238,10 +5239,11 @@ class LRORetrysOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put201_creating_succeeded200_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -6015,10 +6017,11 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put_non_retry400_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -8903,10 +8906,11 @@ class LROsCustomHeaderOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") async def _put_async_retry_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py index 94ac60dc2a4..e510ef6e3a4 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py @@ -1333,10 +1333,11 @@ class LROsOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put200_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> Optional[JSONType]: cls = kwargs.pop("cls", None) # type: ClsType[Optional[JSONType]] @@ -6413,10 +6414,11 @@ class LRORetrysOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put201_creating_succeeded200_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -7182,10 +7184,11 @@ class LROSADsOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put_non_retry400_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] @@ -10048,10 +10051,11 @@ class LROsCustomHeaderOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") def _put_async_retry_succeeded_initial(self, product: JSONType = None, **kwargs: Any) -> JSONType: cls = kwargs.pop("cls", None) # type: ClsType[JSONType] diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py index efcb13b3ac0..ea711b00a6e 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py @@ -63,10 +63,11 @@ class PagingOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> AsyncIterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py index d2723bbd72a..87b0f6ae3b7 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py @@ -415,10 +415,11 @@ class PagingOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_no_item_name_pages(self, **kwargs: Any) -> Iterable[JSONType]: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py index c413a795ebf..2b5141aa744 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py @@ -53,10 +53,11 @@ class StorageAccountsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def check_name_availability( @@ -1103,10 +1104,11 @@ class UsageOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def list(self, **kwargs: Any) -> JSONType: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py index 02d66365906..54796720801 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py @@ -364,10 +364,11 @@ class StorageAccountsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def check_name_availability( @@ -1414,10 +1415,11 @@ class UsageOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def list(self, **kwargs: Any) -> JSONType: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py index edd4065c99c..f203b2be6a4 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py @@ -38,10 +38,11 @@ class GroupOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_sample_resource_group(self, resource_group_name: str, **kwargs: Any) -> JSONType: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py index d709f42141f..36a0bb0ac91 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py @@ -69,10 +69,11 @@ class GroupOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_sample_resource_group(self, resource_group_name: str, **kwargs: Any) -> JSONType: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py index 2ebae918309..3490042e295 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py @@ -43,10 +43,11 @@ class ParamsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head_no_params(self, **kwargs: Any) -> Any: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py index 1d895ea29ca..0311bba6227 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py @@ -121,10 +121,11 @@ class ParamsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head_no_params(self, **kwargs: Any) -> Any: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py index 6c010c53074..0f34c8d709e 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py @@ -45,10 +45,11 @@ class ParamsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head_no_params(self, *, new_parameter: Optional[str] = None, **kwargs: Any) -> Any: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py index b24e3277aa4..2551349fd1b 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py @@ -155,10 +155,11 @@ class ParamsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head_no_params(self, *, new_parameter: Optional[str] = None, **kwargs: Any) -> Any: diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py index e54766b51e9..1129e8a85be 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py index 901773cc438..2677ba799ae 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py @@ -69,10 +69,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py index 6e036314d95..647c1fe24bc 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py index bb48a0f2fed..989a182e9e1 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py @@ -69,10 +69,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py index de3d25e7944..02d91d3edde 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py index 70ba1de334e..58952d02c6e 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py index ba88cc20695..34b84a07f25 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py @@ -99,10 +99,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py index cc3944952fb..79931316178 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py @@ -71,10 +71,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py index 7e3ea93c4e8..49bc03dbf09 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py index 087388788af..aa9e9e28a7a 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py index 2726a7a4696..833e547a5fb 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py @@ -72,10 +72,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py index 7e90e23c9c3..e5462930ecc 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py @@ -99,10 +99,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py index a8ef00ae50e..79f431862c8 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py index a895899207b..d1fae4e100c 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py @@ -69,10 +69,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py index 72aba612b6f..c815d23f910 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py index 5c653a25563..9a90e110572 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py index a0e48d12265..a6307be5cc3 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py @@ -99,10 +99,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py index 11f9dd8892c..f9ee2b83a61 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py @@ -71,10 +71,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py index 7f0db98b17a..678c4d4c963 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py index 9f56b1250f6..466ab438730 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py index 7711a86e4f2..0061adc7cd8 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py @@ -72,10 +72,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py index ee6168aa2dc..339ace3ea67 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py @@ -99,10 +99,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py index bab4f0c1804..16177b4980e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py @@ -32,10 +32,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py index 2850e3ea555..9c947081320 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py @@ -68,10 +68,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py index e60b05361ca..a0bcef6928e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py @@ -32,10 +32,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py index 5d7c544faa6..70120ab020b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py @@ -32,10 +32,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py index 4e8f71bae53..0be2bc8c283 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py @@ -98,10 +98,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py index f986f84368d..d2d1b5c68c1 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py @@ -70,10 +70,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py index bf18f7254c5..971e1815360 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py @@ -32,10 +32,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py index dbe64c3c59e..16749a1cf8e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py @@ -32,10 +32,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py index 01f076a2530..b0f7736f56f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py @@ -71,10 +71,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py index 4666b9734ac..a4d06f89dfc 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py @@ -98,10 +98,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py index c3b6f79994d..1e963d97b66 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py @@ -69,10 +69,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py index 92e7de8c43d..6b66f52eeb2 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py @@ -99,10 +99,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py index 6a979605b5b..c9b39ee1bf4 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py @@ -71,10 +71,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py index 8fdb12c34f5..b115cbe32c3 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py @@ -72,10 +72,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py index c584111fa72..85ce38a5838 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py @@ -99,10 +99,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py index 8c4faef4fb8..935be5632a6 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py index 3815d97b803..4e90595cdc5 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py @@ -69,10 +69,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py index 3ad2fa8be28..7079f8f2ed0 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py index b2d4313c97f..22def67e293 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py index 5fb946d0f54..bdeedacb379 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py @@ -99,10 +99,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py index edd8016a6c1..ab83b575f39 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py @@ -71,10 +71,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py index f85aed1e23e..a5ecf31291a 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py @@ -33,10 +33,11 @@ class OperationGroupOneOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py index ba87c7f0c08..53fd2c7e723 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py @@ -33,10 +33,11 @@ class OperationGroupTwoOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py index 36ec8bf619a..f28c6f43fb0 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py @@ -72,10 +72,11 @@ class OperationGroupOneOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py index 1b5bdf5bd72..0821264ddb1 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py @@ -99,10 +99,11 @@ class OperationGroupTwoOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py index b35dd2c915a..08fd9b6eb4e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py @@ -47,10 +47,11 @@ class PetsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def create_ap_true(self, create_parameters: "_models.PetAPTrue", **kwargs: Any) -> "_models.PetAPTrue": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py index 1d397b7065d..6d821cbcb70 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py @@ -192,10 +192,11 @@ class PetsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def create_ap_true( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py index 4350f423cca..b4e79c5266e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py @@ -111,10 +111,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py index d5d4619d729..887e27cf072 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py @@ -1501,10 +1501,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py index e4c25872ef2..d261783ecd7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py @@ -111,10 +111,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py index 9b143f233a6..65453dd1eba 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py @@ -1501,10 +1501,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py index 5fddf5127e9..15fc62d10ab 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py @@ -111,10 +111,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py index b8a95e145b4..da0e721e0c7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py @@ -1502,10 +1502,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py index 577eef66bd9..a209c18c2f8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py @@ -948,10 +948,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py index b9c0856172d..c735870eca0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py @@ -37,10 +37,11 @@ class UploadOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def file(self, file_param: IO, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py index 5c9dc015d10..5d7ca4a122a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py @@ -89,10 +89,11 @@ class UploadOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def file( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py index 9d31b9d8ff8..2eed5672ea2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py @@ -47,10 +47,11 @@ class BoolOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_true(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py index bfde3935067..a49ea5909b2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py @@ -180,10 +180,11 @@ class BoolOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_true( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py index a72185e6495..1449e5ac19e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py @@ -46,10 +46,11 @@ class ByteOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py index 3a5b765d892..5026060e9dc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py @@ -152,10 +152,11 @@ class ByteOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py index 0a626551ae0..ec6bd375e8f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py @@ -46,10 +46,11 @@ class ByteOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py index 0cd76347d3a..f6faaf51956 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py @@ -152,10 +152,11 @@ class ByteOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py index 51dde72be95..edc6188d9e6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py @@ -46,10 +46,11 @@ class ArrayOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ArrayWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py index 73e25e71ecd..7f4d18e4a47 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py @@ -47,10 +47,11 @@ class BasicOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Basic": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py index 0264a46394a..deea684391b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py @@ -47,10 +47,11 @@ class DictionaryOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.DictionaryWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py index e5b977a199f..caf860a0241 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py @@ -40,10 +40,11 @@ class FlattencomplexOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.MyBaseType": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py index 271d9ce144d..97c407c2302 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py @@ -40,10 +40,11 @@ class InheritanceOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Siamese": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py index 5ce549eec49..4708834a2a8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py @@ -40,10 +40,11 @@ class PolymorphicrecursiveOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py index a7f5d4cfabd..6475f92516d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py @@ -50,10 +50,11 @@ class PolymorphismOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py index 06503bca905..a14ae115412 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py @@ -64,10 +64,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_int(self, **kwargs: Any) -> "_models.IntWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py index 277ecb31a5d..d8190f56656 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py @@ -40,10 +40,11 @@ class ReadonlypropertyOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ReadonlyObj": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py index c35a3d7a797..568b6ba59a9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py @@ -155,10 +155,11 @@ class ArrayOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py index 4f771dc18be..3eb575c29d8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py @@ -177,10 +177,11 @@ class BasicOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py index cd28314ee98..b3126ee08f5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py @@ -175,10 +175,11 @@ class DictionaryOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py index 3d6bbfe6e36..2f205dac625 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py @@ -67,10 +67,11 @@ class FlattencomplexOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py index 972ac48a072..ab1534e5d86 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py @@ -91,10 +91,11 @@ class InheritanceOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py index 845767468ed..b6168929a93 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py @@ -91,10 +91,11 @@ class PolymorphicrecursiveOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py index 805c3d3cae2..ab193c3ff9a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py @@ -243,10 +243,11 @@ class PolymorphismOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py index d1827d8d241..0faf4c99149 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py @@ -532,10 +532,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_int( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py index 4ee562bb4b0..351eefb6384 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py @@ -91,10 +91,11 @@ class ReadonlypropertyOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py index d31c4cca9ff..a742ec5013f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py @@ -46,10 +46,11 @@ class ArrayOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ArrayWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py index 62804e9af9b..043d9c8c88a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py @@ -47,10 +47,11 @@ class BasicOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Basic": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py index e02a4c924e4..08e1361db4a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py @@ -47,10 +47,11 @@ class DictionaryOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.DictionaryWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py index fdaa0cb8fc9..a25637ffe59 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py @@ -40,10 +40,11 @@ class FlattencomplexOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.MyBaseType": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py index 4a422476cb9..876ea9560fa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py @@ -40,10 +40,11 @@ class InheritanceOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Siamese": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py index 580da49ccaa..22b88b7150e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py @@ -40,10 +40,11 @@ class PolymorphicrecursiveOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py index 2db25dbbb63..8f77193317a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py @@ -50,10 +50,11 @@ class PolymorphismOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py index 9a9d6a1c783..e2effc21272 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py @@ -64,10 +64,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_int(self, **kwargs: Any) -> "_models.IntWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py index e59dcb394b2..f5d4a45eb05 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py @@ -40,10 +40,11 @@ class ReadonlypropertyOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> "_models.ReadonlyObj": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py index a7ea4b84cdc..ac7bda4a655 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py @@ -113,10 +113,11 @@ class ArrayOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.ArrayWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py index b3278ad9897..c254a68daf9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py @@ -134,10 +134,11 @@ class BasicOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Basic": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py index a6cc8651361..f3d8e644f6e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py @@ -125,10 +125,11 @@ class DictionaryOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.DictionaryWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py index e9411f26abb..54559b345d8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py @@ -56,10 +56,11 @@ class FlattencomplexOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.MyBaseType": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py index bb1e1393d6c..b1e0bd04065 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py @@ -73,10 +73,11 @@ class InheritanceOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Siamese": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py index 4567134f005..ac3171165f8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py @@ -73,10 +73,11 @@ class PolymorphicrecursiveOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py index 123267fbad9..95e1ac46321 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py @@ -173,10 +173,11 @@ class PolymorphismOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.Fish": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py index 355310c2fca..4808464dfae 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py @@ -354,10 +354,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_int(self, **kwargs: Any) -> "_models.IntWrapper": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py index 7e3a1c86f34..addc7f2e468 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py @@ -73,10 +73,11 @@ class ReadonlypropertyOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> "_models.ReadonlyObj": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py index 3930af7b609..369cf110a47 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py @@ -50,10 +50,11 @@ class DateOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.date]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py index 2a79f2a639f..65bbda834c1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py @@ -217,10 +217,11 @@ class DateOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py index a9a7640e24d..e8fef002be9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py @@ -64,10 +64,11 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py index 5098032ff9c..3048245c65b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py @@ -517,10 +517,11 @@ class DatetimeOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py index 3fc4a6cadfb..c27c10ea93e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py @@ -51,10 +51,11 @@ class Datetimerfc1123Operations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py index 334a25a121d..12d33a258cf 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py @@ -237,10 +237,11 @@ class Datetimerfc1123Operations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py index 7f95d115e83..5e84fa72a22 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py @@ -107,10 +107,11 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Dict[str, int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py index 0f8b48777d2..f2a1e4e733e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py @@ -1409,10 +1409,11 @@ class DictionaryOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py index 05b9383a732..e3e6b28ace4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -46,10 +46,11 @@ class DurationOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py index 0f7edfda84e..450a3f28fcb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py @@ -133,10 +133,11 @@ class DurationOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py index 6d011370743..bb433202199 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py @@ -44,10 +44,11 @@ class FilesOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_file(self, **kwargs: Any) -> IO: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py index ee2613b2d5b..d8ac79ab216 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py @@ -108,10 +108,11 @@ class FilesOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_file( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py index 56c8b92a942..e7920c78383 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py @@ -44,10 +44,11 @@ class FormdataOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def upload_file(self, file_content: IO, file_name: str, **kwargs: Any) -> IO: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py index cc1b8b83ac3..af9be7ce858 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py @@ -120,10 +120,11 @@ class FormdataOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def upload_file( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py index c6d7f20a9ed..fa1c351c0b2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py @@ -43,10 +43,11 @@ class FormdataurlencodedOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py index c2215581405..55301d3b965 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py @@ -98,10 +98,11 @@ class FormdataurlencodedOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py index 5039d0607dc..ca557e0034a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py @@ -56,10 +56,11 @@ class IntOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[int]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py index 1b0e4deabb6..b34ba8dee25 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py @@ -349,10 +349,11 @@ class IntOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py index 11b46b92236..ca06d6039e5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py @@ -65,10 +65,11 @@ class NumberOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[float]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py index e5020f4dbc1..140ebe52eea 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py @@ -576,10 +576,11 @@ class NumberOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py index f4571414bea..5d36647391f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py @@ -47,10 +47,11 @@ class EnumOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_not_expandable(self, **kwargs: Any) -> Union[str, "_models.Colors"]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py index a46f6281b73..232b6af0a03 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py @@ -54,10 +54,11 @@ class StringOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[str]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py index 217f3831629..148c394e04e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py @@ -180,10 +180,11 @@ class EnumOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_not_expandable( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py index 50056731919..b50456a6140 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py @@ -334,10 +334,11 @@ class StringOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py index 786da53070d..ec8b2fc8a59 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py @@ -41,10 +41,11 @@ class TimeOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get(self, **kwargs: Any) -> datetime.time: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py index 4a158837d7d..277ec85f4f4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py @@ -93,10 +93,11 @@ class TimeOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py index a178e4b25ff..3bf16c48803 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py @@ -58,10 +58,11 @@ class ContantsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py index 112676780f9..1507812deeb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py @@ -425,10 +425,11 @@ class ContantsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index b37a90b800f..5d169788e00 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -40,10 +40,11 @@ class PathsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index aa28e0e06d9..badc85cf9b9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -67,10 +67,11 @@ class PathsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py index b3dcdbb9fc1..1421d12afd1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py @@ -40,10 +40,11 @@ class PathsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py index 58731074a34..30df30283ee 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py @@ -84,10 +84,11 @@ class PathsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py index 25c35132e5b..afda184e9d9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py @@ -40,10 +40,11 @@ class PetOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_by_pet_id(self, pet_id: str, **kwargs: Any) -> "_models.Pet": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py index e3788f20800..ef4bf456be9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py @@ -98,10 +98,11 @@ class PetOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_by_pet_id( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py index b7e3a48eedc..1d785a2c064 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py @@ -71,10 +71,11 @@ class HeaderOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py index f98e5f27dd3..af086d546e1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py @@ -734,10 +734,11 @@ class HeaderOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py index ad0954e0761..f4f979311c0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py @@ -67,10 +67,11 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head400(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py index fad55ecce5e..987b4a81249 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py @@ -44,10 +44,11 @@ class HttpFailureOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty_error(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py index 75f6e0c4975..01f962bdc16 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py @@ -57,10 +57,11 @@ class HttpRedirectsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head300(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py index cd092bfb6d0..67d394d5de7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py @@ -50,10 +50,11 @@ class HttpRetryOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head408(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py index 3cad67aa6a3..8396012abb5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py @@ -45,10 +45,11 @@ class HttpServerFailureOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head501(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py index 3a38180ca6a..b6857782af6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py @@ -60,10 +60,11 @@ class HttpSuccessOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py index c46a81ed960..bd481e2e27f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py @@ -75,10 +75,11 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get200_model204_no_model_default_error200_valid(self, **kwargs: Any) -> Optional["_models.MyException"]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py index 7fb045795fd..b6321126c9c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py @@ -620,10 +620,11 @@ class HttpClientFailureOperations(object): # pylint: disable=too-many-public-me models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head400( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py index 9caea66dd72..6d1be53b4d7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py @@ -108,10 +108,11 @@ class HttpFailureOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty_error( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py index d60bff5025a..d93e4f31560 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py @@ -396,10 +396,11 @@ class HttpRedirectsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head300( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py index 3a059738898..92c99e052a9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py @@ -252,10 +252,11 @@ class HttpRetryOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head408( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py index b12c6d79849..a00b84a47ce 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py @@ -136,10 +136,11 @@ class HttpServerFailureOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head501( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py index cdeadcc35cf..442706241a9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py @@ -484,10 +484,11 @@ class HttpSuccessOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py index 44f7f1de4c5..b082f399098 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py @@ -680,10 +680,11 @@ class MultipleResponsesOperations(object): # pylint: disable=too-many-public-me models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get200_model204_no_model_default_error200_valid( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py index 7cb8cc1aa9d..2f822499fa4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py @@ -38,10 +38,11 @@ class FloatOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put(self, input: Optional[Union[float, "_models.FloatEnum"]] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py index 228fc3599b2..1b108d0df8f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py @@ -38,10 +38,11 @@ class IntOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put(self, input: Optional[Union[int, "_models.IntEnum"]] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py index 03e589b5336..6c96fe0e538 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py @@ -90,10 +90,11 @@ class FloatOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py index d3daad31439..3021e8b8c11 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py @@ -90,10 +90,11 @@ class IntOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py index 5272ed0c559..d53c284e7fb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py @@ -40,10 +40,11 @@ class AvailabilitySetsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py index 2d18276ac92..c4e93a99aed 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py @@ -78,10 +78,11 @@ class AvailabilitySetsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py index 29f6ad0b3b7..c74d3583ba8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py @@ -65,10 +65,11 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py index c49e2abd278..77cdab66bfc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py @@ -49,10 +49,11 @@ class ImplicitOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_required_path( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py index feb981661d5..33235db1deb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py @@ -620,10 +620,11 @@ class ExplicitOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py index 6f87220461b..7777b95cb24 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py @@ -254,10 +254,11 @@ class ImplicitOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_required_path( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py index 9382f05990c..76afa9e68aa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py @@ -40,10 +40,11 @@ class ImportOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def operation_one(self, parameter1: str, **kwargs: Any) -> Any: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py index 695fc251231..f94d64868f0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py @@ -75,10 +75,11 @@ class ImportOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def operation_one( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py index 458ce237ce7..53cda79e9d3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py @@ -45,10 +45,11 @@ class PathItemsOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py index 36393fe7f95..ae8d89992ff 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py @@ -69,10 +69,11 @@ class PathsOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py index 1fc79d50d3d..a29b86038fa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py @@ -77,10 +77,11 @@ class QueriesOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py index b700c0fce5c..08c9f9fa1fd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py @@ -223,10 +223,11 @@ class PathItemsOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py index cf432adf0b2..33b89964d49 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py @@ -767,10 +767,11 @@ class PathsOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_boolean_true( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py index 9d769a6c719..65351c2622b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py @@ -1012,10 +1012,11 @@ class QueriesOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_boolean_true( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py index 11ed205fb75..64b83f3307a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py @@ -44,10 +44,11 @@ class QueriesOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py index 274b398788a..1fddfd421d0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py @@ -132,10 +132,11 @@ class QueriesOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py index 4947f2b16d7..41f45a4fa49 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py @@ -75,10 +75,11 @@ class XmlOperations: # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_complex_type_ref_no_meta(self, **kwargs: Any) -> "_models.RootWithRefAndNoMeta": diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py index 2390100a0d9..d906cd7aa3a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py @@ -810,10 +810,11 @@ class XmlOperations(object): # pylint: disable=too-many-public-methods models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_complex_type_ref_no_meta( diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py index ad9a0eeab87..b98b8fef090 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py @@ -44,10 +44,11 @@ class PetOperations: models = _models def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_pet_by_id(self, pet_id: str, **kwargs: Any) -> Optional["_models.Pet"]: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py index 9af5199ba9c..218d91a7725 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py @@ -128,10 +128,11 @@ class PetOperations(object): models = _models def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_pet_by_id( diff --git a/test/vanilla/version-tolerant/AcceptanceTests/test_python3_only.py b/test/vanilla/version-tolerant/AcceptanceTests/test_python3_only.py index 0f1f818e714..5ce37ab0ead 100644 --- a/test/vanilla/version-tolerant/AcceptanceTests/test_python3_only.py +++ b/test/vanilla/version-tolerant/AcceptanceTests/test_python3_only.py @@ -30,4 +30,4 @@ def test_operation_groups(): from bodycomplexpython3only.operations import ArrayOperations from bodycomplexpython3only.operations._operations import ArrayOperations as ArrayOperationsPy3 assert ArrayOperations == ArrayOperationsPy3 - ArrayOperationsPy3(client=None, config=None, serializer=None, deserializer=None) + ArrayOperationsPy3(None, config=None, serializer=None, deserializer=None) diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py index 4a115397e0e..b81e1134a40 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py @@ -44,10 +44,11 @@ class PetsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def create_ap_true(self, create_parameters: JSONType, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py index c3b98fe57c4..741be1d3b26 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py @@ -140,10 +140,11 @@ class PetsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def create_ap_true(self, create_parameters: JSONType, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py index b18e77d5e0c..d6990650872 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py @@ -108,10 +108,11 @@ class ArrayOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py index 5a08fd14833..55cb0bcc278 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py @@ -949,10 +949,11 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> List[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py index 11470eabc50..4698d72002e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py @@ -37,10 +37,11 @@ class UploadOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def file( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py index 64a0c2861b1..a71680139c1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py @@ -68,10 +68,11 @@ class UploadOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def file( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py index c28552dac4c..b925a4d95fb 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py @@ -44,10 +44,11 @@ class BoolOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_true(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py index e788a209e4e..b286b6d6b6c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py @@ -122,10 +122,11 @@ class BoolOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_true(self, **kwargs: Any) -> bool: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py index 74cfce05b99..c670e590434 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py @@ -43,10 +43,11 @@ class ByteOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py index eb2dbe4bc67..78ee855c0cb 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py @@ -104,10 +104,11 @@ class ByteOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> bytearray: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py index 1d6e7d2661a..ea91f022f24 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py @@ -93,10 +93,11 @@ class BasicOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -391,10 +392,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_int(self, **kwargs: Any) -> JSONType: @@ -1399,10 +1401,11 @@ class ArrayOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1644,10 +1647,11 @@ class DictionaryOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1933,10 +1937,11 @@ class InheritanceOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2059,10 +2064,11 @@ class PolymorphismOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2670,10 +2676,11 @@ class PolymorphicrecursiveOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2838,10 +2845,11 @@ class ReadonlypropertyOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2944,10 +2952,11 @@ class FlattencomplexOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py index 1fb7c745370..1b866284086 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py @@ -817,10 +817,11 @@ class BasicOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -1115,10 +1116,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_int(self, **kwargs: Any) -> JSONType: @@ -2113,10 +2115,11 @@ class ArrayOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2358,10 +2361,11 @@ class DictionaryOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2647,10 +2651,11 @@ class InheritanceOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2773,10 +2778,11 @@ class PolymorphismOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3384,10 +3390,11 @@ class PolymorphicrecursiveOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3552,10 +3559,11 @@ class ReadonlypropertyOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3658,10 +3666,11 @@ class FlattencomplexOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py index af54cd9438d..838f8b27b6f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py @@ -93,10 +93,11 @@ class BasicOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -391,10 +392,11 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_int(self, **kwargs: Any) -> JSONType: @@ -1399,10 +1401,11 @@ class ArrayOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1644,10 +1647,11 @@ class DictionaryOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -1933,10 +1937,11 @@ class InheritanceOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2059,10 +2064,11 @@ class PolymorphismOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2670,10 +2676,11 @@ class PolymorphicrecursiveOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2838,10 +2845,11 @@ class ReadonlypropertyOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: @@ -2944,10 +2952,11 @@ class FlattencomplexOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py index 01d523cc8be..963f4570f01 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py @@ -816,10 +816,11 @@ class BasicOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -1114,10 +1115,11 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_int(self, **kwargs: Any) -> JSONType: @@ -2112,10 +2114,11 @@ class ArrayOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2357,10 +2360,11 @@ class DictionaryOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2646,10 +2650,11 @@ class InheritanceOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -2772,10 +2777,11 @@ class PolymorphismOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3383,10 +3389,11 @@ class PolymorphicrecursiveOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3551,10 +3558,11 @@ class ReadonlypropertyOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: @@ -3657,10 +3665,11 @@ class FlattencomplexOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_valid(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py index a4cb59dd54f..6231658a1b2 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py @@ -48,10 +48,11 @@ class Datetimerfc1123Operations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py index a2c01965f55..c4202ba2137 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py @@ -161,10 +161,11 @@ class Datetimerfc1123Operations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py index 4275874ab30..c00820e6cd5 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py @@ -61,10 +61,11 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py index 25b7f1654db..5266fcc5523 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py @@ -347,10 +347,11 @@ class DatetimeOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.datetime]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py index 66c44b8e9a9..4eebe4aaa7c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py @@ -47,10 +47,11 @@ class DateOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.date]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py index 5e71df4ab1c..a21545be2c9 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py @@ -145,10 +145,11 @@ class DateOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.date]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py index 464e71695fe..56e48e88cf1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py @@ -104,10 +104,11 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Dict[str, int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py index a0a2a596e3c..f5f4cb7b858 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py @@ -909,10 +909,11 @@ class DictionaryOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Dict[str, int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index 5201fb4f802..b2cfa8e1d89 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -43,10 +43,11 @@ class DurationOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index 7cc170cf3e3..a9ed639a4fe 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -95,10 +95,11 @@ class DurationOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[datetime.timedelta]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py index 0478fac7208..83f552148be 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py @@ -41,10 +41,11 @@ class FilesOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_file(self, **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py index fd6038f07eb..1ba48dbb67c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py @@ -76,10 +76,11 @@ class FilesOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_file(self, **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py index c68bf848159..89cb3108b5f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py @@ -41,10 +41,11 @@ class FormdataOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def upload_file(self, files: Dict[str, Any], **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py index 259de58d9e9..b052df1ec53 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py @@ -92,10 +92,11 @@ class FormdataOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def upload_file(self, files: Dict[str, Any], **kwargs: Any) -> IO: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py index 461e22a2b52..79f0543d7bd 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py @@ -40,10 +40,11 @@ class FormdataurlencodedOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py index 7531ddd8e6e..0fb0a47eccf 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py @@ -79,10 +79,11 @@ class FormdataurlencodedOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def update_pet_with_form( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py index 3cbe0d74100..9b420118f5c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py @@ -53,10 +53,11 @@ class IntOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py index 70d8fbb1bbc..acd8429f7b0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py @@ -229,10 +229,11 @@ class IntOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[int]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py index cb0b7053df3..5ea5bf04b32 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py @@ -62,10 +62,11 @@ class NumberOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[float]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py index 2dad701aced..5107ac5637f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py @@ -372,10 +372,11 @@ class NumberOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[float]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py index 36de9d439e7..eb08e1c4ce1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py @@ -57,10 +57,11 @@ class StringOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_null(self, **kwargs: Any) -> Optional[str]: @@ -542,10 +543,11 @@ class EnumOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_not_expandable(self, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py index 4a3f3912c52..e8add9ab80f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py @@ -309,10 +309,11 @@ class StringOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_null(self, **kwargs: Any) -> Optional[str]: @@ -794,10 +795,11 @@ class EnumOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_not_expandable(self, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py index 61893547bdf..3af291fd0fd 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py @@ -38,10 +38,11 @@ class TimeOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get(self, **kwargs: Any) -> datetime.time: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py index edcbad1b059..c2b914a4800 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py @@ -69,10 +69,11 @@ class TimeOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get(self, **kwargs: Any) -> datetime.time: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py index b4f4f249feb..6187921e796 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py @@ -54,10 +54,11 @@ class ContantsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py index f7281ef0751..f2c120fe848 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py @@ -281,10 +281,11 @@ class ContantsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put_no_model_as_string_no_required_two_value_no_default( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py index e8ca53dbb4b..fdc2ddc91ee 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py @@ -36,10 +36,11 @@ class PathsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py index 97995896812..761a531db56 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py @@ -66,10 +66,11 @@ class PathsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 5200e63fa2f..29344984c47 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -36,10 +36,11 @@ class PathsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index 74f3d4ab057..d30552434e3 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -50,10 +50,11 @@ class PathsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty(self, account_name: str, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py index 10df18ce603..107d2956e7d 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py @@ -37,10 +37,11 @@ class PetOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_by_pet_id(self, pet_id: str, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py index 9562899cc86..61462b681aa 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py @@ -75,10 +75,11 @@ class PetOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_by_pet_id(self, pet_id: str, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py index b46dd80ab82..6a59bdd46a4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py @@ -67,10 +67,11 @@ class HeaderOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py index f576cb836ae..13c35dda510 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py @@ -433,10 +433,11 @@ class HeaderOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def param_existing_key( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py index a0ef1897a4d..421316768db 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py @@ -149,10 +149,11 @@ class HttpFailureOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_empty_error(self, **kwargs: Any) -> bool: @@ -267,10 +268,11 @@ class HttpSuccessOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head200(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1020,10 +1022,11 @@ class HttpRedirectsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head300(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1654,10 +1657,11 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head400(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2567,10 +2571,11 @@ class HttpServerFailureOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head501(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2721,10 +2726,11 @@ class HttpRetryOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def head408(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3077,10 +3083,11 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get200_model204_no_model_default_error200_valid(self, **kwargs: Any) -> Optional[JSONType]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py index d60cfc8e366..f7eb59436e7 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py @@ -1538,10 +1538,11 @@ class HttpFailureOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_empty_error(self, **kwargs: Any) -> bool: @@ -1656,10 +1657,11 @@ class HttpSuccessOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head200(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2409,10 +2411,11 @@ class HttpRedirectsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head300(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3043,10 +3046,11 @@ class HttpClientFailureOperations(object): # pylint: disable=too-many-public-me """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head400(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3956,10 +3960,11 @@ class HttpServerFailureOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head501(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -4110,10 +4115,11 @@ class HttpRetryOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def head408(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -4466,10 +4472,11 @@ class MultipleResponsesOperations(object): # pylint: disable=too-many-public-me """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get200_model204_no_model_default_error200_valid(self, **kwargs: Any) -> Optional[JSONType]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py index 79e997789bf..9693778378e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py @@ -42,10 +42,11 @@ class IntOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put(self, input: Optional[int] = None, **kwargs: Any) -> str: @@ -145,10 +146,11 @@ class FloatOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put(self, input: Optional[float] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py index 8904cd981fe..64c9f51a02a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py @@ -96,10 +96,11 @@ class IntOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put(self, input: Optional[int] = None, **kwargs: Any) -> str: @@ -199,10 +200,11 @@ class FloatOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put(self, input: Optional[float] = None, **kwargs: Any) -> str: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py index 23d1f8c2801..ac951dbd4c1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py @@ -37,10 +37,11 @@ class AvailabilitySetsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py index 67126b2a1a4..04cddb008f1 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py @@ -64,10 +64,11 @@ class AvailabilitySetsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def update( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py index 9247bb0e910..a8887315ba8 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py @@ -70,10 +70,11 @@ class ImplicitOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_required_path( # pylint: disable=inconsistent-return-statements @@ -351,10 +352,11 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py index 0b26348ae92..c6b94680193 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py @@ -588,10 +588,11 @@ class ImplicitOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_required_path( # pylint: disable=inconsistent-return-statements @@ -869,10 +870,11 @@ class ExplicitOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def put_optional_binary_body( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py index acb82ac6e30..a72cdf935fe 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py @@ -44,10 +44,11 @@ class ImportOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def operation_one(self, *, parameter1: str, **kwargs: Any) -> Any: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py index 263d498f4d4..ee3fb64aa77 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py @@ -155,10 +155,11 @@ class ImportOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def operation_one(self, *, parameter1: str, **kwargs: Any) -> Any: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py index 0f180a1d25e..0b755351a10 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py @@ -40,10 +40,11 @@ class QueriesOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py index e2d701166ae..bcab0716203 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py @@ -102,10 +102,11 @@ class QueriesOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def array_string_multi_null( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py index 3711d4fd605..a09d4616703 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py @@ -104,10 +104,11 @@ class PathsOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -1036,10 +1037,11 @@ class QueriesOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2241,10 +2243,11 @@ class PathItemsOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py index f4e962adfa0..60ca5e41044 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py @@ -1319,10 +1319,11 @@ class PathsOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -2245,10 +2246,11 @@ class QueriesOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_boolean_true(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements @@ -3448,10 +3450,11 @@ class PathItemsOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_all_with_values( # pylint: disable=inconsistent-return-statements diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py index d450955a955..050bd1146a9 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py @@ -73,10 +73,11 @@ class XmlOperations: # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_complex_type_ref_no_meta(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py index a0a3fe5b7ed..b6ad5aa3424 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py @@ -530,10 +530,11 @@ class XmlOperations(object): # pylint: disable=too-many-public-methods """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_complex_type_ref_no_meta(self, **kwargs: Any) -> JSONType: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py index ec091d8c175..0b5a3f21867 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py @@ -41,10 +41,11 @@ class PetOperations: """ def __init__(self, *args, **kwargs) -> None: - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace_async async def get_pet_by_id(self, pet_id: str, **kwargs: Any) -> Optional[JSONType]: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py index aa7106a4833..fcd9f410cd8 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py @@ -93,10 +93,11 @@ class PetOperations(object): """ def __init__(self, *args, **kwargs): - self._client = kwargs.pop("client", args[0]) - self._config = kwargs.pop("config", args[1]) - self._serialize = kwargs.pop("serializer", args[2]) - self._deserialize = kwargs.pop("deserializer", args[3]) + args = list(args) + self._client = args.pop(0) if args else kwargs.pop("client") + self._config = args.pop(0) if args else kwargs.pop("config") + self._serialize = args.pop(0) if args else kwargs.pop("serializer") + self._deserialize = args.pop(0) if args else kwargs.pop("deserializer") @distributed_trace def get_pet_by_id(self, pet_id: str, **kwargs: Any) -> Optional[JSONType]: From 3da591a9a2ce96180f1c47baa8aeb87ffa7499aa Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Mon, 7 Mar 2022 11:50:01 -0500 Subject: [PATCH 5/5] fix line too long --- .../templates/operation_group.py.jinja2 | 6 +-- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../aio/operations/_duration_operations.py | 5 ++- .../operations/_duration_operations.py | 5 ++- .../_parameter_grouping_operations.py | 5 ++- .../_parameter_grouping_operations.py | 5 ++- .../_api_version_default_operations.py | 5 ++- .../_api_version_local_operations.py | 5 ++- .../aio/operations/_header_operations.py | 5 ++- .../aio/operations/_odata_operations.py | 5 ++- .../_skip_url_encoding_operations.py | 5 ++- ..._subscription_in_credentials_operations.py | 5 ++- .../_subscription_in_method_operations.py | 5 ++- .../_xms_client_request_id_operations.py | 5 ++- .../_api_version_default_operations.py | 5 ++- .../_api_version_local_operations.py | 5 ++- .../operations/_header_operations.py | 5 ++- .../operations/_odata_operations.py | 5 ++- .../_skip_url_encoding_operations.py | 5 ++- ..._subscription_in_credentials_operations.py | 5 ++- .../_subscription_in_method_operations.py | 5 ++- .../_xms_client_request_id_operations.py | 5 ++- .../aio/operations/_paths_operations.py | 5 ++- .../operations/_paths_operations.py | 5 ++- .../aio/operations/_paging_operations.py | 5 ++- .../operations/_paging_operations.py | 5 ++- .../aio/operations/_paging_operations.py | 5 ++- .../operations/_paging_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_head_exception_operations.py | 5 ++- .../operations/_head_exception_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../_lr_os_custom_header_operations.py | 5 ++- .../aio/operations/_lro_retrys_operations.py | 5 ++- .../lro/aio/operations/_lros_operations.py | 5 ++- .../lro/aio/operations/_lrosads_operations.py | 5 ++- .../_lr_os_custom_header_operations.py | 5 ++- .../lro/operations/_lro_retrys_operations.py | 5 ++- .../Lro/lro/operations/_lros_operations.py | 5 ++- .../Lro/lro/operations/_lrosads_operations.py | 5 ++- .../aio/operations/_paging_operations.py | 5 ++- .../paging/operations/_paging_operations.py | 5 ++- .../_storage_accounts_operations.py | 5 ++- .../aio/operations/_usage_operations.py | 5 ++- .../_storage_accounts_operations.py | 5 ++- .../storage/operations/_usage_operations.py | 5 ++- .../aio/operations/_group_operations.py | 5 ++- .../operations/_group_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 40 ++++++++++------- .../operations/_operations.py | 40 ++++++++++------- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 20 +++++---- .../operations/_operations.py | 20 +++++---- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 10 +++-- .../operations/_operations.py | 10 +++-- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../_operation_group_one_operations.py | 5 ++- .../_operation_group_two_operations.py | 5 ++- .../aio/operations/_pets_operations.py | 5 ++- .../operations/_pets_operations.py | 5 ++- .../aio/operations/_array_operations.py | 5 ++- .../bodyarray/operations/_array_operations.py | 5 ++- .../array/aio/operations/_array_operations.py | 5 ++- .../array/operations/_array_operations.py | 5 ++- .../aio/operations/_array_operations.py | 5 ++- .../operations/_array_operations.py | 5 ++- .../operations/_array_operations_py3.py | 5 ++- .../aio/operations/_upload_operations.py | 5 ++- .../operations/_upload_operations.py | 5 ++- .../aio/operations/_bool_operations.py | 5 ++- .../operations/_bool_operations.py | 5 ++- .../aio/operations/_byte_operations.py | 5 ++- .../bodybyte/operations/_byte_operations.py | 5 ++- .../aio/operations/_byte_operations.py | 5 ++- .../operations/_byte_operations.py | 5 ++- .../aio/operations/_array_operations.py | 5 ++- .../aio/operations/_basic_operations.py | 5 ++- .../aio/operations/_dictionary_operations.py | 5 ++- .../operations/_flattencomplex_operations.py | 5 ++- .../aio/operations/_inheritance_operations.py | 5 ++- .../_polymorphicrecursive_operations.py | 5 ++- .../operations/_polymorphism_operations.py | 5 ++- .../aio/operations/_primitive_operations.py | 5 ++- .../_readonlyproperty_operations.py | 5 ++- .../operations/_array_operations.py | 5 ++- .../operations/_basic_operations.py | 5 ++- .../operations/_dictionary_operations.py | 5 ++- .../operations/_flattencomplex_operations.py | 5 ++- .../operations/_inheritance_operations.py | 5 ++- .../_polymorphicrecursive_operations.py | 5 ++- .../operations/_polymorphism_operations.py | 5 ++- .../operations/_primitive_operations.py | 5 ++- .../_readonlyproperty_operations.py | 5 ++- .../aio/operations/_array_operations.py | 5 ++- .../aio/operations/_basic_operations.py | 5 ++- .../aio/operations/_dictionary_operations.py | 5 ++- .../operations/_flattencomplex_operations.py | 5 ++- .../aio/operations/_inheritance_operations.py | 5 ++- .../_polymorphicrecursive_operations.py | 5 ++- .../operations/_polymorphism_operations.py | 5 ++- .../aio/operations/_primitive_operations.py | 5 ++- .../_readonlyproperty_operations.py | 5 ++- .../operations/_array_operations.py | 5 ++- .../operations/_basic_operations.py | 5 ++- .../operations/_dictionary_operations.py | 5 ++- .../operations/_flattencomplex_operations.py | 5 ++- .../operations/_inheritance_operations.py | 5 ++- .../_polymorphicrecursive_operations.py | 5 ++- .../operations/_polymorphism_operations.py | 5 ++- .../operations/_primitive_operations.py | 5 ++- .../_readonlyproperty_operations.py | 5 ++- .../aio/operations/_date_operations.py | 5 ++- .../bodydate/operations/_date_operations.py | 5 ++- .../aio/operations/_datetime_operations.py | 5 ++- .../operations/_datetime_operations.py | 5 ++- .../operations/_datetimerfc1123_operations.py | 5 ++- .../operations/_datetimerfc1123_operations.py | 5 ++- .../aio/operations/_dictionary_operations.py | 5 ++- .../operations/_dictionary_operations.py | 5 ++- .../aio/operations/_duration_operations.py | 5 ++- .../operations/_duration_operations.py | 5 ++- .../aio/operations/_files_operations.py | 5 ++- .../bodyfile/operations/_files_operations.py | 5 ++- .../aio/operations/_formdata_operations.py | 5 ++- .../operations/_formdata_operations.py | 5 ++- .../_formdataurlencoded_operations.py | 5 ++- .../_formdataurlencoded_operations.py | 5 ++- .../aio/operations/_int_operations.py | 5 ++- .../bodyinteger/operations/_int_operations.py | 5 ++- .../aio/operations/_number_operations.py | 5 ++- .../operations/_number_operations.py | 5 ++- .../aio/operations/_enum_operations.py | 5 ++- .../aio/operations/_string_operations.py | 5 ++- .../bodystring/operations/_enum_operations.py | 5 ++- .../operations/_string_operations.py | 5 ++- .../aio/operations/_time_operations.py | 5 ++- .../bodytime/operations/_time_operations.py | 5 ++- .../aio/operations/_contants_operations.py | 5 ++- .../operations/_contants_operations.py | 5 ++- .../aio/operations/_paths_operations.py | 5 ++- .../operations/_paths_operations.py | 5 ++- .../aio/operations/_paths_operations.py | 5 ++- .../operations/_paths_operations.py | 5 ++- .../aio/operations/_pet_operations.py | 5 ++- .../operations/_pet_operations.py | 5 ++- .../aio/operations/_header_operations.py | 5 ++- .../header/operations/_header_operations.py | 5 ++- .../_http_client_failure_operations.py | 5 ++- .../operations/_http_failure_operations.py | 5 ++- .../operations/_http_redirects_operations.py | 5 ++- .../aio/operations/_http_retry_operations.py | 5 ++- .../_http_server_failure_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../_multiple_responses_operations.py | 5 ++- .../_http_client_failure_operations.py | 5 ++- .../operations/_http_failure_operations.py | 5 ++- .../operations/_http_redirects_operations.py | 5 ++- .../operations/_http_retry_operations.py | 5 ++- .../_http_server_failure_operations.py | 5 ++- .../operations/_http_success_operations.py | 5 ++- .../_multiple_responses_operations.py | 5 ++- .../aio/operations/_float_operations.py | 5 ++- .../aio/operations/_int_operations.py | 5 ++- .../operations/_float_operations.py | 5 ++- .../operations/_int_operations.py | 5 ++- .../_availability_sets_operations.py | 5 ++- .../_availability_sets_operations.py | 5 ++- .../aio/operations/_explicit_operations.py | 5 ++- .../aio/operations/_implicit_operations.py | 5 ++- .../operations/_explicit_operations.py | 5 ++- .../operations/_implicit_operations.py | 5 ++- .../_import_operations_operations.py | 5 ++- .../_import_operations_operations.py | 5 ++- .../aio/operations/_path_items_operations.py | 5 ++- .../url/aio/operations/_paths_operations.py | 5 ++- .../url/aio/operations/_queries_operations.py | 5 ++- .../url/operations/_path_items_operations.py | 5 ++- .../Url/url/operations/_paths_operations.py | 5 ++- .../Url/url/operations/_queries_operations.py | 5 ++- .../aio/operations/_queries_operations.py | 5 ++- .../operations/_queries_operations.py | 5 ++- .../aio/operations/_xml_operations.py | 5 ++- .../xmlservice/operations/_xml_operations.py | 5 ++- .../aio/operations/_pet_operations.py | 5 ++- .../operations/_pet_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 45 +++++++++++-------- .../operations/_operations.py | 45 +++++++++++-------- .../aio/operations/_operations.py | 45 +++++++++++-------- .../operations/_operations.py | 45 +++++++++++-------- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 10 +++-- .../operations/_operations.py | 10 +++-- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 35 +++++++++------ .../operations/_operations.py | 35 +++++++++------ .../aio/operations/_operations.py | 10 +++-- .../operations/_operations.py | 10 +++-- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 10 +++-- .../operations/_operations.py | 10 +++-- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 15 ++++--- .../operations/_operations.py | 15 ++++--- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- .../aio/operations/_operations.py | 5 ++- .../operations/_operations.py | 5 ++- 333 files changed, 1227 insertions(+), 819 deletions(-) diff --git a/autorest/codegen/templates/operation_group.py.jinja2 b/autorest/codegen/templates/operation_group.py.jinja2 index 44b16aa5411..978322c9f0d 100644 --- a/autorest/codegen/templates/operation_group.py.jinja2 +++ b/autorest/codegen/templates/operation_group.py.jinja2 @@ -1,13 +1,13 @@ {% set disable = " # pylint: disable=too-many-public-methods" if operation_group.operations | length > 20 else "" %} -{% set client_full_path = "~" + code_model.namespace + (".aio." if async_mode else ".") + code_model.class_name %} class {{ operation_group.class_name }}{{ object_base_class }}:{{ disable }} {% if not operation_group.is_empty_operation_group %} """ .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`{{ client_full_path }}`'s - :attr:`{{ client_full_path }}.{{ operation_group.name }}` attribute. + Instead, you should access the following operations through + :class:`{{ "~" + code_model.namespace + (".aio." if async_mode else ".") + code_model.class_name }}`'s + :attr:`{{ operation_group.name }}` attribute. """ {% if code_model.schemas and code_model.options["models_mode"] %} diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py index 6d9d14c5e3f..f7da9f5ee3d 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/aio/operations/_http_success_operations.py @@ -24,8 +24,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.key.credential.sample.aio.AutoRestHeadTestService`'s - :attr:`~azure.key.credential.sample.aio.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~azure.key.credential.sample.aio.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py index 42f00c3e110..d8f7d167a44 100644 --- a/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/azure_key_credential/generated/azure/key/credential/sample/operations/_http_success_operations.py @@ -75,8 +75,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.key.credential.sample.AutoRestHeadTestService`'s - :attr:`~azure.key.credential.sample.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~azure.key.credential.sample.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py index 4f6414a7cb6..f88b9376801 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/aio/operations/_http_success_operations.py @@ -24,8 +24,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.basic.sample.aio.AutoRestHeadTestService`'s - :attr:`~azure.basic.sample.aio.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~azure.basic.sample.aio.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py index 9c6bd996a38..edd5e6197ff 100644 --- a/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/basic/generated/azure/basic/sample/operations/_http_success_operations.py @@ -75,8 +75,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.basic.sample.AutoRestHeadTestService`'s - :attr:`~azure.basic.sample.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~azure.basic.sample.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py index a12192258cb..44808d6f303 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/aio/operations/_http_success_operations.py @@ -25,8 +25,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.mgmt.sample.aio.AutoRestHeadTestService`'s - :attr:`~azure.mgmt.sample.aio.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~azure.mgmt.sample.aio.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py index b16269d1a13..f2585ee6d2d 100644 --- a/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py +++ b/docs/samples/specification/management/generated/azure/mgmt/sample/operations/_http_success_operations.py @@ -76,8 +76,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.mgmt.sample.AutoRestHeadTestService`'s - :attr:`~azure.mgmt.sample.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~azure.mgmt.sample.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py index ea95fab1cef..51d788269e9 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v1.aio.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v1.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v1.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py index 4ec12e4afc6..35bbfe4b0af 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/operations/_operation_group_one_operations.py @@ -62,8 +62,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v1.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v1.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v1.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py index f2aa9c899e7..59585bc2739 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py index e243fbcd866..6c82231fecd 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py index 88da79d6068..31e973bceee 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_one_operations.py @@ -92,8 +92,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v2.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v2.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py index c91cd1afbe3..c5320bf9857 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/operations/_operation_group_two_operations.py @@ -64,8 +64,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v2.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v2.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v2.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py index bec0830ab59..8ac9276363a 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py index 36391e28700..e9f6718be8b 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py index 0048b67efa4..b6443052965 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_one_operations.py @@ -65,8 +65,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v3.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v3.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py index 7064523e160..d55ae2df765 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/operations/_operation_group_two_operations.py @@ -92,8 +92,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azure.multiapi.sample.v3.MultiapiServiceClient`'s - :attr:`~azure.multiapi.sample.v3.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~azure.multiapi.sample.v3.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py index e3e6b28ace4..8eb4a57afa1 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -39,8 +39,9 @@ class DurationOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyduration.aio.AutoRestDurationTestService`'s - :attr:`~bodyduration.aio.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodyduration.aio.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py index 450a3f28fcb..d80a0e6120a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/operations/_duration_operations.py @@ -126,8 +126,9 @@ class DurationOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyduration.AutoRestDurationTestService`'s - :attr:`~bodyduration.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodyduration.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py index c5dfd8182b0..af1cb1d8bf1 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/aio/operations/_parameter_grouping_operations.py @@ -39,8 +39,9 @@ class ParameterGroupingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azureparametergrouping.aio.AutoRestParameterGroupingTestService`'s - :attr:`~azureparametergrouping.aio.AutoRestParameterGroupingTestService.parameter_grouping` attribute. + Instead, you should access the following operations through + :class:`~azureparametergrouping.aio.AutoRestParameterGroupingTestService`'s + :attr:`parameter_grouping` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py index 5c22bb81479..cf0610fa51e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/_parameter_grouping_operations.py @@ -210,8 +210,9 @@ class ParameterGroupingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azureparametergrouping.AutoRestParameterGroupingTestService`'s - :attr:`~azureparametergrouping.AutoRestParameterGroupingTestService.parameter_grouping` attribute. + Instead, you should access the following operations through + :class:`~azureparametergrouping.AutoRestParameterGroupingTestService`'s + :attr:`parameter_grouping` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py index 4162d5cc40e..1cc1fa5d0ea 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_default_operations.py @@ -39,8 +39,9 @@ class ApiVersionDefaultOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_default` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py index 5ccb515ac9c..c262fa1592a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_api_version_local_operations.py @@ -39,8 +39,9 @@ class ApiVersionLocalOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_local` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py index 2ec063ea9ae..1f310d13716 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_header_operations.py @@ -38,8 +38,9 @@ class HeaderOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.header` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py index 196724d5fd2..f17f17283e2 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_odata_operations.py @@ -34,8 +34,9 @@ class OdataOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.odata` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`odata` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py index 6e1e24e8722..31a7987319a 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_skip_url_encoding_operations.py @@ -42,8 +42,9 @@ class SkipUrlEncodingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`skip_url_encoding` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py index 7246483b991..e45075334ae 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_credentials_operations.py @@ -40,8 +40,9 @@ class SubscriptionInCredentialsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_credentials` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py index f4b4a0f2491..f3f4c4ad297 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_subscription_in_method_operations.py @@ -39,8 +39,9 @@ class SubscriptionInMethodOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_method` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py index 743cb2ba7db..04e46a7c863 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/aio/operations/_xms_client_request_id_operations.py @@ -34,8 +34,9 @@ class XMsClientRequestIdOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`xms_client_request_id` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py index 8a70be035c1..6cec5ed39e2 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_default_operations.py @@ -149,8 +149,9 @@ class ApiVersionDefaultOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_default` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py index 90fc731208c..2b7474cb5aa 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_api_version_local_operations.py @@ -150,8 +150,9 @@ class ApiVersionLocalOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_local` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py index 438e913291d..1ea18914dac 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_header_operations.py @@ -110,8 +110,9 @@ class HeaderOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.header` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py index 7eeeca28fe9..3becc8ead5d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_odata_operations.py @@ -75,8 +75,9 @@ class OdataOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.odata` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`odata` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py index 46005f69019..53998ec7c36 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py @@ -229,8 +229,9 @@ class SkipUrlEncodingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`skip_url_encoding` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py index 045563e9102..7a22d4620ab 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_credentials_operations.py @@ -178,8 +178,9 @@ class SubscriptionInCredentialsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_credentials` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py index 446a3647275..810fd79b84e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_subscription_in_method_operations.py @@ -145,8 +145,9 @@ class SubscriptionInMethodOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_method` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py index a680e034b9c..6d40a814edb 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_xms_client_request_id_operations.py @@ -78,8 +78,9 @@ class XMsClientRequestIdOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. + Instead, you should access the following operations through + :class:`~azurespecialproperties.AutoRestAzureSpecialParametersTestClient`'s + :attr:`xms_client_request_id` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index 5d169788e00..2df2694cb61 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -33,8 +33,9 @@ class PathsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurl.aio.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurl.aio.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurl.aio.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index badc85cf9b9..28ce69751e9 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -60,8 +60,9 @@ class PathsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurl.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurl.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurl.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py index 3df9e38388d..27dd8447d48 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/aio/operations/_paging_operations.py @@ -31,8 +31,9 @@ class PagingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custompollerpager.aio.AutoRestPagingTestService`'s - :attr:`~custompollerpager.aio.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~custompollerpager.aio.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py index be9b51c1686..23542199966 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/operations/_paging_operations.py @@ -585,8 +585,9 @@ class PagingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custompollerpager.AutoRestPagingTestService`'s - :attr:`~custompollerpager.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~custompollerpager.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py index 39e1788c753..ef3ff101ff5 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/aio/operations/_paging_operations.py @@ -38,8 +38,9 @@ class PagingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlpaging.aio.AutoRestParameterizedHostTestPagingClient`'s - :attr:`~custombaseurlpaging.aio.AutoRestParameterizedHostTestPagingClient.paging` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlpaging.aio.AutoRestParameterizedHostTestPagingClient`'s + :attr:`paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py index 66d67a48de8..afc72bc161d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/operations/_paging_operations.py @@ -108,8 +108,9 @@ class PagingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlpaging.AutoRestParameterizedHostTestPagingClient`'s - :attr:`~custombaseurlpaging.AutoRestParameterizedHostTestPagingClient.paging` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlpaging.AutoRestParameterizedHostTestPagingClient`'s + :attr:`paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py index a068cdd4712..dd7bf7c4674 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/aio/operations/_http_success_operations.py @@ -33,8 +33,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~head.aio.AutoRestHeadTestService`'s - :attr:`~head.aio.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~head.aio.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py index 622667e6c32..e42902e09aa 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Head/head/operations/_http_success_operations.py @@ -83,8 +83,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~head.AutoRestHeadTestService`'s - :attr:`~head.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~head.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py index cbfd7c0d8ce..d01479f01bf 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/aio/operations/_head_exception_operations.py @@ -33,8 +33,9 @@ class HeadExceptionOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headexceptions.aio.AutoRestHeadExceptionTestService`'s - :attr:`~headexceptions.aio.AutoRestHeadExceptionTestService.head_exception` attribute. + Instead, you should access the following operations through + :class:`~headexceptions.aio.AutoRestHeadExceptionTestService`'s + :attr:`head_exception` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py index f8d719e58c1..0a416e152e8 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/operations/_head_exception_operations.py @@ -83,8 +83,9 @@ class HeadExceptionOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headexceptions.AutoRestHeadExceptionTestService`'s - :attr:`~headexceptions.AutoRestHeadExceptionTestService.head_exception` attribute. + Instead, you should access the following operations through + :class:`~headexceptions.AutoRestHeadExceptionTestService`'s + :attr:`head_exception` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py index 82551ff82be..66c2723ea35 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/aio/operations/_http_success_operations.py @@ -33,8 +33,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headwithazurekeycredentialpolicy.aio.AutoRestHeadTestService`'s - :attr:`~headwithazurekeycredentialpolicy.aio.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~headwithazurekeycredentialpolicy.aio.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py index cab6ea5e9e4..5c6d609b2fa 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/operations/_http_success_operations.py @@ -83,8 +83,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headwithazurekeycredentialpolicy.AutoRestHeadTestService`'s - :attr:`~headwithazurekeycredentialpolicy.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~headwithazurekeycredentialpolicy.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py index f0a1ab290df..f834002d6a4 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lr_os_custom_header_operations.py @@ -41,8 +41,9 @@ class LROsCustomHeaderOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. + Instead, you should access the following operations through + :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lr_os_custom_header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py index 7a80f487466..171bb2ffa2e 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lro_retrys_operations.py @@ -44,8 +44,9 @@ class LRORetrysOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lro_retrys` attribute. + Instead, you should access the following operations through + :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lro_retrys` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py index 5f038c7be53..8bb41b1c457 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lros_operations.py @@ -81,8 +81,9 @@ class LROsOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lros` attribute. + Instead, you should access the following operations through + :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lros` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py index 85cb987544f..bf4d645a08c 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/aio/operations/_lrosads_operations.py @@ -63,8 +63,9 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.aio.AutoRestLongRunningOperationTestService.lrosads` attribute. + Instead, you should access the following operations through + :class:`~lro.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lrosads` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py index f53ea518665..618ac0d0ec6 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lr_os_custom_header_operations.py @@ -140,8 +140,9 @@ class LROsCustomHeaderOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. + Instead, you should access the following operations through + :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`lr_os_custom_header` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py index 9bbdcb61db5..ed143cc9446 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lro_retrys_operations.py @@ -200,8 +200,9 @@ class LRORetrysOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.AutoRestLongRunningOperationTestService.lro_retrys` attribute. + Instead, you should access the following operations through + :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`lro_retrys` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py index b41ccfdf7a3..ac6d8a790be 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lros_operations.py @@ -1032,8 +1032,9 @@ class LROsOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.AutoRestLongRunningOperationTestService.lros` attribute. + Instead, you should access the following operations through + :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`lros` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py index 47a2c9afe19..161f0580d2b 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/operations/_lrosads_operations.py @@ -636,8 +636,9 @@ class LROSADsOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lro.AutoRestLongRunningOperationTestService`'s - :attr:`~lro.AutoRestLongRunningOperationTestService.lrosads` attribute. + Instead, you should access the following operations through + :class:`~lro.AutoRestLongRunningOperationTestService`'s + :attr:`lrosads` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py index 34f7aa3eb78..969870bd3ef 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/aio/operations/_paging_operations.py @@ -59,8 +59,9 @@ class PagingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~paging.aio.AutoRestPagingTestService`'s - :attr:`~paging.aio.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~paging.aio.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py index a8a3d57d9ee..e540e4a1426 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/operations/_paging_operations.py @@ -590,8 +590,9 @@ class PagingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~paging.AutoRestPagingTestService`'s - :attr:`~paging.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~paging.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py index f3d647e1e8a..1ce2610a0e6 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_storage_accounts_operations.py @@ -48,8 +48,9 @@ class StorageAccountsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storage.aio.StorageManagementClient`'s - :attr:`~storage.aio.StorageManagementClient.storage_accounts` attribute. + Instead, you should access the following operations through + :class:`~storage.aio.StorageManagementClient`'s + :attr:`storage_accounts` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py index 2eb9e3c4f93..742fb34deed 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/aio/operations/_usage_operations.py @@ -34,8 +34,9 @@ class UsageOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storage.aio.StorageManagementClient`'s - :attr:`~storage.aio.StorageManagementClient.usage` attribute. + Instead, you should access the following operations through + :class:`~storage.aio.StorageManagementClient`'s + :attr:`usage` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py index 8f59f1c3f1e..4be69b7cc80 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_storage_accounts_operations.py @@ -374,8 +374,9 @@ class StorageAccountsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storage.StorageManagementClient`'s - :attr:`~storage.StorageManagementClient.storage_accounts` attribute. + Instead, you should access the following operations through + :class:`~storage.StorageManagementClient`'s + :attr:`storage_accounts` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py index 014cdaf9a26..3c01e6e1709 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/operations/_usage_operations.py @@ -75,8 +75,9 @@ class UsageOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storage.StorageManagementClient`'s - :attr:`~storage.StorageManagementClient.usage` attribute. + Instead, you should access the following operations through + :class:`~storage.StorageManagementClient`'s + :attr:`usage` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py index b34ea21577d..92d799e9405 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/aio/operations/_group_operations.py @@ -34,8 +34,9 @@ class GroupOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~subscriptionidapiversion.aio.MicrosoftAzureTestUrl`'s - :attr:`~subscriptionidapiversion.aio.MicrosoftAzureTestUrl.group` attribute. + Instead, you should access the following operations through + :class:`~subscriptionidapiversion.aio.MicrosoftAzureTestUrl`'s + :attr:`group` attribute. """ models = _models diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py index 5b6eecbd080..946dd81a5be 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/operations/_group_operations.py @@ -77,8 +77,9 @@ class GroupOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~subscriptionidapiversion.MicrosoftAzureTestUrl`'s - :attr:`~subscriptionidapiversion.MicrosoftAzureTestUrl.group` attribute. + Instead, you should access the following operations through + :class:`~subscriptionidapiversion.MicrosoftAzureTestUrl`'s + :attr:`group` attribute. """ models = _models diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index b2cfa8e1d89..99ce8295c2c 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -38,8 +38,9 @@ class DurationOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydurationversiontolerant.aio.AutoRestDurationTestService`'s - :attr:`~bodydurationversiontolerant.aio.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodydurationversiontolerant.aio.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index a9ed639a4fe..891471c5121 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -90,8 +90,9 @@ class DurationOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydurationversiontolerant.AutoRestDurationTestService`'s - :attr:`~bodydurationversiontolerant.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodydurationversiontolerant.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py index 3d427c5999f..1acd2840375 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/aio/operations/_operations.py @@ -38,8 +38,9 @@ class ParameterGroupingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azureparametergroupingversiontolerant.aio.AutoRestParameterGroupingTestService`'s - :attr:`~azureparametergroupingversiontolerant.aio.AutoRestParameterGroupingTestService.parameter_grouping` attribute. + Instead, you should access the following operations through + :class:`~azureparametergroupingversiontolerant.aio.AutoRestParameterGroupingTestService`'s + :attr:`parameter_grouping` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py index 2906db6454f..6d8d4f55c70 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/operations/_operations.py @@ -173,8 +173,9 @@ class ParameterGroupingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azureparametergroupingversiontolerant.AutoRestParameterGroupingTestService`'s - :attr:`~azureparametergroupingversiontolerant.AutoRestParameterGroupingTestService.parameter_grouping` attribute. + Instead, you should access the following operations through + :class:`~azureparametergroupingversiontolerant.AutoRestParameterGroupingTestService`'s + :attr:`parameter_grouping` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py index f62e5757b88..3b61b3b4329 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/aio/operations/_operations.py @@ -63,8 +63,9 @@ class XMsClientRequestIdOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`xms_client_request_id` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -143,8 +144,9 @@ class SubscriptionInCredentialsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_credentials` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -315,8 +317,9 @@ class SubscriptionInMethodOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_method` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -471,8 +474,9 @@ class ApiVersionDefaultOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_default` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -614,8 +618,9 @@ class ApiVersionLocalOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_local` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -768,8 +773,9 @@ class SkipUrlEncodingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`skip_url_encoding` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1020,8 +1026,9 @@ class OdataOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.odata` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`odata` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1077,8 +1084,9 @@ class HeaderOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient.header` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.aio.AutoRestAzureSpecialParametersTestClient`'s + :attr:`header` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py index 3a7d556b964..3f6d9ee1dc0 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/operations/_operations.py @@ -564,8 +564,9 @@ class XMsClientRequestIdOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.xms_client_request_id` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`xms_client_request_id` attribute. """ def __init__(self, *args, **kwargs): @@ -644,8 +645,9 @@ class SubscriptionInCredentialsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.subscription_in_credentials` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_credentials` attribute. """ def __init__(self, *args, **kwargs): @@ -816,8 +818,9 @@ class SubscriptionInMethodOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.subscription_in_method` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`subscription_in_method` attribute. """ def __init__(self, *args, **kwargs): @@ -972,8 +975,9 @@ class ApiVersionDefaultOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.api_version_default` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_default` attribute. """ def __init__(self, *args, **kwargs): @@ -1115,8 +1119,9 @@ class ApiVersionLocalOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.api_version_local` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`api_version_local` attribute. """ def __init__(self, *args, **kwargs): @@ -1269,8 +1274,9 @@ class SkipUrlEncodingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.skip_url_encoding` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`skip_url_encoding` attribute. """ def __init__(self, *args, **kwargs): @@ -1519,8 +1525,9 @@ class OdataOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.odata` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`odata` attribute. """ def __init__(self, *args, **kwargs): @@ -1576,8 +1583,9 @@ class HeaderOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s - :attr:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient.header` attribute. + Instead, you should access the following operations through + :class:`~azurespecialpropertiesversiontolerant.AutoRestAzureSpecialParametersTestClient`'s + :attr:`header` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 29344984c47..1b431ff2a71 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -31,8 +31,9 @@ class PathsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index d30552434e3..11da9278a53 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -45,8 +45,9 @@ class PathsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py index 09ccdc4f623..06669c8a091 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/aio/operations/_operations.py @@ -60,8 +60,9 @@ class PagingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custompollerpagerversiontolerant.aio.AutoRestPagingTestService`'s - :attr:`~custompollerpagerversiontolerant.aio.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~custompollerpagerversiontolerant.aio.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py index 927ce14befb..9ab321dd1a5 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/operations/_operations.py @@ -412,8 +412,9 @@ class PagingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custompollerpagerversiontolerant.AutoRestPagingTestService`'s - :attr:`~custompollerpagerversiontolerant.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~custompollerpagerversiontolerant.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py index a20802ba23c..0f3006e6144 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/aio/operations/_operations.py @@ -37,8 +37,9 @@ class PagingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlpagingversiontolerant.aio.AutoRestParameterizedHostTestPagingClient`'s - :attr:`~custombaseurlpagingversiontolerant.aio.AutoRestParameterizedHostTestPagingClient.paging` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlpagingversiontolerant.aio.AutoRestParameterizedHostTestPagingClient`'s + :attr:`paging` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py index ddadfb13a0b..153d4b7a90e 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/operations/_operations.py @@ -79,8 +79,9 @@ class PagingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlpagingversiontolerant.AutoRestParameterizedHostTestPagingClient`'s - :attr:`~custombaseurlpagingversiontolerant.AutoRestParameterizedHostTestPagingClient.paging` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlpagingversiontolerant.AutoRestParameterizedHostTestPagingClient`'s + :attr:`paging` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py index 78378449355..68682724099 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/aio/operations/_operations.py @@ -36,8 +36,9 @@ class HeadExceptionOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headexceptionsversiontolerant.aio.AutoRestHeadExceptionTestService`'s - :attr:`~headexceptionsversiontolerant.aio.AutoRestHeadExceptionTestService.head_exception` attribute. + Instead, you should access the following operations through + :class:`~headexceptionsversiontolerant.aio.AutoRestHeadExceptionTestService`'s + :attr:`head_exception` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py index 11e169cd78d..7aa319daf18 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/operations/_operations.py @@ -56,8 +56,9 @@ class HeadExceptionOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headexceptionsversiontolerant.AutoRestHeadExceptionTestService`'s - :attr:`~headexceptionsversiontolerant.AutoRestHeadExceptionTestService.head_exception` attribute. + Instead, you should access the following operations through + :class:`~headexceptionsversiontolerant.AutoRestHeadExceptionTestService`'s + :attr:`head_exception` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py index fae92551e23..ce2d6f2cd50 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/aio/operations/_operations.py @@ -36,8 +36,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headversiontolerant.aio.AutoRestHeadTestService`'s - :attr:`~headversiontolerant.aio.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~headversiontolerant.aio.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py index fcbff94cb97..b29c6833206 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/operations/_operations.py @@ -56,8 +56,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headversiontolerant.AutoRestHeadTestService`'s - :attr:`~headversiontolerant.AutoRestHeadTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~headversiontolerant.AutoRestHeadTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py index 8af4f96d44b..49f8b13ef23 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/aio/operations/_operations.py @@ -117,8 +117,9 @@ class LROsOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lros` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lros` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -5234,8 +5235,9 @@ class LRORetrysOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lro_retrys` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lro_retrys` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -6012,8 +6014,9 @@ class LROSADsOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lrosads` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lrosads` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -8901,8 +8904,9 @@ class LROsCustomHeaderOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.aio.AutoRestLongRunningOperationTestService`'s + :attr:`lr_os_custom_header` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py index e510ef6e3a4..daa81cd6f5a 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/operations/_operations.py @@ -1328,8 +1328,9 @@ class LROsOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lros` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`lros` attribute. """ def __init__(self, *args, **kwargs): @@ -6409,8 +6410,9 @@ class LRORetrysOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lro_retrys` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`lro_retrys` attribute. """ def __init__(self, *args, **kwargs): @@ -7179,8 +7181,9 @@ class LROSADsOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lrosads` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`lrosads` attribute. """ def __init__(self, *args, **kwargs): @@ -10046,8 +10049,9 @@ class LROsCustomHeaderOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s - :attr:`~lroversiontolerant.AutoRestLongRunningOperationTestService.lr_os_custom_header` attribute. + Instead, you should access the following operations through + :class:`~lroversiontolerant.AutoRestLongRunningOperationTestService`'s + :attr:`lr_os_custom_header` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py index ea711b00a6e..86b7347fbfb 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/aio/operations/_operations.py @@ -58,8 +58,9 @@ class PagingOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~pagingversiontolerant.aio.AutoRestPagingTestService`'s - :attr:`~pagingversiontolerant.aio.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~pagingversiontolerant.aio.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py index 87b0f6ae3b7..1ec794eb318 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/operations/_operations.py @@ -410,8 +410,9 @@ class PagingOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~pagingversiontolerant.AutoRestPagingTestService`'s - :attr:`~pagingversiontolerant.AutoRestPagingTestService.paging` attribute. + Instead, you should access the following operations through + :class:`~pagingversiontolerant.AutoRestPagingTestService`'s + :attr:`paging` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py index 2b5141aa744..957742bcde9 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/aio/operations/_operations.py @@ -48,8 +48,9 @@ class StorageAccountsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storageversiontolerant.aio.StorageManagementClient`'s - :attr:`~storageversiontolerant.aio.StorageManagementClient.storage_accounts` attribute. + Instead, you should access the following operations through + :class:`~storageversiontolerant.aio.StorageManagementClient`'s + :attr:`storage_accounts` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1099,8 +1100,9 @@ class UsageOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storageversiontolerant.aio.StorageManagementClient`'s - :attr:`~storageversiontolerant.aio.StorageManagementClient.usage` attribute. + Instead, you should access the following operations through + :class:`~storageversiontolerant.aio.StorageManagementClient`'s + :attr:`usage` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py index 54796720801..b133faf3555 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/operations/_operations.py @@ -359,8 +359,9 @@ class StorageAccountsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storageversiontolerant.StorageManagementClient`'s - :attr:`~storageversiontolerant.StorageManagementClient.storage_accounts` attribute. + Instead, you should access the following operations through + :class:`~storageversiontolerant.StorageManagementClient`'s + :attr:`storage_accounts` attribute. """ def __init__(self, *args, **kwargs): @@ -1410,8 +1411,9 @@ class UsageOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~storageversiontolerant.StorageManagementClient`'s - :attr:`~storageversiontolerant.StorageManagementClient.usage` attribute. + Instead, you should access the following operations through + :class:`~storageversiontolerant.StorageManagementClient`'s + :attr:`usage` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py index f203b2be6a4..137412b49a9 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/aio/operations/_operations.py @@ -33,8 +33,9 @@ class GroupOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~subscriptionidapiversionversiontolerant.aio.MicrosoftAzureTestUrl`'s - :attr:`~subscriptionidapiversionversiontolerant.aio.MicrosoftAzureTestUrl.group` attribute. + Instead, you should access the following operations through + :class:`~subscriptionidapiversionversiontolerant.aio.MicrosoftAzureTestUrl`'s + :attr:`group` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py index 36a0bb0ac91..ad7152f56fe 100644 --- a/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py +++ b/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/operations/_operations.py @@ -64,8 +64,9 @@ class GroupOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~subscriptionidapiversionversiontolerant.MicrosoftAzureTestUrl`'s - :attr:`~subscriptionidapiversionversiontolerant.MicrosoftAzureTestUrl.group` attribute. + Instead, you should access the following operations through + :class:`~subscriptionidapiversionversiontolerant.MicrosoftAzureTestUrl`'s + :attr:`group` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py index 3490042e295..c68911a148a 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/aio/operations/_operations.py @@ -38,8 +38,9 @@ class ParamsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~dpgservicedriveninitialversiontolerant.aio.DPGClient`'s - :attr:`~dpgservicedriveninitialversiontolerant.aio.DPGClient.params` attribute. + Instead, you should access the following operations through + :class:`~dpgservicedriveninitialversiontolerant.aio.DPGClient`'s + :attr:`params` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py index 0311bba6227..941fc692ad1 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/operations/_operations.py @@ -116,8 +116,9 @@ class ParamsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~dpgservicedriveninitialversiontolerant.DPGClient`'s - :attr:`~dpgservicedriveninitialversiontolerant.DPGClient.params` attribute. + Instead, you should access the following operations through + :class:`~dpgservicedriveninitialversiontolerant.DPGClient`'s + :attr:`params` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py index 0f34c8d709e..4af56d8064c 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/aio/operations/_operations.py @@ -40,8 +40,9 @@ class ParamsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~dpgservicedrivenupdateoneversiontolerant.aio.DPGClient`'s - :attr:`~dpgservicedrivenupdateoneversiontolerant.aio.DPGClient.params` attribute. + Instead, you should access the following operations through + :class:`~dpgservicedrivenupdateoneversiontolerant.aio.DPGClient`'s + :attr:`params` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py index 2551349fd1b..615fa269755 100644 --- a/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py +++ b/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/operations/_operations.py @@ -150,8 +150,9 @@ class ParamsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~dpgservicedrivenupdateoneversiontolerant.DPGClient`'s - :attr:`~dpgservicedrivenupdateoneversiontolerant.DPGClient.params` attribute. + Instead, you should access the following operations through + :class:`~dpgservicedrivenupdateoneversiontolerant.DPGClient`'s + :attr:`params` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py index 1129e8a85be..c216aedb6cd 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v0.aio.MultiapiServiceClient`'s - :attr:`~multiapi.v0.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v0.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py index 2677ba799ae..f9198869126 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/operations/_operation_group_one_operations.py @@ -62,8 +62,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v0.MultiapiServiceClient`'s - :attr:`~multiapi.v0.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v0.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py index 647c1fe24bc..c319ee372e2 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v1.aio.MultiapiServiceClient`'s - :attr:`~multiapi.v1.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v1.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py index 989a182e9e1..a8d1e0ca237 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/operations/_operation_group_one_operations.py @@ -62,8 +62,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v1.MultiapiServiceClient`'s - :attr:`~multiapi.v1.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v1.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py index 02d91d3edde..70f12785a44 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapi.v2.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py index 58952d02c6e..bf80614dc7e 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapi.v2.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py index 34b84a07f25..cd1ae29d385 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_one_operations.py @@ -92,8 +92,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v2.MultiapiServiceClient`'s - :attr:`~multiapi.v2.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v2.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py index 79931316178..55f2a677f83 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/operations/_operation_group_two_operations.py @@ -64,8 +64,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v2.MultiapiServiceClient`'s - :attr:`~multiapi.v2.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v2.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py index 49bc03dbf09..74dd26bf54d 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapi.v3.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py index aa9e9e28a7a..c9de7f55454 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapi.v3.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py index 833e547a5fb..0f8c6b0721c 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_one_operations.py @@ -65,8 +65,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v3.MultiapiServiceClient`'s - :attr:`~multiapi.v3.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v3.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py index e5462930ecc..ab05b03b2b5 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/operations/_operation_group_two_operations.py @@ -92,8 +92,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapi.v3.MultiapiServiceClient`'s - :attr:`~multiapi.v3.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapi.v3.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py index 79f431862c8..83c5fe172a4 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v1.aio.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v1.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v1.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py index d1fae4e100c..48ceebf4f8e 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/operations/_operation_group_one_operations.py @@ -62,8 +62,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v1.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v1.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v1.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py index c815d23f910..333e9db40a7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py index 9a90e110572..f1fcafd6068 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py index a6307be5cc3..5cca15f857b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_one_operations.py @@ -92,8 +92,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py index f9ee2b83a61..adab6a617e7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/operations/_operation_group_two_operations.py @@ -64,8 +64,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v2.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py index 678c4d4c963..9c08625bf05 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py index 466ab438730..09496739c11 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py index 0061adc7cd8..ccee1ff2206 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_one_operations.py @@ -65,8 +65,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py index 339ace3ea67..9b5005e92dc 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/operations/_operation_group_two_operations.py @@ -92,8 +92,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient`'s - :attr:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapicredentialdefaultpolicy.v3.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py index 16177b4980e..a18e56f5e78 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/aio/operations/_operation_group_one_operations.py @@ -25,8 +25,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v1.aio.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v1.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v1.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py index 9c947081320..96bdfa10804 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/operations/_operation_group_one_operations.py @@ -61,8 +61,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v1.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v1.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v1.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py index a0bcef6928e..5d89bdbcabe 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_one_operations.py @@ -25,8 +25,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v2.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py index 70120ab020b..f1b8bde87d5 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/aio/operations/_operation_group_two_operations.py @@ -25,8 +25,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v2.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py index 0be2bc8c283..1cea1c2639d 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_one_operations.py @@ -91,8 +91,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v2.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v2.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v2.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py index d2d1b5c68c1..5bde19094a4 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/operations/_operation_group_two_operations.py @@ -63,8 +63,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v2.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v2.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v2.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py index 971e1815360..ba6f6530e3c 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_one_operations.py @@ -25,8 +25,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v3.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py index 16749a1cf8e..61666cd483a 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/aio/operations/_operation_group_two_operations.py @@ -25,8 +25,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v3.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py index b0f7736f56f..e75edffe0d0 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_one_operations.py @@ -64,8 +64,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v3.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v3.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v3.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py index a4d06f89dfc..7096b846692 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/operations/_operation_group_two_operations.py @@ -91,8 +91,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapidataplane.v3.MultiapiServiceClient`'s - :attr:`~multiapidataplane.v3.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapidataplane.v3.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py index 1e963d97b66..f585941df97 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/operations/_operation_group_one_operations.py @@ -62,8 +62,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapinoasync.v1.MultiapiServiceClient`'s - :attr:`~multiapinoasync.v1.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapinoasync.v1.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py index 6b66f52eeb2..e70dbee6edf 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_one_operations.py @@ -92,8 +92,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapinoasync.v2.MultiapiServiceClient`'s - :attr:`~multiapinoasync.v2.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapinoasync.v2.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py index c9b39ee1bf4..644943c7887 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/operations/_operation_group_two_operations.py @@ -64,8 +64,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapinoasync.v2.MultiapiServiceClient`'s - :attr:`~multiapinoasync.v2.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapinoasync.v2.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py index b115cbe32c3..1059a3c42af 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_one_operations.py @@ -65,8 +65,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapinoasync.v3.MultiapiServiceClient`'s - :attr:`~multiapinoasync.v3.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapinoasync.v3.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py index 85ce38a5838..d3a1b15f473 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/operations/_operation_group_two_operations.py @@ -92,8 +92,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapinoasync.v3.MultiapiServiceClient`'s - :attr:`~multiapinoasync.v3.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapinoasync.v3.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py index 935be5632a6..900d6ff7606 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v1.aio.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v1.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v1.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py index 4e90595cdc5..f1682cd4987 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/operations/_operation_group_one_operations.py @@ -62,8 +62,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v1.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v1.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v1.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py index 7079f8f2ed0..d9a6a7b8e93 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py index 22def67e293..f0c59b50948 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v2.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py index bdeedacb379..ef8128856c7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_one_operations.py @@ -92,8 +92,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py index ab83b575f39..f690b9e09d9 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/operations/_operation_group_two_operations.py @@ -64,8 +64,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v2.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py index a5ecf31291a..04383beb292 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_one_operations.py @@ -26,8 +26,9 @@ class OperationGroupOneOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py index 53fd2c7e723..84e807bfb1a 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/aio/operations/_operation_group_two_operations.py @@ -26,8 +26,9 @@ class OperationGroupTwoOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v3.aio.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py index f28c6f43fb0..74fbec17b27 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_one_operations.py @@ -65,8 +65,9 @@ class OperationGroupOneOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient.operation_group_one` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient`'s + :attr:`operation_group_one` attribute. """ models = _models diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py index 0821264ddb1..bf30563e10f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/operations/_operation_group_two_operations.py @@ -92,8 +92,9 @@ class OperationGroupTwoOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient`'s - :attr:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient.operation_group_two` attribute. + Instead, you should access the following operations through + :class:`~multiapiwithsubmodule.submodule.v3.MultiapiServiceClient`'s + :attr:`operation_group_two` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py index 08fd9b6eb4e..cd12c593d9a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/aio/operations/_pets_operations.py @@ -40,8 +40,9 @@ class PetsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~additionalproperties.aio.AdditionalPropertiesClient`'s - :attr:`~additionalproperties.aio.AdditionalPropertiesClient.pets` attribute. + Instead, you should access the following operations through + :class:`~additionalproperties.aio.AdditionalPropertiesClient`'s + :attr:`pets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py index 6d821cbcb70..6fdadd51c66 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/operations/_pets_operations.py @@ -185,8 +185,9 @@ class PetsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~additionalproperties.AdditionalPropertiesClient`'s - :attr:`~additionalproperties.AdditionalPropertiesClient.pets` attribute. + Instead, you should access the following operations through + :class:`~additionalproperties.AdditionalPropertiesClient`'s + :attr:`pets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py index b4e79c5266e..3a7976ca35c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/aio/operations/_array_operations.py @@ -104,8 +104,9 @@ class ArrayOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarray.aio.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarray.aio.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarray.aio.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py index 887e27cf072..c53bb852191 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/operations/_array_operations.py @@ -1494,8 +1494,9 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarray.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarray.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarray.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py index d261783ecd7..dcdb0656777 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/aio/operations/_array_operations.py @@ -104,8 +104,9 @@ class ArrayOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~vanilla.body.array.aio.AutoRestSwaggerBATArrayService`'s - :attr:`~vanilla.body.array.aio.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~vanilla.body.array.aio.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py index 65453dd1eba..14e05064eeb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/operations/_array_operations.py @@ -1494,8 +1494,9 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~vanilla.body.array.AutoRestSwaggerBATArrayService`'s - :attr:`~vanilla.body.array.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~vanilla.body.array.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py index 15fc62d10ab..294a1efe768 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/aio/operations/_array_operations.py @@ -104,8 +104,9 @@ class ArrayOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarraywithpythonthreeoperationfiles.aio.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarraywithpythonthreeoperationfiles.aio.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarraywithpythonthreeoperationfiles.aio.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py index da0e721e0c7..4fdf241c8cd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations.py @@ -1495,8 +1495,9 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py index a209c18c2f8..f5e22bfa959 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/operations/_array_operations_py3.py @@ -941,8 +941,9 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarraywithpythonthreeoperationfiles.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py index c735870eca0..6b21603e7d2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/aio/operations/_upload_operations.py @@ -32,8 +32,9 @@ class UploadOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybinary.aio.BinaryWithContentTypeApplicationJson`'s - :attr:`~bodybinary.aio.BinaryWithContentTypeApplicationJson.upload` attribute. + Instead, you should access the following operations through + :class:`~bodybinary.aio.BinaryWithContentTypeApplicationJson`'s + :attr:`upload` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py index 5d7ca4a122a..26e31503fb8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/operations/_upload_operations.py @@ -84,8 +84,9 @@ class UploadOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybinary.BinaryWithContentTypeApplicationJson`'s - :attr:`~bodybinary.BinaryWithContentTypeApplicationJson.upload` attribute. + Instead, you should access the following operations through + :class:`~bodybinary.BinaryWithContentTypeApplicationJson`'s + :attr:`upload` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py index 2eed5672ea2..81feea1e2c2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/aio/operations/_bool_operations.py @@ -40,8 +40,9 @@ class BoolOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyboolean.aio.AutoRestBoolTestService`'s - :attr:`~bodyboolean.aio.AutoRestBoolTestService.bool` attribute. + Instead, you should access the following operations through + :class:`~bodyboolean.aio.AutoRestBoolTestService`'s + :attr:`bool` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py index a49ea5909b2..56af466a9af 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/operations/_bool_operations.py @@ -173,8 +173,9 @@ class BoolOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyboolean.AutoRestBoolTestService`'s - :attr:`~bodyboolean.AutoRestBoolTestService.bool` attribute. + Instead, you should access the following operations through + :class:`~bodyboolean.AutoRestBoolTestService`'s + :attr:`bool` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py index 1449e5ac19e..b0e8ec1ab1a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/aio/operations/_byte_operations.py @@ -39,8 +39,9 @@ class ByteOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybyte.aio.AutoRestSwaggerBATByteService`'s - :attr:`~bodybyte.aio.AutoRestSwaggerBATByteService.byte` attribute. + Instead, you should access the following operations through + :class:`~bodybyte.aio.AutoRestSwaggerBATByteService`'s + :attr:`byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py index 5026060e9dc..3389cbcb902 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/operations/_byte_operations.py @@ -145,8 +145,9 @@ class ByteOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybyte.AutoRestSwaggerBATByteService`'s - :attr:`~bodybyte.AutoRestSwaggerBATByteService.byte` attribute. + Instead, you should access the following operations through + :class:`~bodybyte.AutoRestSwaggerBATByteService`'s + :attr:`byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py index ec6bd375e8f..7dc458770c5 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/aio/operations/_byte_operations.py @@ -39,8 +39,9 @@ class ByteOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybytewithpackagename.aio.ClassName`'s - :attr:`~bodybytewithpackagename.aio.ClassName.byte` attribute. + Instead, you should access the following operations through + :class:`~bodybytewithpackagename.aio.ClassName`'s + :attr:`byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py index f6faaf51956..68a80c4e1b7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/operations/_byte_operations.py @@ -145,8 +145,9 @@ class ByteOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybytewithpackagename.ClassName`'s - :attr:`~bodybytewithpackagename.ClassName.byte` attribute. + Instead, you should access the following operations through + :class:`~bodybytewithpackagename.ClassName`'s + :attr:`byte` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py index edc6188d9e6..356220e587b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_array_operations.py @@ -39,8 +39,9 @@ class ArrayOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py index 7f4d18e4a47..c1fda4223ca 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py @@ -40,8 +40,9 @@ class BasicOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py index deea684391b..69c49ccb212 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_dictionary_operations.py @@ -40,8 +40,9 @@ class DictionaryOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py index caf860a0241..a7bcd7e3d78 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_flattencomplex_operations.py @@ -33,8 +33,9 @@ class FlattencomplexOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py index 97c407c2302..6e6bb179138 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_inheritance_operations.py @@ -33,8 +33,9 @@ class InheritanceOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py index 4708834a2a8..6ba214f5d9a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphicrecursive_operations.py @@ -33,8 +33,9 @@ class PolymorphicrecursiveOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py index 6475f92516d..a9296bb4ec2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_polymorphism_operations.py @@ -43,8 +43,9 @@ class PolymorphismOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py index a14ae115412..070d7b50b54 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_primitive_operations.py @@ -57,8 +57,9 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py index d8190f56656..72ebc983035 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_readonlyproperty_operations.py @@ -33,8 +33,9 @@ class ReadonlypropertyOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplex.aio.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.aio.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py index 568b6ba59a9..66fd4369e74 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_array_operations.py @@ -148,8 +148,9 @@ class ArrayOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py index 3eb575c29d8..36868675314 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_basic_operations.py @@ -170,8 +170,9 @@ class BasicOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py index b3126ee08f5..48be3600071 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_dictionary_operations.py @@ -168,8 +168,9 @@ class DictionaryOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py index 2f205dac625..59fd333dcbd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_flattencomplex_operations.py @@ -60,8 +60,9 @@ class FlattencomplexOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py index ab1534e5d86..b3d9fc1705c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_inheritance_operations.py @@ -84,8 +84,9 @@ class InheritanceOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py index b6168929a93..eb94476316c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphicrecursive_operations.py @@ -84,8 +84,9 @@ class PolymorphicrecursiveOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py index ab193c3ff9a..2e3ff6f39e7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_polymorphism_operations.py @@ -236,8 +236,9 @@ class PolymorphismOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py index 0faf4c99149..b5b2df69958 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_primitive_operations.py @@ -525,8 +525,9 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py index 351eefb6384..3eff9df10fa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/operations/_readonlyproperty_operations.py @@ -84,8 +84,9 @@ class ReadonlypropertyOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplex.AutoRestComplexTestService`'s - :attr:`~bodycomplex.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplex.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py index a742ec5013f..90f942ddbed 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_array_operations.py @@ -39,8 +39,9 @@ class ArrayOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py index 043d9c8c88a..7b75a02e9c2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_basic_operations.py @@ -40,8 +40,9 @@ class BasicOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py index 08e1361db4a..eef0a0dce20 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_dictionary_operations.py @@ -40,8 +40,9 @@ class DictionaryOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py index a25637ffe59..bbb404d6460 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_flattencomplex_operations.py @@ -33,8 +33,9 @@ class FlattencomplexOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py index 876ea9560fa..6445623bdd3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_inheritance_operations.py @@ -33,8 +33,9 @@ class InheritanceOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py index 22b88b7150e..1b107ddc982 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphicrecursive_operations.py @@ -33,8 +33,9 @@ class PolymorphicrecursiveOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py index 8f77193317a..161427c448f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_polymorphism_operations.py @@ -43,8 +43,9 @@ class PolymorphismOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py index e2effc21272..3c445c11c38 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_primitive_operations.py @@ -57,8 +57,9 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py index f5d4a45eb05..8d79346516d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/aio/operations/_readonlyproperty_operations.py @@ -33,8 +33,9 @@ class ReadonlypropertyOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py index ac7bda4a655..99df3145987 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_array_operations.py @@ -106,8 +106,9 @@ class ArrayOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`array` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py index c254a68daf9..1512d8e2cd0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_basic_operations.py @@ -127,8 +127,9 @@ class BasicOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py index f3d8e644f6e..218bced08f6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_dictionary_operations.py @@ -118,8 +118,9 @@ class DictionaryOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py index 54559b345d8..f20d184195b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_flattencomplex_operations.py @@ -49,8 +49,9 @@ class FlattencomplexOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py index b1e0bd04065..d3243a823f7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_inheritance_operations.py @@ -66,8 +66,9 @@ class InheritanceOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py index ac3171165f8..f968928359a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphicrecursive_operations.py @@ -66,8 +66,9 @@ class PolymorphicrecursiveOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py index 95e1ac46321..64c9e060f50 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_polymorphism_operations.py @@ -166,8 +166,9 @@ class PolymorphismOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py index 4808464dfae..1af6c234484 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_primitive_operations.py @@ -347,8 +347,9 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py index addc7f2e468..74d3ff1f3cf 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplexPythonThreeOnly/bodycomplexpython3only/operations/_readonlyproperty_operations.py @@ -66,8 +66,9 @@ class ReadonlypropertyOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py index 369cf110a47..244b7ae6103 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/aio/operations/_date_operations.py @@ -43,8 +43,9 @@ class DateOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydate.aio.AutoRestDateTestService`'s - :attr:`~bodydate.aio.AutoRestDateTestService.date` attribute. + Instead, you should access the following operations through + :class:`~bodydate.aio.AutoRestDateTestService`'s + :attr:`date` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py index 65bbda834c1..b46394a8a3f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/operations/_date_operations.py @@ -210,8 +210,9 @@ class DateOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydate.AutoRestDateTestService`'s - :attr:`~bodydate.AutoRestDateTestService.date` attribute. + Instead, you should access the following operations through + :class:`~bodydate.AutoRestDateTestService`'s + :attr:`date` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py index e8fef002be9..a85e42419ad 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/aio/operations/_datetime_operations.py @@ -57,8 +57,9 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetime.aio.AutoRestDateTimeTestService`'s - :attr:`~bodydatetime.aio.AutoRestDateTimeTestService.datetime` attribute. + Instead, you should access the following operations through + :class:`~bodydatetime.aio.AutoRestDateTimeTestService`'s + :attr:`datetime` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py index 3048245c65b..f7cc224fa3f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/operations/_datetime_operations.py @@ -510,8 +510,9 @@ class DatetimeOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetime.AutoRestDateTimeTestService`'s - :attr:`~bodydatetime.AutoRestDateTimeTestService.datetime` attribute. + Instead, you should access the following operations through + :class:`~bodydatetime.AutoRestDateTimeTestService`'s + :attr:`datetime` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py index c27c10ea93e..c035ad653c8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/aio/operations/_datetimerfc1123_operations.py @@ -44,8 +44,9 @@ class Datetimerfc1123Operations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetimerfc1123.aio.AutoRestRFC1123DateTimeTestService`'s - :attr:`~bodydatetimerfc1123.aio.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. + Instead, you should access the following operations through + :class:`~bodydatetimerfc1123.aio.AutoRestRFC1123DateTimeTestService`'s + :attr:`datetimerfc1123` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py index 12d33a258cf..8046fcf1ea9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/operations/_datetimerfc1123_operations.py @@ -230,8 +230,9 @@ class Datetimerfc1123Operations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetimerfc1123.AutoRestRFC1123DateTimeTestService`'s - :attr:`~bodydatetimerfc1123.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. + Instead, you should access the following operations through + :class:`~bodydatetimerfc1123.AutoRestRFC1123DateTimeTestService`'s + :attr:`datetimerfc1123` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py index 5e84fa72a22..e47c9863f2c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/aio/operations/_dictionary_operations.py @@ -100,8 +100,9 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydictionary.aio.AutoRestSwaggerBATDictionaryService`'s - :attr:`~bodydictionary.aio.AutoRestSwaggerBATDictionaryService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodydictionary.aio.AutoRestSwaggerBATDictionaryService`'s + :attr:`dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py index f2a1e4e733e..09ab5e0fd24 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/operations/_dictionary_operations.py @@ -1402,8 +1402,9 @@ class DictionaryOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydictionary.AutoRestSwaggerBATDictionaryService`'s - :attr:`~bodydictionary.AutoRestSwaggerBATDictionaryService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodydictionary.AutoRestSwaggerBATDictionaryService`'s + :attr:`dictionary` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py index e3e6b28ace4..8eb4a57afa1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/aio/operations/_duration_operations.py @@ -39,8 +39,9 @@ class DurationOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyduration.aio.AutoRestDurationTestService`'s - :attr:`~bodyduration.aio.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodyduration.aio.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py index 450a3f28fcb..d80a0e6120a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/operations/_duration_operations.py @@ -126,8 +126,9 @@ class DurationOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyduration.AutoRestDurationTestService`'s - :attr:`~bodyduration.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodyduration.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py index bb433202199..cbe708ed9bc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/aio/operations/_files_operations.py @@ -37,8 +37,9 @@ class FilesOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyfile.aio.AutoRestSwaggerBATFileService`'s - :attr:`~bodyfile.aio.AutoRestSwaggerBATFileService.files` attribute. + Instead, you should access the following operations through + :class:`~bodyfile.aio.AutoRestSwaggerBATFileService`'s + :attr:`files` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py index d8ac79ab216..8264557f7e4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/operations/_files_operations.py @@ -101,8 +101,9 @@ class FilesOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyfile.AutoRestSwaggerBATFileService`'s - :attr:`~bodyfile.AutoRestSwaggerBATFileService.files` attribute. + Instead, you should access the following operations through + :class:`~bodyfile.AutoRestSwaggerBATFileService`'s + :attr:`files` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py index e7920c78383..1af74c2cd89 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/aio/operations/_formdata_operations.py @@ -37,8 +37,9 @@ class FormdataOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformdata.aio.AutoRestSwaggerBATFormDataService`'s - :attr:`~bodyformdata.aio.AutoRestSwaggerBATFormDataService.formdata` attribute. + Instead, you should access the following operations through + :class:`~bodyformdata.aio.AutoRestSwaggerBATFormDataService`'s + :attr:`formdata` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py index af9be7ce858..bb4773f72b0 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/operations/_formdata_operations.py @@ -113,8 +113,9 @@ class FormdataOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformdata.AutoRestSwaggerBATFormDataService`'s - :attr:`~bodyformdata.AutoRestSwaggerBATFormDataService.formdata` attribute. + Instead, you should access the following operations through + :class:`~bodyformdata.AutoRestSwaggerBATFormDataService`'s + :attr:`formdata` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py index fa1c351c0b2..a78ce85fc6c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/aio/operations/_formdataurlencoded_operations.py @@ -36,8 +36,9 @@ class FormdataurlencodedOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformurlencodeddata.aio.BodyFormsDataURLEncoded`'s - :attr:`~bodyformurlencodeddata.aio.BodyFormsDataURLEncoded.formdataurlencoded` attribute. + Instead, you should access the following operations through + :class:`~bodyformurlencodeddata.aio.BodyFormsDataURLEncoded`'s + :attr:`formdataurlencoded` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py index 55301d3b965..1af3dc70e43 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/operations/_formdataurlencoded_operations.py @@ -91,8 +91,9 @@ class FormdataurlencodedOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformurlencodeddata.BodyFormsDataURLEncoded`'s - :attr:`~bodyformurlencodeddata.BodyFormsDataURLEncoded.formdataurlencoded` attribute. + Instead, you should access the following operations through + :class:`~bodyformurlencodeddata.BodyFormsDataURLEncoded`'s + :attr:`formdataurlencoded` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py index ca557e0034a..1c3e4a46c4a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/aio/operations/_int_operations.py @@ -49,8 +49,9 @@ class IntOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyinteger.aio.AutoRestIntegerTestService`'s - :attr:`~bodyinteger.aio.AutoRestIntegerTestService.int` attribute. + Instead, you should access the following operations through + :class:`~bodyinteger.aio.AutoRestIntegerTestService`'s + :attr:`int` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py index b34ba8dee25..3811c300599 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/operations/_int_operations.py @@ -342,8 +342,9 @@ class IntOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyinteger.AutoRestIntegerTestService`'s - :attr:`~bodyinteger.AutoRestIntegerTestService.int` attribute. + Instead, you should access the following operations through + :class:`~bodyinteger.AutoRestIntegerTestService`'s + :attr:`int` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py index ca06d6039e5..226408ad780 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations/_number_operations.py @@ -58,8 +58,9 @@ class NumberOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodynumber.aio.AutoRestNumberTestService`'s - :attr:`~bodynumber.aio.AutoRestNumberTestService.number` attribute. + Instead, you should access the following operations through + :class:`~bodynumber.aio.AutoRestNumberTestService`'s + :attr:`number` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py index 140ebe52eea..0dbcbdac388 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/operations/_number_operations.py @@ -569,8 +569,9 @@ class NumberOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodynumber.AutoRestNumberTestService`'s - :attr:`~bodynumber.AutoRestNumberTestService.number` attribute. + Instead, you should access the following operations through + :class:`~bodynumber.AutoRestNumberTestService`'s + :attr:`number` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py index 5d36647391f..d0ca946acf9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_enum_operations.py @@ -40,8 +40,9 @@ class EnumOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystring.aio.AutoRestSwaggerBATService`'s - :attr:`~bodystring.aio.AutoRestSwaggerBATService.enum` attribute. + Instead, you should access the following operations through + :class:`~bodystring.aio.AutoRestSwaggerBATService`'s + :attr:`enum` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py index 232b6af0a03..996dd2cc118 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/aio/operations/_string_operations.py @@ -47,8 +47,9 @@ class StringOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystring.aio.AutoRestSwaggerBATService`'s - :attr:`~bodystring.aio.AutoRestSwaggerBATService.string` attribute. + Instead, you should access the following operations through + :class:`~bodystring.aio.AutoRestSwaggerBATService`'s + :attr:`string` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py index 148c394e04e..124ffa01331 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_enum_operations.py @@ -173,8 +173,9 @@ class EnumOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystring.AutoRestSwaggerBATService`'s - :attr:`~bodystring.AutoRestSwaggerBATService.enum` attribute. + Instead, you should access the following operations through + :class:`~bodystring.AutoRestSwaggerBATService`'s + :attr:`enum` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py index b50456a6140..bb26df95cf3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/operations/_string_operations.py @@ -327,8 +327,9 @@ class StringOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystring.AutoRestSwaggerBATService`'s - :attr:`~bodystring.AutoRestSwaggerBATService.string` attribute. + Instead, you should access the following operations through + :class:`~bodystring.AutoRestSwaggerBATService`'s + :attr:`string` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py index ec8b2fc8a59..4ad570d72f9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/aio/operations/_time_operations.py @@ -34,8 +34,9 @@ class TimeOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodytime.aio.AutoRestTimeTestService`'s - :attr:`~bodytime.aio.AutoRestTimeTestService.time` attribute. + Instead, you should access the following operations through + :class:`~bodytime.aio.AutoRestTimeTestService`'s + :attr:`time` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py index 277ec85f4f4..c83d0adbfa1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/operations/_time_operations.py @@ -86,8 +86,9 @@ class TimeOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodytime.AutoRestTimeTestService`'s - :attr:`~bodytime.AutoRestTimeTestService.time` attribute. + Instead, you should access the following operations through + :class:`~bodytime.AutoRestTimeTestService`'s + :attr:`time` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py index 3bf16c48803..9e28fe34b26 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/aio/operations/_contants_operations.py @@ -51,8 +51,9 @@ class ContantsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~constants.aio.AutoRestSwaggerConstantService`'s - :attr:`~constants.aio.AutoRestSwaggerConstantService.contants` attribute. + Instead, you should access the following operations through + :class:`~constants.aio.AutoRestSwaggerConstantService`'s + :attr:`contants` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py index 1507812deeb..09e9efaf655 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/operations/_contants_operations.py @@ -418,8 +418,9 @@ class ContantsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~constants.AutoRestSwaggerConstantService`'s - :attr:`~constants.AutoRestSwaggerConstantService.contants` attribute. + Instead, you should access the following operations through + :class:`~constants.AutoRestSwaggerConstantService`'s + :attr:`contants` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py index 5d169788e00..2df2694cb61 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/aio/operations/_paths_operations.py @@ -33,8 +33,9 @@ class PathsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurl.aio.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurl.aio.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurl.aio.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py index badc85cf9b9..28ce69751e9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/operations/_paths_operations.py @@ -60,8 +60,9 @@ class PathsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurl.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurl.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurl.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py index 1421d12afd1..111dd2dfc22 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/aio/operations/_paths_operations.py @@ -33,8 +33,9 @@ class PathsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlmoreoptions.aio.AutoRestParameterizedCustomHostTestClient`'s - :attr:`~custombaseurlmoreoptions.aio.AutoRestParameterizedCustomHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlmoreoptions.aio.AutoRestParameterizedCustomHostTestClient`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py index 30df30283ee..67acf71dd73 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/operations/_paths_operations.py @@ -77,8 +77,9 @@ class PathsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlmoreoptions.AutoRestParameterizedCustomHostTestClient`'s - :attr:`~custombaseurlmoreoptions.AutoRestParameterizedCustomHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlmoreoptions.AutoRestParameterizedCustomHostTestClient`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py index afda184e9d9..08118c6250a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/aio/operations/_pet_operations.py @@ -33,8 +33,9 @@ class PetOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~extensibleenumsswagger.aio.PetStoreInc`'s - :attr:`~extensibleenumsswagger.aio.PetStoreInc.pet` attribute. + Instead, you should access the following operations through + :class:`~extensibleenumsswagger.aio.PetStoreInc`'s + :attr:`pet` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py index ef4bf456be9..668c2686081 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/operations/_pet_operations.py @@ -91,8 +91,9 @@ class PetOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~extensibleenumsswagger.PetStoreInc`'s - :attr:`~extensibleenumsswagger.PetStoreInc.pet` attribute. + Instead, you should access the following operations through + :class:`~extensibleenumsswagger.PetStoreInc`'s + :attr:`pet` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py index 1d785a2c064..72989a24b87 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/aio/operations/_header_operations.py @@ -64,8 +64,9 @@ class HeaderOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~header.aio.AutoRestSwaggerBATHeaderService`'s - :attr:`~header.aio.AutoRestSwaggerBATHeaderService.header` attribute. + Instead, you should access the following operations through + :class:`~header.aio.AutoRestSwaggerBATHeaderService`'s + :attr:`header` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py index af086d546e1..9a0ba89bb3c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/operations/_header_operations.py @@ -727,8 +727,9 @@ class HeaderOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~header.AutoRestSwaggerBATHeaderService`'s - :attr:`~header.AutoRestSwaggerBATHeaderService.header` attribute. + Instead, you should access the following operations through + :class:`~header.AutoRestSwaggerBATHeaderService`'s + :attr:`header` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py index f4f979311c0..2da98564541 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_client_failure_operations.py @@ -60,8 +60,9 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_client_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py index 987b4a81249..ac7f62b3903 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_failure_operations.py @@ -37,8 +37,9 @@ class HttpFailureOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py index 01f962bdc16..3d17c897657 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_redirects_operations.py @@ -50,8 +50,9 @@ class HttpRedirectsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_redirects` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_redirects` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py index 67d394d5de7..c525c8f3f10 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_retry_operations.py @@ -43,8 +43,9 @@ class HttpRetryOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_retry` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_retry` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py index 8396012abb5..eba8307519b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_server_failure_operations.py @@ -38,8 +38,9 @@ class HttpServerFailureOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_server_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py index b6857782af6..ba814153b51 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py @@ -53,8 +53,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_success` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py index bd481e2e27f..3b8efa98eef 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_multiple_responses_operations.py @@ -68,8 +68,9 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`multiple_responses` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py index b6321126c9c..7041b593225 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_client_failure_operations.py @@ -613,8 +613,9 @@ class HttpClientFailureOperations(object): # pylint: disable=too-many-public-me .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`http_client_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py index 6d1be53b4d7..44923880714 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_failure_operations.py @@ -101,8 +101,9 @@ class HttpFailureOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`http_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py index d93e4f31560..603eafcaf42 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_redirects_operations.py @@ -389,8 +389,9 @@ class HttpRedirectsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_redirects` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`http_redirects` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py index 92c99e052a9..d9129309a6c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_retry_operations.py @@ -245,8 +245,9 @@ class HttpRetryOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_retry` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`http_retry` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py index a00b84a47ce..365383d31bd 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_server_failure_operations.py @@ -129,8 +129,9 @@ class HttpServerFailureOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`http_server_failure` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py index 442706241a9..5e37136b2ab 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_http_success_operations.py @@ -477,8 +477,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`http_success` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py index b082f399098..58a6569d30f 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/operations/_multiple_responses_operations.py @@ -673,8 +673,9 @@ class MultipleResponsesOperations(object): # pylint: disable=too-many-public-me .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructure.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructure.AutoRestHttpInfrastructureTestService`'s + :attr:`multiple_responses` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py index 2f822499fa4..8a9c58841bc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_float_operations.py @@ -33,8 +33,9 @@ class FloatOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenums.aio.NonStringEnumsClient`'s - :attr:`~nonstringenums.aio.NonStringEnumsClient.float` attribute. + Instead, you should access the following operations through + :class:`~nonstringenums.aio.NonStringEnumsClient`'s + :attr:`float` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py index 1b108d0df8f..d044d29a873 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/aio/operations/_int_operations.py @@ -33,8 +33,9 @@ class IntOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenums.aio.NonStringEnumsClient`'s - :attr:`~nonstringenums.aio.NonStringEnumsClient.int` attribute. + Instead, you should access the following operations through + :class:`~nonstringenums.aio.NonStringEnumsClient`'s + :attr:`int` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py index 6c96fe0e538..6f4052e83e9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_float_operations.py @@ -85,8 +85,9 @@ class FloatOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenums.NonStringEnumsClient`'s - :attr:`~nonstringenums.NonStringEnumsClient.float` attribute. + Instead, you should access the following operations through + :class:`~nonstringenums.NonStringEnumsClient`'s + :attr:`float` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py index 3021e8b8c11..f74fbccf5ac 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/operations/_int_operations.py @@ -85,8 +85,9 @@ class IntOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenums.NonStringEnumsClient`'s - :attr:`~nonstringenums.NonStringEnumsClient.int` attribute. + Instead, you should access the following operations through + :class:`~nonstringenums.NonStringEnumsClient`'s + :attr:`int` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py index d53c284e7fb..aeb543eb002 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/aio/operations/_availability_sets_operations.py @@ -33,8 +33,9 @@ class AvailabilitySetsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~parameterflattening.aio.AutoRestParameterFlattening`'s - :attr:`~parameterflattening.aio.AutoRestParameterFlattening.availability_sets` attribute. + Instead, you should access the following operations through + :class:`~parameterflattening.aio.AutoRestParameterFlattening`'s + :attr:`availability_sets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py index c4e93a99aed..d663aeb5737 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/operations/_availability_sets_operations.py @@ -71,8 +71,9 @@ class AvailabilitySetsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~parameterflattening.AutoRestParameterFlattening`'s - :attr:`~parameterflattening.AutoRestParameterFlattening.availability_sets` attribute. + Instead, you should access the following operations through + :class:`~parameterflattening.AutoRestParameterFlattening`'s + :attr:`availability_sets` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py index c74d3583ba8..ad4568c71bb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_explicit_operations.py @@ -58,8 +58,9 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptional.aio.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptional.aio.AutoRestRequiredOptionalTestService.explicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptional.aio.AutoRestRequiredOptionalTestService`'s + :attr:`explicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py index 77cdab66bfc..76b3d6119c4 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/aio/operations/_implicit_operations.py @@ -42,8 +42,9 @@ class ImplicitOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptional.aio.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptional.aio.AutoRestRequiredOptionalTestService.implicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptional.aio.AutoRestRequiredOptionalTestService`'s + :attr:`implicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py index 33235db1deb..66e8c2b698c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_explicit_operations.py @@ -613,8 +613,9 @@ class ExplicitOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptional.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptional.AutoRestRequiredOptionalTestService.explicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptional.AutoRestRequiredOptionalTestService`'s + :attr:`explicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py index 7777b95cb24..3bd1e8428f1 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/operations/_implicit_operations.py @@ -247,8 +247,9 @@ class ImplicitOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptional.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptional.AutoRestRequiredOptionalTestService.implicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptional.AutoRestRequiredOptionalTestService`'s + :attr:`implicit` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py index 76afa9e68aa..ea7d474f76a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/aio/operations/_import_operations_operations.py @@ -33,8 +33,9 @@ class ImportOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~reservedwords.aio.ReservedWordsClient`'s - :attr:`~reservedwords.aio.ReservedWordsClient.import_operations` attribute. + Instead, you should access the following operations through + :class:`~reservedwords.aio.ReservedWordsClient`'s + :attr:`import_operations` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py index f94d64868f0..30317fafade 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/operations/_import_operations_operations.py @@ -68,8 +68,9 @@ class ImportOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~reservedwords.ReservedWordsClient`'s - :attr:`~reservedwords.ReservedWordsClient.import_operations` attribute. + Instead, you should access the following operations through + :class:`~reservedwords.ReservedWordsClient`'s + :attr:`import_operations` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py index 53cda79e9d3..76ef23feb12 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_path_items_operations.py @@ -38,8 +38,9 @@ class PathItemsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~url.aio.AutoRestUrlTestService`'s - :attr:`~url.aio.AutoRestUrlTestService.path_items` attribute. + Instead, you should access the following operations through + :class:`~url.aio.AutoRestUrlTestService`'s + :attr:`path_items` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py index ae8d89992ff..54b9c1a142c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_paths_operations.py @@ -62,8 +62,9 @@ class PathsOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~url.aio.AutoRestUrlTestService`'s - :attr:`~url.aio.AutoRestUrlTestService.paths` attribute. + Instead, you should access the following operations through + :class:`~url.aio.AutoRestUrlTestService`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py index a29b86038fa..d2c147ea775 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/aio/operations/_queries_operations.py @@ -70,8 +70,9 @@ class QueriesOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~url.aio.AutoRestUrlTestService`'s - :attr:`~url.aio.AutoRestUrlTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~url.aio.AutoRestUrlTestService`'s + :attr:`queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py index 08c9f9fa1fd..fe091e55661 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_path_items_operations.py @@ -216,8 +216,9 @@ class PathItemsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~url.AutoRestUrlTestService`'s - :attr:`~url.AutoRestUrlTestService.path_items` attribute. + Instead, you should access the following operations through + :class:`~url.AutoRestUrlTestService`'s + :attr:`path_items` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py index 33b89964d49..872fac3b3fe 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_paths_operations.py @@ -760,8 +760,9 @@ class PathsOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~url.AutoRestUrlTestService`'s - :attr:`~url.AutoRestUrlTestService.paths` attribute. + Instead, you should access the following operations through + :class:`~url.AutoRestUrlTestService`'s + :attr:`paths` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py index 65351c2622b..f17e89962cf 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/operations/_queries_operations.py @@ -1005,8 +1005,9 @@ class QueriesOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~url.AutoRestUrlTestService`'s - :attr:`~url.AutoRestUrlTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~url.AutoRestUrlTestService`'s + :attr:`queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py index 64b83f3307a..535f24f7b16 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/aio/operations/_queries_operations.py @@ -37,8 +37,9 @@ class QueriesOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlmulticollectionformat.aio.AutoRestUrlMutliCollectionFormatTestService`'s - :attr:`~urlmulticollectionformat.aio.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~urlmulticollectionformat.aio.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py index 1fddfd421d0..bf121a321dc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/operations/_queries_operations.py @@ -125,8 +125,9 @@ class QueriesOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlmulticollectionformat.AutoRestUrlMutliCollectionFormatTestService`'s - :attr:`~urlmulticollectionformat.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~urlmulticollectionformat.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`queries` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py index 41f45a4fa49..b22ad8f038d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/aio/operations/_xml_operations.py @@ -68,8 +68,9 @@ class XmlOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmlservice.aio.AutoRestSwaggerBATXMLService`'s - :attr:`~xmlservice.aio.AutoRestSwaggerBATXMLService.xml` attribute. + Instead, you should access the following operations through + :class:`~xmlservice.aio.AutoRestSwaggerBATXMLService`'s + :attr:`xml` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py index d906cd7aa3a..d1fa974ec81 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/operations/_xml_operations.py @@ -803,8 +803,9 @@ class XmlOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmlservice.AutoRestSwaggerBATXMLService`'s - :attr:`~xmlservice.AutoRestSwaggerBATXMLService.xml` attribute. + Instead, you should access the following operations through + :class:`~xmlservice.AutoRestSwaggerBATXMLService`'s + :attr:`xml` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py index b98b8fef090..b7c8e46f178 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/aio/operations/_pet_operations.py @@ -37,8 +37,9 @@ class PetOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmserrorresponse.aio.XMSErrorResponseExtensions`'s - :attr:`~xmserrorresponse.aio.XMSErrorResponseExtensions.pet` attribute. + Instead, you should access the following operations through + :class:`~xmserrorresponse.aio.XMSErrorResponseExtensions`'s + :attr:`pet` attribute. """ models = _models diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py index 218d91a7725..e4bb1c22556 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/operations/_pet_operations.py @@ -121,8 +121,9 @@ class PetOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmserrorresponse.XMSErrorResponseExtensions`'s - :attr:`~xmserrorresponse.XMSErrorResponseExtensions.pet` attribute. + Instead, you should access the following operations through + :class:`~xmserrorresponse.XMSErrorResponseExtensions`'s + :attr:`pet` attribute. """ models = _models diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py index b81e1134a40..db22e674005 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/aio/operations/_operations.py @@ -39,8 +39,9 @@ class PetsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~additionalpropertiesversiontolerant.aio.AdditionalPropertiesClient`'s - :attr:`~additionalpropertiesversiontolerant.aio.AdditionalPropertiesClient.pets` attribute. + Instead, you should access the following operations through + :class:`~additionalpropertiesversiontolerant.aio.AdditionalPropertiesClient`'s + :attr:`pets` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py index 741be1d3b26..2d2352e0607 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/operations/_operations.py @@ -135,8 +135,9 @@ class PetsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~additionalpropertiesversiontolerant.AdditionalPropertiesClient`'s - :attr:`~additionalpropertiesversiontolerant.AdditionalPropertiesClient.pets` attribute. + Instead, you should access the following operations through + :class:`~additionalpropertiesversiontolerant.AdditionalPropertiesClient`'s + :attr:`pets` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py index d6990650872..4b98ebeec2f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/aio/operations/_operations.py @@ -103,8 +103,9 @@ class ArrayOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarrayversiontolerant.aio.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarrayversiontolerant.aio.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarrayversiontolerant.aio.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py index 55cb0bcc278..affb465a950 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/operations/_operations.py @@ -944,8 +944,9 @@ class ArrayOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyarrayversiontolerant.AutoRestSwaggerBATArrayService`'s - :attr:`~bodyarrayversiontolerant.AutoRestSwaggerBATArrayService.array` attribute. + Instead, you should access the following operations through + :class:`~bodyarrayversiontolerant.AutoRestSwaggerBATArrayService`'s + :attr:`array` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py index 4698d72002e..3b077a14c52 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/aio/operations/_operations.py @@ -32,8 +32,9 @@ class UploadOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybinaryversiontolerant.aio.BinaryWithContentTypeApplicationJson`'s - :attr:`~bodybinaryversiontolerant.aio.BinaryWithContentTypeApplicationJson.upload` attribute. + Instead, you should access the following operations through + :class:`~bodybinaryversiontolerant.aio.BinaryWithContentTypeApplicationJson`'s + :attr:`upload` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py index a71680139c1..181792fc7af 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/operations/_operations.py @@ -63,8 +63,9 @@ class UploadOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybinaryversiontolerant.BinaryWithContentTypeApplicationJson`'s - :attr:`~bodybinaryversiontolerant.BinaryWithContentTypeApplicationJson.upload` attribute. + Instead, you should access the following operations through + :class:`~bodybinaryversiontolerant.BinaryWithContentTypeApplicationJson`'s + :attr:`upload` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py index b925a4d95fb..439c9a63458 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/aio/operations/_operations.py @@ -39,8 +39,9 @@ class BoolOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybooleanversiontolerant.aio.AutoRestBoolTestService`'s - :attr:`~bodybooleanversiontolerant.aio.AutoRestBoolTestService.bool` attribute. + Instead, you should access the following operations through + :class:`~bodybooleanversiontolerant.aio.AutoRestBoolTestService`'s + :attr:`bool` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py index b286b6d6b6c..f53f3e5bbbf 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/operations/_operations.py @@ -117,8 +117,9 @@ class BoolOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybooleanversiontolerant.AutoRestBoolTestService`'s - :attr:`~bodybooleanversiontolerant.AutoRestBoolTestService.bool` attribute. + Instead, you should access the following operations through + :class:`~bodybooleanversiontolerant.AutoRestBoolTestService`'s + :attr:`bool` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py index c670e590434..00daa69cc3f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/aio/operations/_operations.py @@ -38,8 +38,9 @@ class ByteOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybyteversiontolerant.aio.AutoRestSwaggerBATByteService`'s - :attr:`~bodybyteversiontolerant.aio.AutoRestSwaggerBATByteService.byte` attribute. + Instead, you should access the following operations through + :class:`~bodybyteversiontolerant.aio.AutoRestSwaggerBATByteService`'s + :attr:`byte` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py index 78ee855c0cb..f6aad718c81 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/operations/_operations.py @@ -99,8 +99,9 @@ class ByteOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodybyteversiontolerant.AutoRestSwaggerBATByteService`'s - :attr:`~bodybyteversiontolerant.AutoRestSwaggerBATByteService.byte` attribute. + Instead, you should access the following operations through + :class:`~bodybyteversiontolerant.AutoRestSwaggerBATByteService`'s + :attr:`byte` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py index ea91f022f24..e6f3f01e35a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/aio/operations/_operations.py @@ -88,8 +88,9 @@ class BasicOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -387,8 +388,9 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1396,8 +1398,9 @@ class ArrayOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`array` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1642,8 +1645,9 @@ class DictionaryOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1932,8 +1936,9 @@ class InheritanceOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2059,8 +2064,9 @@ class PolymorphismOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2671,8 +2677,9 @@ class PolymorphicrecursiveOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2840,8 +2847,9 @@ class ReadonlypropertyOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2947,8 +2955,9 @@ class FlattencomplexOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.aio.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.aio.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py index 1b866284086..2cf7a5ac82c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexPythonThreeOnlyVersionTolerant/bodycomplexpython3only/operations/_operations.py @@ -812,8 +812,9 @@ class BasicOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ def __init__(self, *args, **kwargs): @@ -1111,8 +1112,9 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ def __init__(self, *args, **kwargs): @@ -2110,8 +2112,9 @@ class ArrayOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`array` attribute. """ def __init__(self, *args, **kwargs): @@ -2356,8 +2359,9 @@ class DictionaryOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ def __init__(self, *args, **kwargs): @@ -2646,8 +2650,9 @@ class InheritanceOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ def __init__(self, *args, **kwargs): @@ -2773,8 +2778,9 @@ class PolymorphismOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ def __init__(self, *args, **kwargs): @@ -3385,8 +3391,9 @@ class PolymorphicrecursiveOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ def __init__(self, *args, **kwargs): @@ -3554,8 +3561,9 @@ class ReadonlypropertyOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ def __init__(self, *args, **kwargs): @@ -3661,8 +3669,9 @@ class FlattencomplexOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s - :attr:`~bodycomplexpython3only.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexpython3only.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py index 838f8b27b6f..a7a97278f0f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/aio/operations/_operations.py @@ -88,8 +88,9 @@ class BasicOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -387,8 +388,9 @@ class PrimitiveOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1396,8 +1398,9 @@ class ArrayOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`array` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1642,8 +1645,9 @@ class DictionaryOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1932,8 +1936,9 @@ class InheritanceOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2059,8 +2064,9 @@ class PolymorphismOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2671,8 +2677,9 @@ class PolymorphicrecursiveOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2840,8 +2847,9 @@ class ReadonlypropertyOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2947,8 +2955,9 @@ class FlattencomplexOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.aio.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py index 963f4570f01..ad87442c8d0 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/operations/_operations.py @@ -811,8 +811,9 @@ class BasicOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.basic` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`basic` attribute. """ def __init__(self, *args, **kwargs): @@ -1110,8 +1111,9 @@ class PrimitiveOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.primitive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`primitive` attribute. """ def __init__(self, *args, **kwargs): @@ -2109,8 +2111,9 @@ class ArrayOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.array` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`array` attribute. """ def __init__(self, *args, **kwargs): @@ -2355,8 +2358,9 @@ class DictionaryOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`dictionary` attribute. """ def __init__(self, *args, **kwargs): @@ -2645,8 +2649,9 @@ class InheritanceOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.inheritance` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`inheritance` attribute. """ def __init__(self, *args, **kwargs): @@ -2772,8 +2777,9 @@ class PolymorphismOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.polymorphism` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`polymorphism` attribute. """ def __init__(self, *args, **kwargs): @@ -3384,8 +3390,9 @@ class PolymorphicrecursiveOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.polymorphicrecursive` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`polymorphicrecursive` attribute. """ def __init__(self, *args, **kwargs): @@ -3553,8 +3560,9 @@ class ReadonlypropertyOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.readonlyproperty` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`readonlyproperty` attribute. """ def __init__(self, *args, **kwargs): @@ -3660,8 +3668,9 @@ class FlattencomplexOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s - :attr:`~bodycomplexversiontolerant.AutoRestComplexTestService.flattencomplex` attribute. + Instead, you should access the following operations through + :class:`~bodycomplexversiontolerant.AutoRestComplexTestService`'s + :attr:`flattencomplex` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py index 6231658a1b2..9ad4ba10f60 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/aio/operations/_operations.py @@ -43,8 +43,9 @@ class Datetimerfc1123Operations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetimerfc1123versiontolerant.aio.AutoRestRFC1123DateTimeTestService`'s - :attr:`~bodydatetimerfc1123versiontolerant.aio.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. + Instead, you should access the following operations through + :class:`~bodydatetimerfc1123versiontolerant.aio.AutoRestRFC1123DateTimeTestService`'s + :attr:`datetimerfc1123` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py index c4202ba2137..32d739299fa 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/operations/_operations.py @@ -156,8 +156,9 @@ class Datetimerfc1123Operations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetimerfc1123versiontolerant.AutoRestRFC1123DateTimeTestService`'s - :attr:`~bodydatetimerfc1123versiontolerant.AutoRestRFC1123DateTimeTestService.datetimerfc1123` attribute. + Instead, you should access the following operations through + :class:`~bodydatetimerfc1123versiontolerant.AutoRestRFC1123DateTimeTestService`'s + :attr:`datetimerfc1123` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py index c00820e6cd5..a787402eaf7 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/aio/operations/_operations.py @@ -56,8 +56,9 @@ class DatetimeOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetimeversiontolerant.aio.AutoRestDateTimeTestService`'s - :attr:`~bodydatetimeversiontolerant.aio.AutoRestDateTimeTestService.datetime` attribute. + Instead, you should access the following operations through + :class:`~bodydatetimeversiontolerant.aio.AutoRestDateTimeTestService`'s + :attr:`datetime` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py index 5266fcc5523..2726703fbe6 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/operations/_operations.py @@ -342,8 +342,9 @@ class DatetimeOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydatetimeversiontolerant.AutoRestDateTimeTestService`'s - :attr:`~bodydatetimeversiontolerant.AutoRestDateTimeTestService.datetime` attribute. + Instead, you should access the following operations through + :class:`~bodydatetimeversiontolerant.AutoRestDateTimeTestService`'s + :attr:`datetime` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py index 4eebe4aaa7c..3097546665a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py @@ -42,8 +42,9 @@ class DateOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydateversiontolerant.aio.AutoRestDateTestService`'s - :attr:`~bodydateversiontolerant.aio.AutoRestDateTestService.date` attribute. + Instead, you should access the following operations through + :class:`~bodydateversiontolerant.aio.AutoRestDateTestService`'s + :attr:`date` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py index a21545be2c9..8ce1421ae39 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/operations/_operations.py @@ -140,8 +140,9 @@ class DateOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydateversiontolerant.AutoRestDateTestService`'s - :attr:`~bodydateversiontolerant.AutoRestDateTestService.date` attribute. + Instead, you should access the following operations through + :class:`~bodydateversiontolerant.AutoRestDateTestService`'s + :attr:`date` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py index 56e48e88cf1..190ce639e77 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/aio/operations/_operations.py @@ -99,8 +99,9 @@ class DictionaryOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydictionaryversiontolerant.aio.AutoRestSwaggerBATDictionaryService`'s - :attr:`~bodydictionaryversiontolerant.aio.AutoRestSwaggerBATDictionaryService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodydictionaryversiontolerant.aio.AutoRestSwaggerBATDictionaryService`'s + :attr:`dictionary` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py index f5f4cb7b858..8b237ec4c33 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/operations/_operations.py @@ -904,8 +904,9 @@ class DictionaryOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydictionaryversiontolerant.AutoRestSwaggerBATDictionaryService`'s - :attr:`~bodydictionaryversiontolerant.AutoRestSwaggerBATDictionaryService.dictionary` attribute. + Instead, you should access the following operations through + :class:`~bodydictionaryversiontolerant.AutoRestSwaggerBATDictionaryService`'s + :attr:`dictionary` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py index b2cfa8e1d89..99ce8295c2c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/aio/operations/_operations.py @@ -38,8 +38,9 @@ class DurationOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydurationversiontolerant.aio.AutoRestDurationTestService`'s - :attr:`~bodydurationversiontolerant.aio.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodydurationversiontolerant.aio.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py index a9ed639a4fe..891471c5121 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/operations/_operations.py @@ -90,8 +90,9 @@ class DurationOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodydurationversiontolerant.AutoRestDurationTestService`'s - :attr:`~bodydurationversiontolerant.AutoRestDurationTestService.duration` attribute. + Instead, you should access the following operations through + :class:`~bodydurationversiontolerant.AutoRestDurationTestService`'s + :attr:`duration` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py index 83f552148be..66e55c3c386 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/aio/operations/_operations.py @@ -36,8 +36,9 @@ class FilesOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyfileversiontolerant.aio.AutoRestSwaggerBATFileService`'s - :attr:`~bodyfileversiontolerant.aio.AutoRestSwaggerBATFileService.files` attribute. + Instead, you should access the following operations through + :class:`~bodyfileversiontolerant.aio.AutoRestSwaggerBATFileService`'s + :attr:`files` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py index 1ba48dbb67c..d346680384a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/operations/_operations.py @@ -71,8 +71,9 @@ class FilesOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyfileversiontolerant.AutoRestSwaggerBATFileService`'s - :attr:`~bodyfileversiontolerant.AutoRestSwaggerBATFileService.files` attribute. + Instead, you should access the following operations through + :class:`~bodyfileversiontolerant.AutoRestSwaggerBATFileService`'s + :attr:`files` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py index 89cb3108b5f..c44b1620e14 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/aio/operations/_operations.py @@ -36,8 +36,9 @@ class FormdataOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformdataversiontolerant.aio.AutoRestSwaggerBATFormDataService`'s - :attr:`~bodyformdataversiontolerant.aio.AutoRestSwaggerBATFormDataService.formdata` attribute. + Instead, you should access the following operations through + :class:`~bodyformdataversiontolerant.aio.AutoRestSwaggerBATFormDataService`'s + :attr:`formdata` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py index b052df1ec53..a0fdf8bcc98 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/operations/_operations.py @@ -87,8 +87,9 @@ class FormdataOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformdataversiontolerant.AutoRestSwaggerBATFormDataService`'s - :attr:`~bodyformdataversiontolerant.AutoRestSwaggerBATFormDataService.formdata` attribute. + Instead, you should access the following operations through + :class:`~bodyformdataversiontolerant.AutoRestSwaggerBATFormDataService`'s + :attr:`formdata` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py index 79f0543d7bd..3e589cff3ff 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/aio/operations/_operations.py @@ -35,8 +35,9 @@ class FormdataurlencodedOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformurlencodeddataversiontolerant.aio.BodyFormsDataURLEncoded`'s - :attr:`~bodyformurlencodeddataversiontolerant.aio.BodyFormsDataURLEncoded.formdataurlencoded` attribute. + Instead, you should access the following operations through + :class:`~bodyformurlencodeddataversiontolerant.aio.BodyFormsDataURLEncoded`'s + :attr:`formdataurlencoded` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py index 0fb0a47eccf..bdb5d59cd6f 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/operations/_operations.py @@ -74,8 +74,9 @@ class FormdataurlencodedOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyformurlencodeddataversiontolerant.BodyFormsDataURLEncoded`'s - :attr:`~bodyformurlencodeddataversiontolerant.BodyFormsDataURLEncoded.formdataurlencoded` attribute. + Instead, you should access the following operations through + :class:`~bodyformurlencodeddataversiontolerant.BodyFormsDataURLEncoded`'s + :attr:`formdataurlencoded` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py index 9b420118f5c..ab116b42fd5 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/aio/operations/_operations.py @@ -48,8 +48,9 @@ class IntOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyintegerversiontolerant.aio.AutoRestIntegerTestService`'s - :attr:`~bodyintegerversiontolerant.aio.AutoRestIntegerTestService.int` attribute. + Instead, you should access the following operations through + :class:`~bodyintegerversiontolerant.aio.AutoRestIntegerTestService`'s + :attr:`int` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py index acd8429f7b0..c81af8874d4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/operations/_operations.py @@ -224,8 +224,9 @@ class IntOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodyintegerversiontolerant.AutoRestIntegerTestService`'s - :attr:`~bodyintegerversiontolerant.AutoRestIntegerTestService.int` attribute. + Instead, you should access the following operations through + :class:`~bodyintegerversiontolerant.AutoRestIntegerTestService`'s + :attr:`int` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py index 5ea5bf04b32..f5609c147f6 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/aio/operations/_operations.py @@ -57,8 +57,9 @@ class NumberOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodynumberversiontolerant.aio.AutoRestNumberTestService`'s - :attr:`~bodynumberversiontolerant.aio.AutoRestNumberTestService.number` attribute. + Instead, you should access the following operations through + :class:`~bodynumberversiontolerant.aio.AutoRestNumberTestService`'s + :attr:`number` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py index 5107ac5637f..929918bb8f2 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/operations/_operations.py @@ -367,8 +367,9 @@ class NumberOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodynumberversiontolerant.AutoRestNumberTestService`'s - :attr:`~bodynumberversiontolerant.AutoRestNumberTestService.number` attribute. + Instead, you should access the following operations through + :class:`~bodynumberversiontolerant.AutoRestNumberTestService`'s + :attr:`number` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py index eb08e1c4ce1..b4bff644b37 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py @@ -52,8 +52,9 @@ class StringOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService`'s - :attr:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService.string` attribute. + Instead, you should access the following operations through + :class:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService`'s + :attr:`string` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -538,8 +539,9 @@ class EnumOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService`'s - :attr:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService.enum` attribute. + Instead, you should access the following operations through + :class:`~bodystringversiontolerant.aio.AutoRestSwaggerBATService`'s + :attr:`enum` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py index e8add9ab80f..a903f3aafdc 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/operations/_operations.py @@ -304,8 +304,9 @@ class StringOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystringversiontolerant.AutoRestSwaggerBATService`'s - :attr:`~bodystringversiontolerant.AutoRestSwaggerBATService.string` attribute. + Instead, you should access the following operations through + :class:`~bodystringversiontolerant.AutoRestSwaggerBATService`'s + :attr:`string` attribute. """ def __init__(self, *args, **kwargs): @@ -790,8 +791,9 @@ class EnumOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodystringversiontolerant.AutoRestSwaggerBATService`'s - :attr:`~bodystringversiontolerant.AutoRestSwaggerBATService.enum` attribute. + Instead, you should access the following operations through + :class:`~bodystringversiontolerant.AutoRestSwaggerBATService`'s + :attr:`enum` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py index 3af291fd0fd..142884e028b 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/aio/operations/_operations.py @@ -33,8 +33,9 @@ class TimeOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodytimeversiontolerant.aio.AutoRestTimeTestService`'s - :attr:`~bodytimeversiontolerant.aio.AutoRestTimeTestService.time` attribute. + Instead, you should access the following operations through + :class:`~bodytimeversiontolerant.aio.AutoRestTimeTestService`'s + :attr:`time` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py index c2b914a4800..9e4d4ca11f7 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/operations/_operations.py @@ -64,8 +64,9 @@ class TimeOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~bodytimeversiontolerant.AutoRestTimeTestService`'s - :attr:`~bodytimeversiontolerant.AutoRestTimeTestService.time` attribute. + Instead, you should access the following operations through + :class:`~bodytimeversiontolerant.AutoRestTimeTestService`'s + :attr:`time` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py index 6187921e796..d770b11f123 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/aio/operations/_operations.py @@ -49,8 +49,9 @@ class ContantsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~constantsversiontolerant.aio.AutoRestSwaggerConstantService`'s - :attr:`~constantsversiontolerant.aio.AutoRestSwaggerConstantService.contants` attribute. + Instead, you should access the following operations through + :class:`~constantsversiontolerant.aio.AutoRestSwaggerConstantService`'s + :attr:`contants` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py index f2c120fe848..d55fdc0a354 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/operations/_operations.py @@ -276,8 +276,9 @@ class ContantsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~constantsversiontolerant.AutoRestSwaggerConstantService`'s - :attr:`~constantsversiontolerant.AutoRestSwaggerConstantService.contants` attribute. + Instead, you should access the following operations through + :class:`~constantsversiontolerant.AutoRestSwaggerConstantService`'s + :attr:`contants` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py index fdc2ddc91ee..8031e7cbdb2 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/aio/operations/_operations.py @@ -31,8 +31,9 @@ class PathsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlmoreoptionsversiontolerant.aio.AutoRestParameterizedCustomHostTestClient`'s - :attr:`~custombaseurlmoreoptionsversiontolerant.aio.AutoRestParameterizedCustomHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlmoreoptionsversiontolerant.aio.AutoRestParameterizedCustomHostTestClient`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py index 761a531db56..c336c1dcd5b 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/operations/_operations.py @@ -61,8 +61,9 @@ class PathsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlmoreoptionsversiontolerant.AutoRestParameterizedCustomHostTestClient`'s - :attr:`~custombaseurlmoreoptionsversiontolerant.AutoRestParameterizedCustomHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlmoreoptionsversiontolerant.AutoRestParameterizedCustomHostTestClient`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py index 29344984c47..1b431ff2a71 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/aio/operations/_operations.py @@ -31,8 +31,9 @@ class PathsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlversiontolerant.aio.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py index d30552434e3..11da9278a53 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/operations/_operations.py @@ -45,8 +45,9 @@ class PathsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient`'s - :attr:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient.paths` attribute. + Instead, you should access the following operations through + :class:`~custombaseurlversiontolerant.AutoRestParameterizedHostTestClient`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py index 107d2956e7d..e8a6650df0a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/aio/operations/_operations.py @@ -32,8 +32,9 @@ class PetOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~extensibleenumsswaggerversiontolerant.aio.PetStoreInc`'s - :attr:`~extensibleenumsswaggerversiontolerant.aio.PetStoreInc.pet` attribute. + Instead, you should access the following operations through + :class:`~extensibleenumsswaggerversiontolerant.aio.PetStoreInc`'s + :attr:`pet` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py index 61462b681aa..d1d0fc34702 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/operations/_operations.py @@ -70,8 +70,9 @@ class PetOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~extensibleenumsswaggerversiontolerant.PetStoreInc`'s - :attr:`~extensibleenumsswaggerversiontolerant.PetStoreInc.pet` attribute. + Instead, you should access the following operations through + :class:`~extensibleenumsswaggerversiontolerant.PetStoreInc`'s + :attr:`pet` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py index 6a59bdd46a4..541c49903f8 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/aio/operations/_operations.py @@ -62,8 +62,9 @@ class HeaderOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headerversiontolerant.aio.AutoRestSwaggerBATHeaderService`'s - :attr:`~headerversiontolerant.aio.AutoRestSwaggerBATHeaderService.header` attribute. + Instead, you should access the following operations through + :class:`~headerversiontolerant.aio.AutoRestSwaggerBATHeaderService`'s + :attr:`header` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py index 13c35dda510..0430ef1d631 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/operations/_operations.py @@ -428,8 +428,9 @@ class HeaderOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~headerversiontolerant.AutoRestSwaggerBATHeaderService`'s - :attr:`~headerversiontolerant.AutoRestSwaggerBATHeaderService.header` attribute. + Instead, you should access the following operations through + :class:`~headerversiontolerant.AutoRestSwaggerBATHeaderService`'s + :attr:`header` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py index 421316768db..57caa32c097 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/operations/_operations.py @@ -144,8 +144,9 @@ class HttpFailureOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_failure` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -263,8 +264,9 @@ class HttpSuccessOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1017,8 +1019,9 @@ class HttpRedirectsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_redirects` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_redirects` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1652,8 +1655,9 @@ class HttpClientFailureOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_client_failure` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2566,8 +2570,9 @@ class HttpServerFailureOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_server_failure` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2721,8 +2726,9 @@ class HttpRetryOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.http_retry` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`http_retry` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -3078,8 +3084,9 @@ class MultipleResponsesOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.aio.AutoRestHttpInfrastructureTestService`'s + :attr:`multiple_responses` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py index f7eb59436e7..e6e3b8ff69a 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/_operations.py @@ -1533,8 +1533,9 @@ class HttpFailureOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`http_failure` attribute. """ def __init__(self, *args, **kwargs): @@ -1652,8 +1653,9 @@ class HttpSuccessOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_success` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`http_success` attribute. """ def __init__(self, *args, **kwargs): @@ -2406,8 +2408,9 @@ class HttpRedirectsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_redirects` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`http_redirects` attribute. """ def __init__(self, *args, **kwargs): @@ -3041,8 +3044,9 @@ class HttpClientFailureOperations(object): # pylint: disable=too-many-public-me .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_client_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`http_client_failure` attribute. """ def __init__(self, *args, **kwargs): @@ -3955,8 +3959,9 @@ class HttpServerFailureOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_server_failure` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`http_server_failure` attribute. """ def __init__(self, *args, **kwargs): @@ -4110,8 +4115,9 @@ class HttpRetryOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.http_retry` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`http_retry` attribute. """ def __init__(self, *args, **kwargs): @@ -4467,8 +4473,9 @@ class MultipleResponsesOperations(object): # pylint: disable=too-many-public-me .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s - :attr:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService.multiple_responses` attribute. + Instead, you should access the following operations through + :class:`~httpinfrastructureversiontolerant.AutoRestHttpInfrastructureTestService`'s + :attr:`multiple_responses` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py index 9693778378e..266f48110b8 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/aio/operations/_operations.py @@ -37,8 +37,9 @@ class IntOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient`'s - :attr:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient.int` attribute. + Instead, you should access the following operations through + :class:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient`'s + :attr:`int` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -141,8 +142,9 @@ class FloatOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient`'s - :attr:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient.float` attribute. + Instead, you should access the following operations through + :class:`~nonstringenumsversiontolerant.aio.NonStringEnumsClient`'s + :attr:`float` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py index 64c9f51a02a..38c144dd662 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/operations/_operations.py @@ -91,8 +91,9 @@ class IntOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.NonStringEnumsClient`'s - :attr:`~nonstringenumsversiontolerant.NonStringEnumsClient.int` attribute. + Instead, you should access the following operations through + :class:`~nonstringenumsversiontolerant.NonStringEnumsClient`'s + :attr:`int` attribute. """ def __init__(self, *args, **kwargs): @@ -195,8 +196,9 @@ class FloatOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~nonstringenumsversiontolerant.NonStringEnumsClient`'s - :attr:`~nonstringenumsversiontolerant.NonStringEnumsClient.float` attribute. + Instead, you should access the following operations through + :class:`~nonstringenumsversiontolerant.NonStringEnumsClient`'s + :attr:`float` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py index ac951dbd4c1..82c09ecf14c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/aio/operations/_operations.py @@ -32,8 +32,9 @@ class AvailabilitySetsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~parameterflatteningversiontolerant.aio.AutoRestParameterFlattening`'s - :attr:`~parameterflatteningversiontolerant.aio.AutoRestParameterFlattening.availability_sets` attribute. + Instead, you should access the following operations through + :class:`~parameterflatteningversiontolerant.aio.AutoRestParameterFlattening`'s + :attr:`availability_sets` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py index 04cddb008f1..40e1826bb9c 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/operations/_operations.py @@ -59,8 +59,9 @@ class AvailabilitySetsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~parameterflatteningversiontolerant.AutoRestParameterFlattening`'s - :attr:`~parameterflatteningversiontolerant.AutoRestParameterFlattening.availability_sets` attribute. + Instead, you should access the following operations through + :class:`~parameterflatteningversiontolerant.AutoRestParameterFlattening`'s + :attr:`availability_sets` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py index a8887315ba8..ddeafe9dab7 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py @@ -65,8 +65,9 @@ class ImplicitOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService.implicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService`'s + :attr:`implicit` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -347,8 +348,9 @@ class ExplicitOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService.explicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptionalversiontolerant.aio.AutoRestRequiredOptionalTestService`'s + :attr:`explicit` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py index c6b94680193..b41c36135a4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/operations/_operations.py @@ -583,8 +583,9 @@ class ImplicitOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService.implicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService`'s + :attr:`implicit` attribute. """ def __init__(self, *args, **kwargs): @@ -865,8 +866,9 @@ class ExplicitOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService`'s - :attr:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService.explicit` attribute. + Instead, you should access the following operations through + :class:`~requiredoptionalversiontolerant.AutoRestRequiredOptionalTestService`'s + :attr:`explicit` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py index a72cdf935fe..8c80ae62842 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/aio/operations/_operations.py @@ -39,8 +39,9 @@ class ImportOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~reservedwordsversiontolerant.aio.ReservedWordsClient`'s - :attr:`~reservedwordsversiontolerant.aio.ReservedWordsClient.import_operations` attribute. + Instead, you should access the following operations through + :class:`~reservedwordsversiontolerant.aio.ReservedWordsClient`'s + :attr:`import_operations` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py index ee3fb64aa77..dfe6b65e066 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/operations/_operations.py @@ -150,8 +150,9 @@ class ImportOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~reservedwordsversiontolerant.ReservedWordsClient`'s - :attr:`~reservedwordsversiontolerant.ReservedWordsClient.import_operations` attribute. + Instead, you should access the following operations through + :class:`~reservedwordsversiontolerant.ReservedWordsClient`'s + :attr:`import_operations` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py index 0b755351a10..a567524c0d9 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/aio/operations/_operations.py @@ -35,8 +35,9 @@ class QueriesOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlmulticollectionformatversiontolerant.aio.AutoRestUrlMutliCollectionFormatTestService`'s - :attr:`~urlmulticollectionformatversiontolerant.aio.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~urlmulticollectionformatversiontolerant.aio.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`queries` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py index bcab0716203..581b4ff10e4 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/operations/_operations.py @@ -97,8 +97,9 @@ class QueriesOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlmulticollectionformatversiontolerant.AutoRestUrlMutliCollectionFormatTestService`'s - :attr:`~urlmulticollectionformatversiontolerant.AutoRestUrlMutliCollectionFormatTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~urlmulticollectionformatversiontolerant.AutoRestUrlMutliCollectionFormatTestService`'s + :attr:`queries` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py index a09d4616703..3885cb60a7b 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/aio/operations/_operations.py @@ -99,8 +99,9 @@ class PathsOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s - :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.paths` attribute. + Instead, you should access the following operations through + :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -1032,8 +1033,9 @@ class QueriesOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s - :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s + :attr:`queries` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -2238,8 +2240,9 @@ class PathItemsOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s - :attr:`~urlversiontolerant.aio.AutoRestUrlTestService.path_items` attribute. + Instead, you should access the following operations through + :class:`~urlversiontolerant.aio.AutoRestUrlTestService`'s + :attr:`path_items` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py index 60ca5e41044..c5f6e8ff857 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py @@ -1314,8 +1314,9 @@ class PathsOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlversiontolerant.AutoRestUrlTestService`'s - :attr:`~urlversiontolerant.AutoRestUrlTestService.paths` attribute. + Instead, you should access the following operations through + :class:`~urlversiontolerant.AutoRestUrlTestService`'s + :attr:`paths` attribute. """ def __init__(self, *args, **kwargs): @@ -2241,8 +2242,9 @@ class QueriesOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlversiontolerant.AutoRestUrlTestService`'s - :attr:`~urlversiontolerant.AutoRestUrlTestService.queries` attribute. + Instead, you should access the following operations through + :class:`~urlversiontolerant.AutoRestUrlTestService`'s + :attr:`queries` attribute. """ def __init__(self, *args, **kwargs): @@ -3445,8 +3447,9 @@ class PathItemsOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~urlversiontolerant.AutoRestUrlTestService`'s - :attr:`~urlversiontolerant.AutoRestUrlTestService.path_items` attribute. + Instead, you should access the following operations through + :class:`~urlversiontolerant.AutoRestUrlTestService`'s + :attr:`path_items` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py index 050bd1146a9..7f4dc31e396 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/aio/operations/_operations.py @@ -68,8 +68,9 @@ class XmlOperations: # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmlserviceversiontolerant.aio.AutoRestSwaggerBATXMLService`'s - :attr:`~xmlserviceversiontolerant.aio.AutoRestSwaggerBATXMLService.xml` attribute. + Instead, you should access the following operations through + :class:`~xmlserviceversiontolerant.aio.AutoRestSwaggerBATXMLService`'s + :attr:`xml` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py index b6ad5aa3424..b4b905e95fe 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/operations/_operations.py @@ -525,8 +525,9 @@ class XmlOperations(object): # pylint: disable=too-many-public-methods .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmlserviceversiontolerant.AutoRestSwaggerBATXMLService`'s - :attr:`~xmlserviceversiontolerant.AutoRestSwaggerBATXMLService.xml` attribute. + Instead, you should access the following operations through + :class:`~xmlserviceversiontolerant.AutoRestSwaggerBATXMLService`'s + :attr:`xml` attribute. """ def __init__(self, *args, **kwargs): diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py index 0b5a3f21867..22b3943a573 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/aio/operations/_operations.py @@ -36,8 +36,9 @@ class PetOperations: .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmserrorresponseversiontolerant.aio.XMSErrorResponseExtensions`'s - :attr:`~xmserrorresponseversiontolerant.aio.XMSErrorResponseExtensions.pet` attribute. + Instead, you should access the following operations through + :class:`~xmserrorresponseversiontolerant.aio.XMSErrorResponseExtensions`'s + :attr:`pet` attribute. """ def __init__(self, *args, **kwargs) -> None: diff --git a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py index fcd9f410cd8..eeb4f5d1c9e 100644 --- a/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py +++ b/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/operations/_operations.py @@ -88,8 +88,9 @@ class PetOperations(object): .. warning:: **DO NOT** instantiate this class directly. - Instead, you should access the following operations through :class:`~xmserrorresponseversiontolerant.XMSErrorResponseExtensions`'s - :attr:`~xmserrorresponseversiontolerant.XMSErrorResponseExtensions.pet` attribute. + Instead, you should access the following operations through + :class:`~xmserrorresponseversiontolerant.XMSErrorResponseExtensions`'s + :attr:`pet` attribute. """ def __init__(self, *args, **kwargs):