diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/models/_models.py index b695706d2dd5..c2b7c5e7df56 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-api-key/authentication/apikey/models/_models.py @@ -17,6 +17,8 @@ class InvalidAuth(_Model): :ivar error: Required. :vartype error: str + :keyword error: Required. + :paramtype error: str """ error: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/models/_models.py index b695706d2dd5..c2b7c5e7df56 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-http-custom/authentication/http/custom/models/_models.py @@ -17,6 +17,8 @@ class InvalidAuth(_Model): :ivar error: Required. :vartype error: str + :keyword error: Required. + :paramtype error: str """ error: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/models/_models.py index b695706d2dd5..c2b7c5e7df56 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-oauth2/authentication/oauth2/models/_models.py @@ -17,6 +17,8 @@ class InvalidAuth(_Model): :ivar error: Required. :vartype error: str + :keyword error: Required. + :paramtype error: str """ error: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/authentication-union/authentication/union/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py index 010c05fb603c..8d780760d464 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py @@ -43,7 +43,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PublicOperationOperations: +class PublicOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -183,7 +183,7 @@ async def public_decorator_in_public(self, *, name: str, **kwargs: Any) -> _mode return deserialized # type: ignore -class InternalOperationOperations: +class InternalOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -395,7 +395,7 @@ async def _public_decorator_in_internal( return deserialized # type: ignore -class SharedModelInOperationOperations: +class SharedModelInOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -533,7 +533,7 @@ async def _internal(self, *, name: str, **kwargs: Any) -> _models.SharedModel: return deserialized # type: ignore -class RelativeModelInOperationOperations: +class RelativeModelInOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py index 9946d8215c60..fb72b229ffcb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py @@ -26,6 +26,10 @@ class AbstractModel(_Model): :vartype kind: str :ivar name: Required. :vartype name: str + :keyword kind: Discriminator property for AbstractModel. Required. Default value is None. + :paramtype kind: str + :keyword name: Required. + :paramtype name: str """ __mapping__: dict[str, _Model] = {} @@ -58,6 +62,8 @@ class BaseModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -86,6 +92,8 @@ class InnerModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -114,6 +122,8 @@ class InternalDecoratorModelInInternal(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -142,6 +152,8 @@ class NoDecoratorModelInInternal(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -170,6 +182,8 @@ class NoDecoratorModelInPublic(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -200,6 +214,10 @@ class OuterModel(BaseModel): :vartype name: str :ivar inner: Required. :vartype inner: ~specs.azure.clientgenerator.core.access.models._models.InnerModel + :keyword name: Required. + :paramtype name: str + :keyword inner: Required. + :paramtype inner: ~specs.azure.clientgenerator.core.access.models._models.InnerModel """ inner: "_models._models.InnerModel" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -229,6 +247,8 @@ class PublicDecoratorModelInInternal(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -257,6 +277,8 @@ class PublicDecoratorModelInPublic(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -287,6 +309,8 @@ class RealModel(AbstractModel, discriminator="real"): :vartype name: str :ivar kind: Required. Default value is "real". :vartype kind: str + :keyword name: Required. + :paramtype name: str """ kind: Literal["real"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -316,6 +340,8 @@ class SharedModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py index edc6dbb7aac0..a15c6bc8c046 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py @@ -216,7 +216,7 @@ def build_relative_model_in_operation_discriminator_request( # pylint: disable= return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class PublicOperationOperations: +class PublicOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -356,7 +356,7 @@ def public_decorator_in_public(self, *, name: str, **kwargs: Any) -> _models.Pub return deserialized # type: ignore -class InternalOperationOperations: +class InternalOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -564,7 +564,7 @@ def _public_decorator_in_internal(self, *, name: str, **kwargs: Any) -> _models. return deserialized # type: ignore -class SharedModelInOperationOperations: +class SharedModelInOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -702,7 +702,7 @@ def _internal(self, *, name: str, **kwargs: Any) -> _models.SharedModel: return deserialized # type: ignore -class RelativeModelInOperationOperations: +class RelativeModelInOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/model_base.py index cdb7914a49c0..77ac93419704 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/model_base.py @@ -161,7 +161,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/aio/operations/_operations.py index b750a77032f0..2c657c00fbd4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/aio/operations/_operations.py @@ -43,7 +43,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ExternalTypeOperations: +class ExternalTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py index fc48041f8140..bbf11bccce30 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py @@ -21,6 +21,10 @@ class Geometry(_Model): :vartype type: str :ivar coordinates: Required. :vartype coordinates: list[float] + :keyword type: Required. + :paramtype type: str + :keyword coordinates: Required. + :paramtype coordinates: list[float] """ type: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -54,6 +58,10 @@ class ModelWithFeatureProperty(_Model): :vartype feature: ~geojson.Feature :ivar additional_property: Required. :vartype additional_property: str + :keyword feature: Required. + :paramtype feature: ~geojson.Feature + :keyword additional_property: Required. + :paramtype additional_property: str """ feature: geojson.Feature = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/operations/_operations.py index e04114aec3a4..cc413554121e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/operations/_operations.py @@ -95,7 +95,7 @@ def build_external_type_put_property_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ExternalTypeOperations: +class ExternalTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_client.py index 0b8eb2bb56da..7b57d797e3f7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class HeaderClient(_HeaderClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class HeaderClient( + _HeaderClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """HeaderClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_configuration.py index 8ab8b6164657..97f3e79df81a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class HeaderClientConfiguration: # pylint: disable=too-many-instance-attributes +class HeaderClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for HeaderClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_client.py index e14b19a93e04..2923cbbd17be 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class HeaderClient(_HeaderClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class HeaderClient( + _HeaderClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """HeaderClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_configuration.py index ba34c74e6b90..be7b42c495c1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class HeaderClientConfiguration: # pylint: disable=too-many-instance-attributes +class HeaderClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for HeaderClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_client.py index f751106a19f0..bcbd7c692b3b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class PathClient(_PathClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class PathClient( + _PathClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """PathClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_configuration.py index dea6ed38e71a..0127e3db85d7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class PathClientConfiguration: # pylint: disable=too-many-instance-attributes +class PathClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for PathClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_client.py index 8c42ac8c9a92..cb2fe6583b21 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class PathClient(_PathClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class PathClient( + _PathClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """PathClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_configuration.py index 1987027ac0ca..049cb73e73cf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class PathClientConfiguration: # pylint: disable=too-many-instance-attributes +class PathClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for PathClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_client.py index 6db2a2d061e2..eec3e74b44a0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class QueryClient(_QueryClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class QueryClient( + _QueryClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """QueryClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_configuration.py index 4cb21f95c110..2bc5aa901aeb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class QueryClientConfiguration: # pylint: disable=too-many-instance-attributes +class QueryClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for QueryClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_client.py index 25729475779c..048a3f6cc3f4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class QueryClient(_QueryClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class QueryClient( + _QueryClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """QueryClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_configuration.py index ed78d3e2ee83..7061c2b3f58a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class QueryClientConfiguration: # pylint: disable=too-many-instance-attributes +class QueryClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for QueryClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/models/_models.py index 9d099f255ac3..e113be551b17 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/models/_models.py @@ -23,6 +23,14 @@ class ModelWithDefaultValues(_Model): :vartype tier: str :ivar retry: Retry property with client default value of true. :vartype retry: bool + :keyword name: Name property with no default value. Required. + :paramtype name: str + :keyword timeout: Timeout property with client default value of 30. + :paramtype timeout: int + :keyword tier: Tier property with client default value of 'standard'. + :paramtype tier: str + :keyword retry: Retry property with client default value of true. + :paramtype retry: bool """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/aio/operations/_operations.py index 2a6b4306974a..95168a87f1eb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class DocumentationOperations: +class DocumentationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/models/_models.py index 47d7aa67d63f..276cb8877e04 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/models/_models.py @@ -19,6 +19,10 @@ class Plant(_Model): :vartype name: str :ivar species: The species of the plant. Required. :vartype species: str + :keyword name: The name of the plant. Required. + :paramtype name: str + :keyword species: The species of the plant. Required. + :paramtype species: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/operations/_operations.py index 000f651f8b51..c4725d0c56cc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-doc/specs/azure/clientgenerator/core/clientdoc/operations/_operations.py @@ -55,7 +55,7 @@ def build_documentation_harvest_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class DocumentationOperations: +class DocumentationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/models/_models.py index 5a973dd3c659..5a36624bb6cc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/models/_models.py @@ -24,6 +24,14 @@ class BlobProperties(_Model): :vartype content_type: str :ivar created_on: Required. :vartype created_on: ~datetime.datetime + :keyword name: Required. + :paramtype name: str + :keyword size: Required. + :paramtype size: int + :keyword content_type: Required. + :paramtype content_type: str + :keyword created_on: Required. + :paramtype created_on: ~datetime.datetime """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -63,6 +71,8 @@ class Input(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -91,6 +101,8 @@ class WithBodyRequest(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/models/_models.py index 880b48c27a4f..e1e481d4b379 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/models/_models.py @@ -24,6 +24,14 @@ class BlobProperties(_Model): :vartype content_type: str :ivar created_on: Required. :vartype created_on: ~datetime.datetime + :keyword name: Required. + :paramtype name: str + :keyword size: Required. + :paramtype size: int + :keyword content_type: Required. + :paramtype content_type: str + :keyword created_on: Required. + :paramtype created_on: ~datetime.datetime """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/aio/operations/_operations.py index 66bc4769d8e3..2e043c8adde6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/aio/operations/_operations.py @@ -52,7 +52,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class IndividuallyParentNestedWithPathClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithPathClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -222,7 +222,7 @@ async def delete_standalone(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithQueryClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithQueryClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -392,7 +392,7 @@ async def delete_standalone(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithHeaderClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithHeaderClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -548,7 +548,7 @@ async def delete_standalone(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithMultipleClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithMultipleClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -707,7 +707,7 @@ async def delete_standalone(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithMixedClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithMixedClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -872,7 +872,7 @@ async def delete_standalone(self, *, region: str, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithParamAliasClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithParamAliasClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/models/_models.py index 880b48c27a4f..e1e481d4b379 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/models/_models.py @@ -24,6 +24,14 @@ class BlobProperties(_Model): :vartype content_type: str :ivar created_on: Required. :vartype created_on: ~datetime.datetime + :keyword name: Required. + :paramtype name: str + :keyword size: Required. + :paramtype size: int + :keyword content_type: Required. + :paramtype content_type: str + :keyword created_on: Required. + :paramtype created_on: ~datetime.datetime """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/operations/_operations.py index 67b1bd124d42..2be1ff766614 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/operations/_operations.py @@ -329,7 +329,7 @@ def build_individually_parent_nested_with_param_alias_client_with_original_name_ return HttpRequest(method="GET", url=_url, **kwargs) -class IndividuallyParentNestedWithPathClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithPathClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -501,7 +501,7 @@ def delete_standalone(self, **kwargs: Any) -> None: # pylint: disable=inconsist return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithQueryClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithQueryClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -673,7 +673,7 @@ def delete_standalone(self, **kwargs: Any) -> None: # pylint: disable=inconsist return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithHeaderClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithHeaderClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -831,7 +831,7 @@ def delete_standalone(self, **kwargs: Any) -> None: # pylint: disable=inconsist return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithMultipleClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithMultipleClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -992,7 +992,7 @@ def delete_standalone(self, **kwargs: Any) -> None: # pylint: disable=inconsist return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithMixedClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithMixedClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1161,7 +1161,7 @@ def delete_standalone( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IndividuallyParentNestedWithParamAliasClientOperations: # pylint: disable=name-too-long +class IndividuallyParentNestedWithParamAliasClientOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/aio/operations/_operations.py index 3b9bfe72da31..2ebe3e10c9ea 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class BlobOperationsOperations: +class BlobOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/models/_models.py index a14619234aa6..92d964726b72 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/models/_models.py @@ -23,6 +23,14 @@ class Blob(_Model): :vartype size: int :ivar path: Required. :vartype path: str + :keyword id: Required. + :paramtype id: str + :keyword name: Required. + :paramtype name: str + :keyword size: Required. + :paramtype size: int + :keyword path: Required. + :paramtype path: str """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/operations/_operations.py index 65701afabfa8..9cba694b9500 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/operations/_operations.py @@ -58,7 +58,7 @@ def build_blob_operations_get_blob_request( return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class BlobOperationsOperations: +class BlobOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/aio/operations/_operations.py index 6b68f990ae10..4ea6285959ec 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class AdminOperationsOperations: +class AdminOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -139,7 +139,7 @@ async def delete_user(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class UserOperationsOperations: +class UserOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/operations/_operations.py index c6cfbb1e68f8..1279831a100f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/operations/_operations.py @@ -52,7 +52,7 @@ def build_user_operations_get_user_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class AdminOperationsOperations: +class AdminOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -158,7 +158,7 @@ def delete_user(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-re return cls(pipeline_response, None, {}) # type: ignore -class UserOperationsOperations: +class UserOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/aio/operations/_operations.py index 2ccc7220b847..b98a281e542c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/aio/operations/_operations.py @@ -32,7 +32,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ProductOperationsOperations: +class ProductOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -94,7 +94,7 @@ async def list_products(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ArchiveOperationsOperations: +class ArchiveOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/operations/_operations.py index 7d642f59e356..482b01037bf3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/operations/_operations.py @@ -45,7 +45,7 @@ def build_archive_operations_archive_product_request(**kwargs: Any) -> HttpReque return HttpRequest(method="POST", url=_url, **kwargs) -class ProductOperationsOperations: +class ProductOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -107,7 +107,7 @@ def list_products(self, **kwargs: Any) -> None: # pylint: disable=inconsistent- return cls(pipeline_response, None, {}) # type: ignore -class ArchiveOperationsOperations: +class ArchiveOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/aio/operations/_operations.py index f32cd2d920bb..46c0eb454118 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ResourceOperationsOperations: +class ResourceOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/operations/_operations.py index 010a5c2d6441..837084aed274 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/operations/_operations.py @@ -46,7 +46,7 @@ def build_move_to_root_get_health_status_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class ResourceOperationsOperations: +class ResourceOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/_models.py index be2298b0a9cd..c1d811971112 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/_models.py @@ -17,6 +17,8 @@ class ResponseModel(_Model): :ivar sample_url: Required. :vartype sample_url: str + :keyword sample_url: Required. + :paramtype sample_url: str """ sample_url: str = rest_field(name="sampleUrl", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/aio/operations/_operations.py index adca2c1dd7f1..d297cce3c966 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class EnumValueOperations: +class EnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/models/_models.py index 0666b51f0365..515d13efa8fd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/models/_models.py @@ -21,6 +21,9 @@ class EndpointConfig(_Model): :ivar protocol: Required. Known values are: "activity", "responses", "a2a", and "mcp". :vartype protocol: str or ~specs.azure.clientgenerator.core.exactname.enumvalue.models.AgentEndpointProtocol + :keyword protocol: Required. Known values are: "activity", "responses", "a2a", and "mcp". + :paramtype protocol: str or + ~specs.azure.clientgenerator.core.exactname.enumvalue.models.AgentEndpointProtocol """ protocol: Union[str, "_models.AgentEndpointProtocol"] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/operations/_operations.py index b874362c9e55..179572dff8a1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/enumvalue/operations/_operations.py @@ -55,7 +55,7 @@ def build_enum_value_send_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class EnumValueOperations: +class EnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/aio/operations/_operations.py index fb832d9582b4..e589f4fca305 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/models/_models.py index 0565e3cb4355..0f2831fecf84 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/models/_models.py @@ -17,6 +17,8 @@ class My_model(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/operations/_operations.py index 057dd94e31b9..5619d82e0cb0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/model/operations/_operations.py @@ -55,7 +55,7 @@ def build_model_send_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/aio/operations/_operations.py index 404c7e15109d..41a67f278241 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class OperationOperations: +class OperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/operations/_operations.py index d5eaa8adaaf0..ffca4df68809 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/operation/operations/_operations.py @@ -38,7 +38,7 @@ def build_operation_myOp_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class OperationOperations: +class OperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/aio/operations/_operations.py index 85558f08c6bb..b4d3fe9ca065 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ParameterOperations: +class ParameterOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/operations/_operations.py index ca5ca604b7ec..b9ccb7e1708b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/parameter/operations/_operations.py @@ -44,7 +44,7 @@ def build_parameter_send_request(*, myParam: str, **kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class ParameterOperations: +class ParameterOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/aio/operations/_operations.py index c188a3809d32..5c46a52bc992 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/models/_models.py index 06ffa22ea3b0..d7e2bd4b3dc5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/models/_models.py @@ -17,6 +17,8 @@ class ScopedModel(_Model): :ivar _my_name: Required. :vartype _my_name: str + :keyword _my_name: Required. + :paramtype _my_name: str """ _my_name: str = rest_field(name="name", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/operations/_operations.py index 7455ebae584c..2a7d5be374c4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-exact-name/specs/azure/clientgenerator/core/exactname/property/operations/_operations.py @@ -55,7 +55,7 @@ def build_property_send_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py index 317fbe7ea075..6e090b939d8e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py @@ -22,6 +22,10 @@ class ChildFlattenModel(_Model): :vartype summary: str :ivar properties: Required. :vartype properties: ~specs.azure.clientgenerator.core.flattenproperty.models.ChildModel + :keyword summary: Required. + :paramtype summary: str + :keyword properties: Required. + :paramtype properties: ~specs.azure.clientgenerator.core.flattenproperty.models.ChildModel """ summary: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -75,6 +79,10 @@ class ChildModel(_Model): :vartype description: str :ivar age: Required. :vartype age: int + :keyword description: Required. + :paramtype description: str + :keyword age: Required. + :paramtype age: int """ description: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -108,6 +116,10 @@ class FlattenModel(_Model): :vartype name: str :ivar properties: Required. :vartype properties: ~specs.azure.clientgenerator.core.flattenproperty.models.ChildModel + :keyword name: Required. + :paramtype name: str + :keyword properties: Required. + :paramtype properties: ~specs.azure.clientgenerator.core.flattenproperty.models.ChildModel """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -161,6 +173,10 @@ class FlattenUnknownModel(_Model): :vartype name: str :ivar properties: :vartype properties: any + :keyword name: Required. + :paramtype name: str + :keyword properties: + :paramtype properties: any """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -213,6 +229,11 @@ class NestedFlattenModel(_Model): :vartype name: str :ivar properties: Required. :vartype properties: ~specs.azure.clientgenerator.core.flattenproperty.models.ChildFlattenModel + :keyword name: Required. + :paramtype name: str + :keyword properties: Required. + :paramtype properties: + ~specs.azure.clientgenerator.core.flattenproperty.models.ChildFlattenModel """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -247,6 +268,11 @@ class Solution(_Model): :ivar properties: :vartype properties: ~specs.azure.clientgenerator.core.flattenproperty.models.SolutionProperties + :keyword name: Required. + :paramtype name: str + :keyword properties: + :paramtype properties: + ~specs.azure.clientgenerator.core.flattenproperty.models.SolutionProperties """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/aio/operations/_operations.py index 291e69d10764..f0530af8e8f6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/aio/operations/_operations.py @@ -42,7 +42,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class AnimalOperationsOperations: +class AnimalOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -300,7 +300,7 @@ async def update_dog_as_animal( return deserialized # type: ignore -class PetOperationsOperations: +class PetOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -554,7 +554,7 @@ async def update_dog_as_pet(self, pet: Union[_models.Pet, _types.Pet, IO[bytes]] return deserialized # type: ignore -class DogOperationsOperations: +class DogOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/_models.py index df042fdee4a6..22389f02407c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/_models.py @@ -23,6 +23,10 @@ class Animal(_Model): :vartype kind: str :ivar name: Name of the animal. Required. :vartype name: str + :keyword kind: The kind of animal. Required. Default value is None. + :paramtype kind: str + :keyword name: Name of the animal. Required. + :paramtype name: str """ __mapping__: dict[str, _Model] = {} @@ -62,6 +66,10 @@ class Pet(Animal, discriminator="pet"): :vartype kind: str :ivar trained: Whether the pet is trained. Required. :vartype trained: bool + :keyword name: Name of the animal. Required. + :paramtype name: str + :keyword trained: Whether the pet is trained. Required. + :paramtype trained: bool """ __mapping__: dict[str, _Model] = {} @@ -101,6 +109,12 @@ class Dog(Pet, discriminator="dog"): :vartype kind: str :ivar breed: The breed of the dog. Required. :vartype breed: str + :keyword name: Name of the animal. Required. + :paramtype name: str + :keyword trained: Whether the pet is trained. Required. + :paramtype trained: bool + :keyword breed: The breed of the dog. Required. + :paramtype breed: str """ kind: Literal["dog"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/operations/_operations.py index 97b2e35bec2d..d6241603884b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/operations/_operations.py @@ -123,7 +123,7 @@ def build_dog_operations_update_dog_as_dog_request(**kwargs: Any) -> HttpRequest return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class AnimalOperationsOperations: +class AnimalOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -381,7 +381,7 @@ def update_dog_as_animal( return deserialized # type: ignore -class PetOperationsOperations: +class PetOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -635,7 +635,7 @@ def update_dog_as_pet(self, pet: Union[_models.Pet, _types.Pet, IO[bytes]], **kw return deserialized # type: ignore -class DogOperationsOperations: +class DogOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/models/_models.py index eba884f5922c..bce4aeff604a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-next-link-verb/specs/azure/clientgenerator/core/nextlinkverb/models/_models.py @@ -17,6 +17,8 @@ class Test(_Model): :ivar id: The id of the test. Required. :vartype id: str + :keyword id: The id of the test. Required. + :paramtype id: str """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/aio/operations/_operations.py index 8020ce31f347..270e39eca7ae 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ReorderParametersOperations: +class ReorderParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -102,7 +102,7 @@ async def reorder(self, param1: str, param2: str, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class GroupParametersOperations: +class GroupParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -170,7 +170,7 @@ async def group(self, *, param1: str, param2: str, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class RequireOptionalParameterOperations: +class RequireOptionalParameterOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -238,7 +238,7 @@ async def require_optional(self, param1: str, param2: str, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class RemoveOptionalParameterOperations: +class RemoveOptionalParameterOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/operations/_operations.py index 0f91a78e3913..2e1553e2e780 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/operations/_operations.py @@ -93,7 +93,7 @@ def build_remove_optional_parameter_remove_optional_request( # pylint: disable= return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class ReorderParametersOperations: +class ReorderParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -163,7 +163,7 @@ def reorder( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class GroupParametersOperations: +class GroupParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -233,7 +233,7 @@ def group( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class RequireOptionalParameterOperations: +class RequireOptionalParameterOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -303,7 +303,7 @@ def require_optional( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class RemoveOptionalParameterOperations: +class RemoveOptionalParameterOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/aio/operations/_operations.py index 59493740af79..41bf0a5c8abd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeadAsBooleanOperations: +class HeadAsBooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/operations/_operations.py index b7ada803845c..114b4d582354 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-response-as-bool/specs/azure/clientgenerator/core/responseasbool/headasboolean/operations/_operations.py @@ -45,7 +45,7 @@ def build_head_as_boolean_not_exists_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="HEAD", url=_url, **kwargs) -class HeadAsBooleanOperations: +class HeadAsBooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py index 3133dccb5d1f..7d1ff6240e5f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py @@ -42,7 +42,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ModelInOperationOperations: +class ModelInOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -502,7 +502,7 @@ async def orphan_model_serializable(self, body: Any, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NamespaceUsageOperations: +class NamespaceUsageOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py index 86762d410987..ca07f1eca8de 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py @@ -20,6 +20,8 @@ class InputModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -48,6 +50,8 @@ class NamespaceModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -76,6 +80,8 @@ class NestedNamespaceModel(_Model): :ivar value: Required. :vartype value: str + :keyword value: Required. + :paramtype value: str """ value: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -107,6 +113,10 @@ class OrphanModel(_Model): :vartype model_name: str :ivar description: Required. :vartype description: str + :keyword model_name: Required. + :paramtype model_name: str + :keyword description: Required. + :paramtype description: str """ model_name: str = rest_field(name="name", visibility=["read", "create", "update", "delete", "query"]) @@ -138,6 +148,8 @@ class OutputModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -166,6 +178,8 @@ class ResultModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py index 83162e244857..d882b0ceac84 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py @@ -119,7 +119,7 @@ def build_namespace_usage_namespace_model_serializable_request( # pylint: disab return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ModelInOperationOperations: +class ModelInOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -579,7 +579,7 @@ def orphan_model_serializable( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NamespaceUsageOperations: +class NamespaceUsageOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_client.py index 5c0758e300c6..b23da59cb325 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class BasicClient(_BasicClientOperationsMixin): +class BasicClient(_BasicClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_configuration.py index 7f5f80c26536..95f1badfda88 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class BasicClientConfiguration: # pylint: disable=too-many-instance-attributes +class BasicClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for BasicClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_client.py index 364133474c79..65bdd10b3889 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class BasicClient(_BasicClientOperationsMixin): +class BasicClient(_BasicClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_configuration.py index 5d6a66954c03..07db406df05c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class BasicClientConfiguration: # pylint: disable=too-many-instance-attributes +class BasicClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for BasicClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/models/_models.py index 71f7e0060e56..458fa7aec624 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-basic/specs/azure/core/basic/models/_models.py @@ -26,6 +26,10 @@ class User(_Model): :vartype orders: list[~specs.azure.core.basic.models.UserOrder] :ivar etag: The entity tag for this resource. Required. :vartype etag: str + :keyword name: The user's name. Required. + :paramtype name: str + :keyword orders: The user's order list. + :paramtype orders: list[~specs.azure.core.basic.models.UserOrder] """ id: int = rest_field(visibility=["read"]) @@ -61,6 +65,8 @@ class UserList(_Model): :ivar users: Required. :vartype users: list[~specs.azure.core.basic.models.User] + :keyword users: Required. + :paramtype users: list[~specs.azure.core.basic.models.User] """ users: list["_models.User"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -93,6 +99,10 @@ class UserOrder(_Model): :vartype user_id: int :ivar detail: The user's order detail. Required. :vartype detail: str + :keyword user_id: The user's id. Required. + :paramtype user_id: int + :keyword detail: The user's order detail. Required. + :paramtype detail: str """ id: int = rest_field(visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py index 1fea1d4c379f..53994b205522 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class RpcClient(_RpcClientOperationsMixin): +class RpcClient(_RpcClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core with long-running RPC operation. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py index 8b63d4ae0c62..2bac7567d6a6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class RpcClientConfiguration: # pylint: disable=too-many-instance-attributes +class RpcClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for RpcClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py index 413f9852e8b0..04ccc3b1189b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class RpcClient(_RpcClientOperationsMixin): +class RpcClient(_RpcClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core with long-running RPC operation. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py index e76526306392..d5e20519faae 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class RpcClientConfiguration: # pylint: disable=too-many-instance-attributes +class RpcClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for RpcClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py index be0900af492c..6f5003a2d800 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py @@ -17,6 +17,8 @@ class GenerationOptions(_Model): :ivar prompt: Prompt. Required. :vartype prompt: str + :keyword prompt: Prompt. Required. + :paramtype prompt: str """ prompt: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -45,6 +47,8 @@ class GenerationResult(_Model): :ivar data: The data. Required. :vartype data: str + :keyword data: The data. Required. + :paramtype data: str """ data: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py index 50e4be91641f..dc208f982eb6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class StandardClient(_StandardClientOperationsMixin): +class StandardClient(_StandardClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core with long-running operation. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py index bb0a6e5975c0..510b654df357 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class StandardClientConfiguration: # pylint: disable=too-many-instance-attributes +class StandardClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for StandardClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py index 8a73c913d62a..6c9171de61e7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class StandardClient(_StandardClientOperationsMixin): +class StandardClient(_StandardClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core with long-running operation. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py index 46dc9f640040..fd4df289b659 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class StandardClientConfiguration: # pylint: disable=too-many-instance-attributes +class StandardClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for StandardClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py index 9de7f18d22b6..a4b600124793 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py @@ -19,6 +19,10 @@ class ExportedUser(_Model): :vartype name: str :ivar resource_uri: The exported URI. Required. :vartype resource_uri: str + :keyword name: The name of user. Required. + :paramtype name: str + :keyword resource_uri: The exported URI. Required. + :paramtype resource_uri: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -52,6 +56,8 @@ class User(_Model): :vartype name: str :ivar role: The role of user. Required. :vartype role: str + :keyword role: The role of user. Required. + :paramtype role: str """ name: str = rest_field(visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/aio/operations/_operations.py index 2cc2e8a5d384..7ff9e95da371 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/aio/operations/_operations.py @@ -40,7 +40,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class AzureCoreEmbeddingVectorOperations: +class AzureCoreEmbeddingVectorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/models/_models.py index a000a06c7164..f702c307efa2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/models/_models.py @@ -17,6 +17,8 @@ class AzureEmbeddingModel(_Model): :ivar embedding: Required. :vartype embedding: list[int] + :keyword embedding: Required. + :paramtype embedding: list[int] """ embedding: list[int] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/operations/_operations.py index bf925808d059..e3d42eb883cb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-model/specs/azure/core/model/operations/_operations.py @@ -83,7 +83,7 @@ def build_azure_core_embedding_vector_post_request(**kwargs: Any) -> HttpRequest return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class AzureCoreEmbeddingVectorOperations: +class AzureCoreEmbeddingVectorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_client.py index 31748e28134f..ae351690199e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class PageClient(_PageClientOperationsMixin): +class PageClient(_PageClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core with paging support. :ivar two_models_as_page_item: TwoModelsAsPageItemOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_configuration.py index 80adea6b66e3..0cde87fb3f7c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class PageClientConfiguration: # pylint: disable=too-many-instance-attributes +class PageClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for PageClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_client.py index 57eacf2f19f1..3eb88fc2d4f0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class PageClient(_PageClientOperationsMixin): +class PageClient(_PageClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates bodies templated with Azure Core with paging support. :ivar two_models_as_page_item: TwoModelsAsPageItemOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_configuration.py index 628ff4885135..66d6555868c6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class PageClientConfiguration: # pylint: disable=too-many-instance-attributes +class PageClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for PageClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/operations/_operations.py index fec798a69b0c..86e4c61ec3fd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/aio/operations/_operations.py @@ -46,7 +46,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class TwoModelsAsPageItemOperations: +class TwoModelsAsPageItemOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/models/_models.py index d6af01e668c9..17bd5e70960d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/models/_models.py @@ -31,6 +31,8 @@ class ListItemInputBody(_Model): :ivar input_name: The name of the input. Required. :vartype input_name: str + :keyword input_name: The name of the input. Required. + :paramtype input_name: str """ input_name: str = rest_field(name="inputName", visibility=["read", "create", "update", "delete", "query"]) @@ -76,6 +78,10 @@ class User(_Model): :vartype orders: list[~specs.azure.core.page.models.UserOrder] :ivar etag: The entity tag for this resource. Required. :vartype etag: str + :keyword name: The user's name. Required. + :paramtype name: str + :keyword orders: The user's order list. + :paramtype orders: list[~specs.azure.core.page.models.UserOrder] """ id: int = rest_field(visibility=["read"]) @@ -115,6 +121,10 @@ class UserOrder(_Model): :vartype user_id: int :ivar detail: The user's order detail. Required. :vartype detail: str + :keyword user_id: The user's id. Required. + :paramtype user_id: int + :keyword detail: The user's order detail. Required. + :paramtype detail: str """ id: int = rest_field(visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/operations/_operations.py index 814f8b78ffcf..1525ced7f59e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-page/specs/azure/core/page/operations/_operations.py @@ -181,7 +181,7 @@ def build_page_with_relative_next_link_request(**kwargs: Any) -> HttpRequest: # return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class TwoModelsAsPageItemOperations: +class TwoModelsAsPageItemOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py index 81ab9712b9dd..f629c05818bd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py @@ -42,7 +42,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class AzureLocationScalarOperations: +class AzureLocationScalarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/models/_models.py index 7beed76965f7..5c7b94410033 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/models/_models.py @@ -17,6 +17,8 @@ class AzureLocationModel(_Model): :ivar location: Required. :vartype location: str + :keyword location: Required. + :paramtype location: str """ location: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py index 24a7d190cf06..9da8e185cdc4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py @@ -110,7 +110,7 @@ def build_azure_location_scalar_query_request( # pylint: disable=name-too-long return HttpRequest(method="POST", url=_url, params=_params, **kwargs) -class AzureLocationScalarOperations: +class AzureLocationScalarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_client.py index ff42f56fd241..ce7f39b38c23 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class TraitsClient(_TraitsClientOperationsMixin): +class TraitsClient(_TraitsClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates Azure Core operation customizations by traits. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_configuration.py index b1a6d90a868e..1bdcf50110cd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class TraitsClientConfiguration: # pylint: disable=too-many-instance-attributes +class TraitsClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for TraitsClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_client.py index c7e6b716bd8c..5e12290934ca 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class TraitsClient(_TraitsClientOperationsMixin): +class TraitsClient(_TraitsClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates Azure Core operation customizations by traits. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_configuration.py index 0b22c6391f77..61f7feeb89a5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class TraitsClientConfiguration: # pylint: disable=too-many-instance-attributes +class TraitsClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for TraitsClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/models/_models.py index 6f5eba343aae..01795776aaa9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-core-traits/specs/azure/core/traits/models/_models.py @@ -19,6 +19,8 @@ class User(_Model): :vartype id: int :ivar name: The user's name. :vartype name: str + :keyword name: The user's name. + :paramtype name: str """ id: int = rest_field(visibility=["read"]) @@ -49,6 +51,8 @@ class UserActionParam(_Model): :ivar user_action_value: User action value. Required. :vartype user_action_value: str + :keyword user_action_value: User action value. Required. + :paramtype user_action_value: str """ user_action_value: str = rest_field( @@ -79,6 +83,8 @@ class UserActionResponse(_Model): :ivar user_action_result: User action result. Required. :vartype user_action_result: str + :keyword user_action_result: User action result. Required. + :paramtype user_action_result: str """ user_action_result: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/models/_models.py index 3b80dfd4bae7..c35031f859b0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-encode-duration/specs/azure/encode/duration/models/_models.py @@ -17,6 +17,8 @@ class DurationModel(_Model): :ivar input: Required. :vartype input: str + :keyword input: Required. + :paramtype input: str """ input: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_client.py index 14946c3f4f85..dd65e1472a55 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class AzureExampleClient(_AzureExampleClientOperationsMixin): +class AzureExampleClient( + _AzureExampleClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """AzureExampleClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_configuration.py index 4996718222bf..f10326940c51 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class AzureExampleClientConfiguration: # pylint: disable=too-many-instance-attributes +class AzureExampleClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for AzureExampleClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_client.py index b52d48a07a00..ae600b9bf92d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class AzureExampleClient(_AzureExampleClientOperationsMixin): +class AzureExampleClient( + _AzureExampleClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """AzureExampleClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_configuration.py index 0688c4595d28..ee3fccb29b7e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class AzureExampleClientConfiguration: # pylint: disable=too-many-instance-attributes +class AzureExampleClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for AzureExampleClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/models/_models.py index 8693d4eb768b..b71c3b8f0188 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-example-basic/specs/azure/example/basic/models/_models.py @@ -26,6 +26,14 @@ class ActionRequest(_Model): :vartype array_property: list[str] :ivar record_property: :vartype record_property: dict[str, str] + :keyword string_property: Required. + :paramtype string_property: str + :keyword model_property: + :paramtype model_property: ~specs.azure.example.basic.models.Model + :keyword array_property: + :paramtype array_property: list[str] + :keyword record_property: + :paramtype record_property: dict[str, str] """ string_property: str = rest_field(name="stringProperty", visibility=["read", "create", "update", "delete", "query"]) @@ -72,6 +80,14 @@ class ActionResponse(_Model): :vartype array_property: list[str] :ivar record_property: :vartype record_property: dict[str, str] + :keyword string_property: Required. + :paramtype string_property: str + :keyword model_property: + :paramtype model_property: ~specs.azure.example.basic.models.Model + :keyword array_property: + :paramtype array_property: list[str] + :keyword record_property: + :paramtype record_property: dict[str, str] """ string_property: str = rest_field(name="stringProperty", visibility=["read", "create", "update", "delete", "query"]) @@ -116,6 +132,12 @@ class Model(_Model): :vartype float32_property: float :ivar enum_property: "EnumValue1" :vartype enum_property: str or ~specs.azure.example.basic.models.EnumEnum + :keyword int32_property: + :paramtype int32_property: int + :keyword float32_property: + :paramtype float32_property: float + :keyword enum_property: "EnumValue1" + :paramtype enum_property: str or ~specs.azure.example.basic.models.EnumEnum """ int32_property: Optional[int] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py index f51231d5b9c6..961bdac08c48 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py @@ -17,6 +17,8 @@ class User(_Model): :ivar name: User name. Required. :vartype name: str + :keyword name: User name. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py index f7df9ddc15b8..8366ac8a7652 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class CommonPropertiesClient: +class CommonPropertiesClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Managed Identity Provider management API. :ivar managed_identity: ManagedIdentityOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py index d5fa8c086631..4b29c8e2dca8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class CommonPropertiesClientConfiguration: # pylint: disable=too-many-instance-attributes +class CommonPropertiesClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for CommonPropertiesClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py index 70c23f86ff89..3e69335f62a8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class CommonPropertiesClient: +class CommonPropertiesClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Managed Identity Provider management API. :ivar managed_identity: ManagedIdentityOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py index aa126f8249c4..18f5b57cd80d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class CommonPropertiesClientConfiguration: # pylint: disable=too-many-instance-attributes +class CommonPropertiesClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for CommonPropertiesClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py index fa5d32f4f7bd..b198e3edecb6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py @@ -46,7 +46,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ManagedIdentityOperations: +class ManagedIdentityOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -487,7 +487,7 @@ async def update_with_user_assigned_and_system_assigned( # pylint: disable=name return deserialized # type: ignore -class ErrorOperations: +class ErrorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -748,7 +748,7 @@ async def create_for_user_defined_error( return deserialized # type: ignore -class ArmResourceIdentifiersOperations: +class ArmResourceIdentifiersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py index 156176664dcd..b5098af54761 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py @@ -30,6 +30,16 @@ class ApiError(_Model): :vartype target: str :ivar message: The error message. :vartype message: str + :keyword details: The Api error details. + :paramtype details: list[~azure.resourcemanager.commonproperties.models.ApiErrorBase] + :keyword innererror: The Api inner error. + :paramtype innererror: ~azure.resourcemanager.commonproperties.models.InnerError + :keyword code: The error code. + :paramtype code: str + :keyword target: The target of the particular error. + :paramtype target: str + :keyword message: The error message. + :paramtype message: str """ details: Optional[list["_models.ApiErrorBase"]] = rest_field( @@ -76,6 +86,12 @@ class ApiErrorBase(_Model): :vartype target: str :ivar message: The error message. :vartype message: str + :keyword code: The error code. + :paramtype code: str + :keyword target: The target of the particular error. + :paramtype target: str + :keyword message: The error message. + :paramtype message: str """ code: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -151,6 +167,10 @@ class TrackedResource(Resource): :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] """ tags: Optional[dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -199,6 +219,13 @@ class ArmResourceIdentifierResource(TrackedResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.commonproperties.models.ArmResourceIdentifierResourceProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.commonproperties.models.ArmResourceIdentifierResourceProperties """ properties: Optional["_models.ArmResourceIdentifierResourceProperties"] = rest_field( @@ -241,6 +268,14 @@ class ArmResourceIdentifierResourceProperties(_Model): :vartype arm_id_with_type_and_scope: str :ivar arm_id_with_all_scopes: An ARM resource identifier with all scopes. Required. :vartype arm_id_with_all_scopes: str + :keyword simple_arm_id: A basic ARM resource identifier without type or scopes. Required. + :paramtype simple_arm_id: str + :keyword arm_id_with_type: An ARM resource identifier with type only. Required. + :paramtype arm_id_with_type: str + :keyword arm_id_with_type_and_scope: An ARM resource identifier with type and scopes. Required. + :paramtype arm_id_with_type_and_scope: str + :keyword arm_id_with_all_scopes: An ARM resource identifier with all scopes. Required. + :paramtype arm_id_with_all_scopes: str """ provisioning_state: Union[str, "_models.ResourceProvisioningState"] = rest_field( @@ -287,6 +322,8 @@ class CloudError(_Model): :ivar error: Api error. :vartype error: ~azure.resourcemanager.commonproperties.models.ApiError + :keyword error: Api error. + :paramtype error: ~azure.resourcemanager.commonproperties.models.ApiError """ error: Optional["_models.ApiError"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -332,6 +369,13 @@ class ConfidentialResource(TrackedResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.commonproperties.models.ConfidentialResourceProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.commonproperties.models.ConfidentialResourceProperties """ properties: Optional["_models.ConfidentialResourceProperties"] = rest_field( @@ -366,6 +410,8 @@ class ConfidentialResourceProperties(_Model): :vartype provisioning_state: str :ivar username: Required. :vartype username: str + :keyword username: Required. + :paramtype username: str """ provisioning_state: str = rest_field(name="provisioningState", visibility=["read"]) @@ -441,6 +487,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.commonproperties.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.commonproperties.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -471,6 +519,10 @@ class InnerError(_Model): :vartype exceptiontype: str :ivar errordetail: The internal error message or exception dump. :vartype errordetail: str + :keyword exceptiontype: The exception type. + :paramtype exceptiontype: str + :keyword errordetail: The internal error message or exception dump. + :paramtype errordetail: str """ exceptiontype: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -521,6 +573,15 @@ class ManagedIdentityTrackedResource(TrackedResource): ~azure.resourcemanager.commonproperties.models.ManagedIdentityTrackedResourceProperties :ivar identity: The managed service identities assigned to this resource. :vartype identity: ~azure.resourcemanager.commonproperties.models.ManagedServiceIdentity + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.commonproperties.models.ManagedIdentityTrackedResourceProperties + :keyword identity: The managed service identities assigned to this resource. + :paramtype identity: ~azure.resourcemanager.commonproperties.models.ManagedServiceIdentity """ properties: Optional["_models.ManagedIdentityTrackedResourceProperties"] = rest_field( @@ -579,6 +640,13 @@ class ManagedServiceIdentity(_Model): :ivar user_assigned_identities: The identities assigned to this resource by the user. :vartype user_assigned_identities: dict[str, ~azure.resourcemanager.commonproperties.models.UserAssignedIdentity] + :keyword type: The type of managed identity assigned to this resource. Required. Known values + are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". + :paramtype type: str or + ~azure.resourcemanager.commonproperties.models.ManagedServiceIdentityType + :keyword user_assigned_identities: The identities assigned to this resource by the user. + :paramtype user_assigned_identities: dict[str, + ~azure.resourcemanager.commonproperties.models.UserAssignedIdentity] """ principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"]) @@ -634,6 +702,21 @@ class SystemData(_Model): ~azure.resourcemanager.commonproperties.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or ~azure.resourcemanager.commonproperties.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or + ~azure.resourcemanager.commonproperties.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py index d52bc2ef0497..3562900f5488 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py @@ -258,7 +258,7 @@ def build_arm_resource_identifiers_create_or_replace_request( # pylint: disable return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) -class ManagedIdentityOperations: +class ManagedIdentityOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -699,7 +699,7 @@ def update_with_user_assigned_and_system_assigned( # pylint: disable=name-too-l return deserialized # type: ignore -class ErrorOperations: +class ErrorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -960,7 +960,7 @@ def create_for_user_defined_error( return deserialized # type: ignore -class ArmResourceIdentifiersOperations: +class ArmResourceIdentifiersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_client.py index c308527f7b8c..5640105f73c3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class LargeHeaderClient: +class LargeHeaderClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar large_headers: LargeHeadersOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_configuration.py index 5b477f4516ee..f43a189158bb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class LargeHeaderClientConfiguration: # pylint: disable=too-many-instance-attributes +class LargeHeaderClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for LargeHeaderClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_client.py index 8f7f02dc2cd4..4731bcad0180 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class LargeHeaderClient: +class LargeHeaderClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar large_headers: LargeHeadersOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_configuration.py index a08f14ee5fc8..87b2267a33e3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class LargeHeaderClientConfiguration: # pylint: disable=too-many-instance-attributes +class LargeHeaderClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for LargeHeaderClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py index 555daadd9e83..c8d4bf75075e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class LargeHeadersOperations: +class LargeHeadersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/_models.py index 7f2e183dbff9..6638ed08adbd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/_models.py @@ -20,6 +20,8 @@ class CancelResult(_Model): :ivar succeeded: Required. :vartype succeeded: bool + :keyword succeeded: Required. + :paramtype succeeded: bool """ succeeded: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -92,6 +94,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.largeheader.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.largeheader.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py index 70310032891a..ffebc4acd04b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py @@ -68,7 +68,7 @@ def build_large_headers_two6_k_request( return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) -class LargeHeadersOperations: +class LargeHeadersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_client.py index 8c4f7a05aa83..4e244d36d9e4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class ManagementGroupClient: +class ManagementGroupClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar management_group_child_resources: ManagementGroupChildResourcesOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_configuration.py index 6b2f02b7c15f..77354d496a6c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class ManagementGroupClientConfiguration: # pylint: disable=too-many-instance-attributes +class ManagementGroupClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ManagementGroupClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_client.py index 78975321aed3..f9c2db65b7b1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class ManagementGroupClient: +class ManagementGroupClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar management_group_child_resources: ManagementGroupChildResourcesOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_configuration.py index 02524a53f4ad..fed482b295a0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class ManagementGroupClientConfiguration: # pylint: disable=too-many-instance-attributes +class ManagementGroupClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ManagementGroupClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/operations/_operations.py index 88c4b3492254..eba832db62c9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/aio/operations/_operations.py @@ -49,7 +49,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ManagementGroupChildResourcesOperations: +class ManagementGroupChildResourcesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/models/_models.py index 0fc52ab8c0b8..a158837ecf16 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/models/_models.py @@ -67,6 +67,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.managementgroup.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.managementgroup.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -153,6 +155,9 @@ class ManagementGroupChildResource(ExtensionResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.managementgroup.models.ManagementGroupChildResourceProperties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.managementgroup.models.ManagementGroupChildResourceProperties """ properties: Optional["_models.ManagementGroupChildResourceProperties"] = rest_field( @@ -187,6 +192,8 @@ class ManagementGroupChildResourceProperties(_Model): "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". :vartype provisioning_state: str or ~azure.resourcemanager.managementgroup.models.ProvisioningState + :keyword description: The description of the resource. + :paramtype description: str """ description: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -233,6 +240,21 @@ class SystemData(_Model): ~azure.resourcemanager.managementgroup.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or ~azure.resourcemanager.managementgroup.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or + ~azure.resourcemanager.managementgroup.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/operations/_operations.py index 74651eb056f0..86f37d168d61 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-management-group/azure/resourcemanager/managementgroup/operations/_operations.py @@ -186,7 +186,7 @@ def build_management_group_child_resources_list_by_management_group_request( # return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class ManagementGroupChildResourcesOperations: +class ManagementGroupChildResourcesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_client.py index be5c62e44532..404f763e0fac 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class MethodSubscriptionIdClient: +class MethodSubscriptionIdClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Test for ARM method level subscription ID parameter placement. :ivar two_subscription_resources_method_level: TwoSubscriptionResourcesMethodLevelOperations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_configuration.py index 6e83a8e59047..4fc3781a627e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class MethodSubscriptionIdClientConfiguration: # pylint: disable=too-many-instance-attributes +class MethodSubscriptionIdClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for MethodSubscriptionIdClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_client.py index 5497860897ca..14a6049848a1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class MethodSubscriptionIdClient: +class MethodSubscriptionIdClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Test for ARM method level subscription ID parameter placement. :ivar two_subscription_resources_method_level: TwoSubscriptionResourcesMethodLevelOperations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_configuration.py index 9c5934a37767..3a5b72081089 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class MethodSubscriptionIdClientConfiguration: # pylint: disable=too-many-instance-attributes +class MethodSubscriptionIdClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for MethodSubscriptionIdClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/operations/_operations.py index 601d3ae964c4..7e757fc0b8c3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/aio/operations/_operations.py @@ -1,4 +1,4 @@ -# pylint: disable=too-many-lines +# pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -56,7 +56,7 @@ List = list -class TwoSubscriptionResourcesMethodLevelOperations: # pylint: disable=name-too-long +class TwoSubscriptionResourcesMethodLevelOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -87,7 +87,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class MixedSubscriptionPlacementOperations: +class MixedSubscriptionPlacementOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -114,7 +114,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -227,7 +227,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class TwoSubscriptionResourcesMethodLevelSubscriptionResource1OperationsOperations: # pylint: disable=name-too-long +class TwoSubscriptionResourcesMethodLevelSubscriptionResource1OperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -538,7 +538,7 @@ async def delete(self, subscription_id: str, subscription_resource1_name: str, * return cls(pipeline_response, None, {}) # type: ignore -class TwoSubscriptionResourcesMethodLevelSubscriptionResource2OperationsOperations: # pylint: disable=name-too-long +class TwoSubscriptionResourcesMethodLevelSubscriptionResource2OperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -849,7 +849,7 @@ async def delete(self, subscription_id: str, subscription_resource2_name: str, * return cls(pipeline_response, None, {}) # type: ignore -class MixedSubscriptionPlacementSubscriptionResourceOperationsOperations: # pylint: disable=name-too-long +class MixedSubscriptionPlacementSubscriptionResourceOperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1160,7 +1160,7 @@ async def delete(self, subscription_id: str, subscription_resource_name: str, ** return cls(pipeline_response, None, {}) # type: ignore -class MixedSubscriptionPlacementResourceGroupResourceOperationsOperations: # pylint: disable=name-too-long +class MixedSubscriptionPlacementResourceGroupResourceOperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/models/_models.py index 1f1b0ebe0267..582e48f4c0dd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/models/_models.py @@ -67,6 +67,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.methodsubscriptionid.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.methodsubscriptionid.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -108,6 +110,8 @@ class Operation(_Model): :ivar action_type: Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. "Internal" :vartype action_type: str or ~azure.resourcemanager.methodsubscriptionid.models.ActionType + :keyword display: Localized display information for this particular operation. + :paramtype display: ~azure.resourcemanager.methodsubscriptionid.models.OperationDisplay """ name: Optional[str] = rest_field(visibility=["read"]) @@ -241,6 +245,10 @@ class TrackedResource(Resource): :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] """ tags: Optional[dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -289,6 +297,13 @@ class ResourceGroupResource(TrackedResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.methodsubscriptionid.models.ResourceGroupResourceProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.methodsubscriptionid.models.ResourceGroupResourceProperties """ properties: Optional["_models.ResourceGroupResourceProperties"] = rest_field( @@ -325,6 +340,8 @@ class ResourceGroupResourceProperties(_Model): ~azure.resourcemanager.methodsubscriptionid.models.ResourceProvisioningState :ivar resource_group_setting: The resource group-scoped setting. :vartype resource_group_setting: str + :keyword resource_group_setting: The resource group-scoped setting. + :paramtype resource_group_setting: str """ provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( @@ -373,6 +390,9 @@ class SubscriptionResource(ProxyResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.methodsubscriptionid.models.SubscriptionResourceProperties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.methodsubscriptionid.models.SubscriptionResourceProperties """ properties: Optional["_models.SubscriptionResourceProperties"] = rest_field( @@ -416,6 +436,9 @@ class SubscriptionResource1(ProxyResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.methodsubscriptionid.models.SubscriptionResource1Properties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.methodsubscriptionid.models.SubscriptionResource1Properties """ properties: Optional["_models.SubscriptionResource1Properties"] = rest_field( @@ -450,6 +473,8 @@ class SubscriptionResource1Properties(_Model): ~azure.resourcemanager.methodsubscriptionid.models.ResourceProvisioningState :ivar description: The description of the resource. :vartype description: str + :keyword description: The description of the resource. + :paramtype description: str """ provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( @@ -496,6 +521,9 @@ class SubscriptionResource2(ProxyResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.methodsubscriptionid.models.SubscriptionResource2Properties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.methodsubscriptionid.models.SubscriptionResource2Properties """ properties: Optional["_models.SubscriptionResource2Properties"] = rest_field( @@ -530,6 +558,8 @@ class SubscriptionResource2Properties(_Model): ~azure.resourcemanager.methodsubscriptionid.models.ResourceProvisioningState :ivar config_value: The configuration value. :vartype config_value: str + :keyword config_value: The configuration value. + :paramtype config_value: str """ provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( @@ -569,6 +599,8 @@ class SubscriptionResourceProperties(_Model): ~azure.resourcemanager.methodsubscriptionid.models.ResourceProvisioningState :ivar subscription_setting: The subscription-scoped setting. :vartype subscription_setting: str + :keyword subscription_setting: The subscription-scoped setting. + :paramtype subscription_setting: str """ provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( @@ -618,6 +650,22 @@ class SystemData(_Model): ~azure.resourcemanager.methodsubscriptionid.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or + ~azure.resourcemanager.methodsubscriptionid.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or + ~azure.resourcemanager.methodsubscriptionid.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/operations/_operations.py index 9bf6f5215aa1..a2d278551765 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/operations/_operations.py @@ -383,7 +383,7 @@ def build_mixed_subscription_placement_resource_group_resource_operations_delete return HttpRequest(method="DELETE", url=_url, params=_params, **kwargs) -class TwoSubscriptionResourcesMethodLevelOperations: # pylint: disable=name-too-long +class TwoSubscriptionResourcesMethodLevelOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -414,7 +414,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class MixedSubscriptionPlacementOperations: +class MixedSubscriptionPlacementOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -441,7 +441,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -554,7 +554,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class TwoSubscriptionResourcesMethodLevelSubscriptionResource1OperationsOperations: # pylint: disable=name-too-long +class TwoSubscriptionResourcesMethodLevelSubscriptionResource1OperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -867,7 +867,7 @@ def delete( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class TwoSubscriptionResourcesMethodLevelSubscriptionResource2OperationsOperations: # pylint: disable=name-too-long +class TwoSubscriptionResourcesMethodLevelSubscriptionResource2OperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1180,7 +1180,7 @@ def delete( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MixedSubscriptionPlacementSubscriptionResourceOperationsOperations: # pylint: disable=name-too-long +class MixedSubscriptionPlacementSubscriptionResourceOperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1491,7 +1491,7 @@ def delete( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MixedSubscriptionPlacementResourceGroupResourceOperationsOperations: # pylint: disable=name-too-long +class MixedSubscriptionPlacementResourceGroupResourceOperationsOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_client.py index 0465e913515d..b91f94dea0dd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class CombinedClient: # pylint: disable=client-accepts-api-version-keyword +class CombinedClient: # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """CombinedClient. :ivar virtual_machines: VirtualMachinesOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/_client.py index a8963d141fd1..529dfd24f4d7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class CombinedClient: # pylint: disable=client-accepts-api-version-keyword +class CombinedClient: # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """CombinedClient. :ivar virtual_machines: VirtualMachinesOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/operations/_operations.py index beea44eb10c0..5c4a561e8d74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/aio/operations/_operations.py @@ -45,7 +45,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class VirtualMachinesOperations: +class VirtualMachinesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -382,7 +382,7 @@ def get_long_running_output(pipeline_response): ) -class StorageAccountsOperations: +class StorageAccountsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/models/_models.py index 621a8fee389c..c34ca351b2dd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/models/_models.py @@ -68,6 +68,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.multiservicesharedmodels.combined.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.multiservicesharedmodels.combined.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -129,6 +131,12 @@ class SharedMetadata(_Model): :vartype created_by: str :ivar tags: Tags associated with the resource. :vartype tags: dict[str, str] + :keyword created_at: Creation timestamp of the resource. + :paramtype created_at: ~datetime.datetime + :keyword created_by: Creator of the resource. + :paramtype created_by: str + :keyword tags: Tags associated with the resource. + :paramtype tags: dict[str, str] """ created_at: Optional[datetime.datetime] = rest_field( @@ -179,6 +187,10 @@ class TrackedResource(Resource): :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] """ tags: Optional[dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -227,6 +239,13 @@ class StorageAccount(TrackedResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.multiservicesharedmodels.combined.models.StorageAccountProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.multiservicesharedmodels.combined.models.StorageAccountProperties """ properties: Optional["_models.StorageAccountProperties"] = rest_field( @@ -263,6 +282,9 @@ class StorageAccountProperties(_Model): :ivar metadata: Shared metadata for the storage account. :vartype metadata: ~azure.resourcemanager.multiservicesharedmodels.combined.models.SharedMetadata + :keyword metadata: Shared metadata for the storage account. + :paramtype metadata: + ~azure.resourcemanager.multiservicesharedmodels.combined.models.SharedMetadata """ provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( @@ -311,6 +333,22 @@ class SystemData(_Model): ~azure.resourcemanager.multiservicesharedmodels.combined.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or + ~azure.resourcemanager.multiservicesharedmodels.combined.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or + ~azure.resourcemanager.multiservicesharedmodels.combined.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) @@ -383,6 +421,13 @@ class VirtualMachine(TrackedResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.multiservicesharedmodels.combined.models.VirtualMachineProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.multiservicesharedmodels.combined.models.VirtualMachineProperties """ properties: Optional["_models.VirtualMachineProperties"] = rest_field( @@ -419,6 +464,9 @@ class VirtualMachineProperties(_Model): :ivar metadata: Shared metadata for the virtual machine. :vartype metadata: ~azure.resourcemanager.multiservicesharedmodels.combined.models.SharedMetadata + :keyword metadata: Shared metadata for the virtual machine. + :paramtype metadata: + ~azure.resourcemanager.multiservicesharedmodels.combined.models.SharedMetadata """ provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/operations/_operations.py index 5e1f4a474bb7..f475524a1952 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/operations/_operations.py @@ -160,7 +160,7 @@ def build_storage_accounts_create_or_update_request( # pylint: disable=name-too return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) -class VirtualMachinesOperations: +class VirtualMachinesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -497,7 +497,7 @@ def get_long_running_output(pipeline_response): ) -class StorageAccountsOperations: +class StorageAccountsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_client.py index 2af1ff380ac1..6e3595c41436 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class CombinedClient: # pylint: disable=client-accepts-api-version-keyword +class CombinedClient: # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """CombinedClient. :ivar virtual_machines: VirtualMachinesOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/_client.py index 7638e2ed5244..6bcf8bff7fc9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class CombinedClient: # pylint: disable=client-accepts-api-version-keyword +class CombinedClient: # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """CombinedClient. :ivar virtual_machines: VirtualMachinesOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/operations/_operations.py index 5bac6c39d7c4..1c404eebf1d7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/aio/operations/_operations.py @@ -44,7 +44,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class VirtualMachinesOperations: +class VirtualMachinesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -381,7 +381,7 @@ def get_long_running_output(pipeline_response): ) -class DisksOperations: +class DisksOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/models/_models.py index f4e2afaf9f02..15841314a55b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/models/_models.py @@ -63,6 +63,10 @@ class TrackedResource(Resource): :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] """ tags: Optional[dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -109,6 +113,12 @@ class Disk(TrackedResource): :vartype location: str :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.multiservice.combined.models.DiskProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.multiservice.combined.models.DiskProperties """ properties: Optional["_models.DiskProperties"] = rest_field( @@ -200,6 +210,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.multiservice.combined.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.multiservice.combined.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -242,6 +254,22 @@ class SystemData(_Model): ~azure.resourcemanager.multiservice.combined.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or + ~azure.resourcemanager.multiservice.combined.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or + ~azure.resourcemanager.multiservice.combined.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) @@ -313,6 +341,13 @@ class VirtualMachine(TrackedResource): :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.multiservice.combined.models.VirtualMachineProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.multiservice.combined.models.VirtualMachineProperties """ properties: Optional["_models.VirtualMachineProperties"] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/operations/_operations.py index 818332635774..0f21af43f8fc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/operations/_operations.py @@ -160,7 +160,7 @@ def build_disks_create_or_update_request( return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) -class VirtualMachinesOperations: +class VirtualMachinesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -497,7 +497,7 @@ def get_long_running_output(pipeline_response): ) -class DisksOperations: +class DisksOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py index 22d7ed2f6918..837d4b1ea231 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials import TokenCredential -class NonResourceClient: +class NonResourceClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar non_resource_operations: NonResourceOperationsOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py index 726f1ee24a59..a1dc040dcc48 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class NonResourceClientConfiguration: # pylint: disable=too-many-instance-attributes +class NonResourceClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for NonResourceClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py index b3169a6260eb..ac7081df394c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py @@ -31,7 +31,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class NonResourceClient: +class NonResourceClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar non_resource_operations: NonResourceOperationsOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py index ca27162865fe..cb9be72b666c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class NonResourceClientConfiguration: # pylint: disable=too-many-instance-attributes +class NonResourceClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for NonResourceClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py index ba9fb8c5f849..011856e0c496 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py @@ -40,7 +40,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class NonResourceOperationsOperations: +class NonResourceOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py index ff9dff9323fc..4a44dd6a4ebf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py @@ -64,6 +64,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.nonresource.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.nonresource.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -97,6 +99,12 @@ class NonResource(_Model): :vartype name: str :ivar type: A type. :vartype type: str + :keyword id: An id. + :paramtype id: str + :keyword name: A name. + :paramtype name: str + :keyword type: A type. + :paramtype type: str """ id: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py index 1ea579b46c26..56bbc8cfa614 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py @@ -99,7 +99,7 @@ def build_non_resource_operations_create_request( # pylint: disable=name-too-lo return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) -class NonResourceOperationsOperations: +class NonResourceOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py index 108d69cc2424..b681207463d8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py @@ -37,7 +37,7 @@ from azure.core.credentials import TokenCredential -class OperationTemplatesClient: +class OperationTemplatesClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar operations: Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py index 7f02beef88f5..91bb8d97646a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class OperationTemplatesClientConfiguration: # pylint: disable=too-many-instance-attributes +class OperationTemplatesClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for OperationTemplatesClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py index 0a56e693eb61..2cedd92ca4ea 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py @@ -37,7 +37,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class OperationTemplatesClient: +class OperationTemplatesClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar operations: Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py index 941591d2b54d..0f9b38f41e46 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class OperationTemplatesClientConfiguration: # pylint: disable=too-many-instance-attributes +class OperationTemplatesClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for OperationTemplatesClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py index f3059d07f5b7..c864e47579c8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py @@ -57,7 +57,7 @@ List = list -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -168,7 +168,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class CheckNameAvailabilityOperations: +class CheckNameAvailabilityOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -472,7 +472,7 @@ async def check_local( return deserialized # type: ignore -class LroOperations: +class LroOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1271,7 +1271,7 @@ def get_long_running_output(pipeline_response): ) -class LroPagingOperations: +class LroPagingOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1498,7 +1498,7 @@ async def internal_get_next(next_link=None): ) -class OptionalBodyOperations: +class OptionalBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py index 7effc2159d25..72b4b49e026d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py @@ -24,6 +24,10 @@ class ActionRequest(_Model): :vartype action_type: str :ivar parameters: Additional action parameters. :vartype parameters: str + :keyword action_type: The action type to perform. + :paramtype action_type: str + :keyword parameters: Additional action parameters. + :paramtype parameters: str """ action_type: Optional[str] = rest_field( @@ -57,6 +61,8 @@ class ActionResult(_Model): :ivar result: The result of the action. Required. :vartype result: str + :keyword result: The result of the action. Required. + :paramtype result: str """ result: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -87,6 +93,10 @@ class ChangeAllowanceRequest(_Model): :vartype total_allowed: int :ivar reason: The reason for the change. :vartype reason: str + :keyword total_allowed: The new total allowed widgets. + :paramtype total_allowed: int + :keyword reason: The reason for the change. + :paramtype reason: str """ total_allowed: Optional[int] = rest_field( @@ -122,6 +132,10 @@ class ChangeAllowanceResult(_Model): :vartype total_allowed: int :ivar status: The status of the change. Required. :vartype status: str + :keyword total_allowed: The new total allowed widgets. Required. + :paramtype total_allowed: int + :keyword status: The status of the change. Required. + :paramtype status: str """ total_allowed: int = rest_field(name="totalAllowed", visibility=["read", "create", "update", "delete", "query"]) @@ -155,6 +169,10 @@ class CheckNameAvailabilityRequest(_Model): :vartype name: str :ivar type: The resource type. :vartype type: str + :keyword name: The name of the resource for which availability needs to be checked. + :paramtype name: str + :keyword type: The resource type. + :paramtype type: str """ name: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -192,6 +210,14 @@ class CheckNameAvailabilityResponse(_Model): ~azure.resourcemanager.operationtemplates.models.CheckNameAvailabilityReason :ivar message: Detailed reason why the given name is not available. :vartype message: str + :keyword name_available: Indicates if the resource name is available. + :paramtype name_available: bool + :keyword reason: The reason why the given name is not available. Known values are: "Invalid" + and "AlreadyExists". + :paramtype reason: str or + ~azure.resourcemanager.operationtemplates.models.CheckNameAvailabilityReason + :keyword message: Detailed reason why the given name is not available. + :paramtype message: str """ name_available: Optional[bool] = rest_field( @@ -276,6 +302,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.operationtemplates.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.operationtemplates.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -304,6 +332,8 @@ class ExportRequest(_Model): :ivar format: Format of the exported order. Required. :vartype format: str + :keyword format: Format of the exported order. Required. + :paramtype format: str """ format: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -332,6 +362,8 @@ class ExportResult(_Model): :ivar content: Content of the exported order. Required. :vartype content: str + :keyword content: Content of the exported order. Required. + :paramtype content: str """ content: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -373,6 +405,8 @@ class Operation(_Model): :ivar action_type: Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. "Internal" :vartype action_type: str or ~azure.resourcemanager.operationtemplates.models.ActionType + :keyword display: Localized display information for this particular operation. + :paramtype display: ~azure.resourcemanager.operationtemplates.models.OperationDisplay """ name: Optional[str] = rest_field(visibility=["read"]) @@ -489,6 +523,10 @@ class TrackedResource(Resource): :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] """ tags: Optional[dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -536,6 +574,12 @@ class Order(TrackedResource): :vartype location: str :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.operationtemplates.models.OrderProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.operationtemplates.models.OrderProperties """ properties: Optional["_models.OrderProperties"] = rest_field( @@ -572,6 +616,10 @@ class OrderProperties(_Model): :vartype amount: int :ivar provisioning_state: The provisioning state of the product. :vartype provisioning_state: str + :keyword product_id: The product ID of the order. Required. + :paramtype product_id: str + :keyword amount: Amount of the product. Required. + :paramtype amount: int """ product_id: str = rest_field(name="productId", visibility=["read", "create", "update", "delete", "query"]) @@ -621,6 +669,12 @@ class Product(TrackedResource): :vartype location: str :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.operationtemplates.models.ProductProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.operationtemplates.models.ProductProperties """ properties: Optional["_models.ProductProperties"] = rest_field( @@ -655,6 +709,8 @@ class ProductProperties(_Model): :vartype product_id: str :ivar provisioning_state: The provisioning state of the product. :vartype provisioning_state: str + :keyword product_id: The product ID. + :paramtype product_id: str """ product_id: Optional[str] = rest_field(name="productId", visibility=["read", "create", "update", "delete", "query"]) @@ -698,6 +754,22 @@ class SystemData(_Model): ~azure.resourcemanager.operationtemplates.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or + ~azure.resourcemanager.operationtemplates.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or + ~azure.resourcemanager.operationtemplates.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) @@ -769,6 +841,12 @@ class Widget(TrackedResource): :vartype location: str :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.operationtemplates.models.WidgetProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.operationtemplates.models.WidgetProperties """ properties: Optional["_models.WidgetProperties"] = rest_field( @@ -805,6 +883,10 @@ class WidgetProperties(_Model): :vartype description: str :ivar provisioning_state: The provisioning state of the widget. :vartype provisioning_state: str + :keyword name: The name of the widget. + :paramtype name: str + :keyword description: The description of the widget. + :paramtype description: str """ name: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py index 09742a806b76..a06362352eb6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py @@ -381,7 +381,7 @@ def build_optional_body_provider_post_request( # pylint: disable=name-too-long return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -492,7 +492,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class CheckNameAvailabilityOperations: +class CheckNameAvailabilityOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -796,7 +796,7 @@ def check_local( return deserialized # type: ignore -class LroOperations: +class LroOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1591,7 +1591,7 @@ def get_long_running_output(pipeline_response): ) -class LroPagingOperations: +class LroPagingOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1816,7 +1816,7 @@ def internal_get_next(next_link=None): ) -class OptionalBodyOperations: +class OptionalBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py index 9e4eda8bf07c..9214146c0956 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py @@ -37,7 +37,7 @@ from azure.core.credentials import TokenCredential -class ResourcesClient: +class ResourcesClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar top_level: TopLevelOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py index 82d1cb46d28e..07723c3cffd3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class ResourcesClientConfiguration: # pylint: disable=too-many-instance-attributes +class ResourcesClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ResourcesClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py index beb94eaaff50..e4bb43f7e11e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py @@ -37,7 +37,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class ResourcesClient: +class ResourcesClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Arm Resource Provider management API. :ivar top_level: TopLevelOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py index 0d3d3e209a71..60fab25942ae 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class ResourcesClientConfiguration: # pylint: disable=too-many-instance-attributes +class ResourcesClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ResourcesClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py index 607bbe956920..99c01770fcc8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py @@ -70,7 +70,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class TopLevelOperations: +class TopLevelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1112,7 +1112,7 @@ async def action_sync( return cls(pipeline_response, None, {}) # type: ignore -class NestedOperations: +class NestedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1954,7 +1954,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class SingletonOperations: +class SingletonOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2518,7 +2518,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class ExtensionsResourcesOperations: +class ExtensionsResourcesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3168,7 +3168,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class LocationResourcesOperations: +class LocationResourcesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py index f70158052ce9..e01839f21279 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py @@ -66,6 +66,8 @@ class ErrorResponse(_Model): :ivar error: The error object. :vartype error: ~azure.resourcemanager.resources.models.ErrorDetail + :keyword error: The error object. + :paramtype error: ~azure.resourcemanager.resources.models.ErrorDetail """ error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -151,6 +153,8 @@ class ExtensionsResource(ExtensionResource): :vartype system_data: ~azure.resourcemanager.resources.models.SystemData :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.resources.models.ExtensionsResourceProperties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.resources.models.ExtensionsResourceProperties """ properties: Optional["_models.ExtensionsResourceProperties"] = rest_field( @@ -184,6 +188,8 @@ class ExtensionsResourceProperties(_Model): :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState + :keyword description: The description of the resource. + :paramtype description: str """ description: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -246,6 +252,8 @@ class LocationResource(ProxyResource): :vartype system_data: ~azure.resourcemanager.resources.models.SystemData :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.resources.models.LocationResourceProperties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.resources.models.LocationResourceProperties """ properties: Optional["_models.LocationResourceProperties"] = rest_field( @@ -279,6 +287,8 @@ class LocationResourceProperties(_Model): :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState + :keyword description: The description of the resource. + :paramtype description: str """ description: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -323,6 +333,8 @@ class NestedProxyResource(ProxyResource): :vartype system_data: ~azure.resourcemanager.resources.models.SystemData :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.resources.models.NestedProxyResourceProperties + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: ~azure.resourcemanager.resources.models.NestedProxyResourceProperties """ properties: Optional["_models.NestedProxyResourceProperties"] = rest_field( @@ -356,6 +368,8 @@ class NestedProxyResourceProperties(_Model): :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState :ivar description: Nested resource description. :vartype description: str + :keyword description: Nested resource description. + :paramtype description: str """ provisioning_state: Optional[Union[str, "_models.ProvisioningState"]] = rest_field( @@ -391,6 +405,10 @@ class NotificationDetails(_Model): :vartype message: str :ivar urgent: If true, the notification is urgent. Required. :vartype urgent: bool + :keyword message: The notification message. Required. + :paramtype message: str + :keyword urgent: If true, the notification is urgent. Required. + :paramtype urgent: bool """ message: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -435,6 +453,10 @@ class TrackedResource(Resource): :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] """ tags: Optional[dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -482,6 +504,13 @@ class SingletonTrackedResource(TrackedResource): :vartype location: str :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.resources.models.SingletonTrackedResourceProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.resources.models.SingletonTrackedResourceProperties """ properties: Optional["_models.SingletonTrackedResourceProperties"] = rest_field( @@ -517,6 +546,8 @@ class SingletonTrackedResourceProperties(_Model): :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState :ivar description: The description of the resource. :vartype description: str + :keyword description: The description of the resource. + :paramtype description: str """ provisioning_state: Optional[Union[str, "_models.ProvisioningState"]] = rest_field( @@ -562,6 +593,20 @@ class SystemData(_Model): :vartype last_modified_by_type: str or ~azure.resourcemanager.resources.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", and "Key". + :paramtype created_by_type: str or ~azure.resourcemanager.resources.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", and "Key". + :paramtype last_modified_by_type: str or ~azure.resourcemanager.resources.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime """ created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) @@ -633,6 +678,13 @@ class TopLevelTrackedResource(TrackedResource): :vartype location: str :ivar properties: The resource-specific properties for this resource. :vartype properties: ~azure.resourcemanager.resources.models.TopLevelTrackedResourceProperties + :keyword location: The geo-location where the resource lives. Required. + :paramtype location: str + :keyword tags: Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The resource-specific properties for this resource. + :paramtype properties: + ~azure.resourcemanager.resources.models.TopLevelTrackedResourceProperties """ properties: Optional["_models.TopLevelTrackedResourceProperties"] = rest_field( @@ -668,6 +720,8 @@ class TopLevelTrackedResourceProperties(_Model): :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState :ivar description: The description of the resource. :vartype description: str + :keyword description: The description of the resource. + :paramtype description: str """ provisioning_state: Optional[Union[str, "_models.ProvisioningState"]] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py index 9f32206663dc..81004e434d4b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py @@ -802,7 +802,7 @@ def build_location_resources_list_by_location_request( # pylint: disable=name-t return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class TopLevelOperations: +class TopLevelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1844,7 +1844,7 @@ def action_sync( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NestedOperations: +class NestedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2686,7 +2686,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class SingletonOperations: +class SingletonOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3250,7 +3250,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class ExtensionsResourcesOperations: +class ExtensionsResourcesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3902,7 +3902,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class LocationResourcesOperations: +class LocationResourcesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-special-headers-conditional-request/azure/specialheaders/conditionalrequest/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_client.py index c0a3c46caa4d..ed02d8b85352 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class PreviewVersionClient(_PreviewVersionClientOperationsMixin): +class PreviewVersionClient( + _PreviewVersionClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """PreviewVersionClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_configuration.py index 6413dd58cf7b..5cd13d8c5c4b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class PreviewVersionClientConfiguration: # pylint: disable=too-many-instance-attributes +class PreviewVersionClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for PreviewVersionClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_client.py index af120d7c51a4..035347b06607 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class PreviewVersionClient(_PreviewVersionClientOperationsMixin): +class PreviewVersionClient( + _PreviewVersionClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """PreviewVersionClient. :keyword endpoint: Service host. Default value is "http://localhost:3000". diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_configuration.py index 6445916e3c13..a8b0b36023b7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class PreviewVersionClientConfiguration: # pylint: disable=too-many-instance-attributes +class PreviewVersionClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for PreviewVersionClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/models/_models.py index 1518444acaa1..797c95dc3ba6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/azure-versioning-previewversion/specs/azure/versioning/previewversion/models/_models.py @@ -20,6 +20,8 @@ class ListWidgetsResponse(_Model): :ivar widgets: Required. :vartype widgets: list[~specs.azure.versioning.previewversion.models.Widget] + :keyword widgets: Required. + :paramtype widgets: list[~specs.azure.versioning.previewversion.models.Widget] """ widgets: list["_models.Widget"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -48,6 +50,8 @@ class UpdateWidgetColorRequest(_Model): :ivar color: New color for the widget. Required. :vartype color: str + :keyword color: New color for the widget. Required. + :paramtype color: str """ color: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -80,6 +84,12 @@ class Widget(_Model): :vartype name: str :ivar color: Widget color, only available in preview version. :vartype color: str + :keyword id: Widget identifier. Required. + :paramtype id: str + :keyword name: Widget name. Required. + :paramtype name: str + :keyword color: Widget color, only available in preview version. + :paramtype color: str """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/first/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/first/models/_models.py index d105c9fda601..d04e5c578028 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/first/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/first/models/_models.py @@ -17,6 +17,8 @@ class FirstClientResult(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/models/_models.py index 9e74a9906bcb..ef196348b12d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-namespace/client/clientnamespace/second/models/_models.py @@ -20,6 +20,8 @@ class SecondClientResult(_Model): :ivar type: Required. "second" :vartype type: str or ~client.clientnamespace.second.sub.models.SecondClientEnumType + :keyword type: Required. "second" + :paramtype type: str or ~client.clientnamespace.second.sub.models.SecondClientEnumType """ type: Union[str, "_sub_models2.SecondClientEnumType"] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/aio/operations/_operations.py index e6aa1e4dbeea..ea2ba0094dde 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/aio/operations/_operations.py @@ -37,7 +37,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FirstOperationsOperations: +class FirstOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -177,7 +177,7 @@ async def first( return deserialized # type: ignore -class SecondOperationsOperations: +class SecondOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/firstnamespace/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/firstnamespace/models/_models.py index f188390e9cc3..f5b2940fd6b7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/firstnamespace/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/firstnamespace/models/_models.py @@ -22,6 +22,11 @@ class FirstModel(_Model): :vartype status: str or ~client.naming.enumconflict.firstnamespace.models.Status :ivar name: Name of the item. Required. :vartype name: str + :keyword status: Status from first namespace. Required. Known values are: "active" and + "inactive". + :paramtype status: str or ~client.naming.enumconflict.firstnamespace.models.Status + :keyword name: Name of the item. Required. + :paramtype name: str """ status: Union[str, "_models.Status"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/operations/_operations.py index 0ad1664230f0..a01043e3d091 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/operations/_operations.py @@ -73,7 +73,7 @@ def build_second_operations_second_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FirstOperationsOperations: +class FirstOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -213,7 +213,7 @@ def first( return deserialized # type: ignore -class SecondOperationsOperations: +class SecondOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/secondnamespace/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/secondnamespace/models/_models.py index 6ce923b2df70..45096964bbb6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/secondnamespace/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-enum-conflict/client/naming/enumconflict/secondnamespace/models/_models.py @@ -23,6 +23,11 @@ class SecondModel(_Model): :vartype status: str or ~client.naming.enumconflict.secondnamespace.models.SecondStatus :ivar description: Description of the item. Required. :vartype description: str + :keyword status: Status from second namespace. Required. Known values are: "running" and + "stopped". + :paramtype status: str or ~client.naming.enumconflict.secondnamespace.models.SecondStatus + :keyword description: Description of the item. Required. + :paramtype description: str """ status: Union[str, "_models.SecondStatus"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/aio/operations/_operations.py index 3391d52c471b..77ce1d743853 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/aio/operations/_operations.py @@ -48,7 +48,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -385,7 +385,7 @@ async def compatible_with_encoded_name( return cls(pipeline_response, None, {}) # type: ignore -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -497,7 +497,7 @@ async def response(self, **kwargs: Any) -> None: return cls(pipeline_response, None, response_headers) # type: ignore -class ModelClientOperations: +class ModelClientOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -717,7 +717,7 @@ async def language(self, body: Union[_models.PythonModel, _types.PythonModel, IO return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumOperations: +class UnionEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/models/_models.py index 21efec012765..3dce76e58725 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/models/_models.py @@ -17,6 +17,8 @@ class ClientModel(_Model): :ivar default_name: Pass in true. Required. :vartype default_name: bool + :keyword default_name: Pass in true. Required. + :paramtype default_name: bool """ default_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) @@ -45,6 +47,8 @@ class ClientNameAndJsonEncodedNameModel(_Model): :ivar client_name: Pass in true. Required. :vartype client_name: bool + :keyword client_name: Pass in true. Required. + :paramtype client_name: bool """ client_name: bool = rest_field(name="wireName", visibility=["read", "create", "update", "delete", "query"]) @@ -73,6 +77,8 @@ class ClientNameModel(_Model): :ivar client_name: Pass in true. Required. :vartype client_name: bool + :keyword client_name: Pass in true. Required. + :paramtype client_name: bool """ client_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) @@ -101,6 +107,8 @@ class LanguageClientNameModel(_Model): :ivar python_name: Pass in true. Required. :vartype python_name: bool + :keyword python_name: Pass in true. Required. + :paramtype python_name: bool """ python_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) @@ -129,6 +137,8 @@ class PythonModel(_Model): :ivar default_name: Pass in true. Required. :vartype default_name: bool + :keyword default_name: Pass in true. Required. + :paramtype default_name: bool """ default_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/operations/_operations.py index 01c1262f85f5..b533e83bc873 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming-typeddict/client/naming/typeddict/operations/_operations.py @@ -172,7 +172,7 @@ def build_naming_parameter_request(*, client_name: str, **kwargs: Any) -> HttpRe return HttpRequest(method="POST", url=_url, params=_params, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -505,7 +505,7 @@ def compatible_with_encoded_name( # pylint: disable=inconsistent-return-stateme return cls(pipeline_response, None, {}) # type: ignore -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -617,7 +617,7 @@ def response(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-retur return cls(pipeline_response, None, response_headers) # type: ignore -class ModelClientOperations: +class ModelClientOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -837,7 +837,7 @@ def language( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumOperations: +class UnionEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/aio/operations/_operations.py index babaa7b80c04..2ac6fb8c45a6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/aio/operations/_operations.py @@ -48,7 +48,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -385,7 +385,7 @@ async def compatible_with_encoded_name( return cls(pipeline_response, None, {}) # type: ignore -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -497,7 +497,7 @@ async def response(self, **kwargs: Any) -> None: return cls(pipeline_response, None, response_headers) # type: ignore -class ModelClientOperations: +class ModelClientOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -717,7 +717,7 @@ async def language(self, body: Union[_models.PythonModel, _types.PythonModel, IO return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumOperations: +class UnionEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/models/_models.py index 21efec012765..3dce76e58725 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/models/_models.py @@ -17,6 +17,8 @@ class ClientModel(_Model): :ivar default_name: Pass in true. Required. :vartype default_name: bool + :keyword default_name: Pass in true. Required. + :paramtype default_name: bool """ default_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) @@ -45,6 +47,8 @@ class ClientNameAndJsonEncodedNameModel(_Model): :ivar client_name: Pass in true. Required. :vartype client_name: bool + :keyword client_name: Pass in true. Required. + :paramtype client_name: bool """ client_name: bool = rest_field(name="wireName", visibility=["read", "create", "update", "delete", "query"]) @@ -73,6 +77,8 @@ class ClientNameModel(_Model): :ivar client_name: Pass in true. Required. :vartype client_name: bool + :keyword client_name: Pass in true. Required. + :paramtype client_name: bool """ client_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) @@ -101,6 +107,8 @@ class LanguageClientNameModel(_Model): :ivar python_name: Pass in true. Required. :vartype python_name: bool + :keyword python_name: Pass in true. Required. + :paramtype python_name: bool """ python_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) @@ -129,6 +137,8 @@ class PythonModel(_Model): :ivar default_name: Pass in true. Required. :vartype default_name: bool + :keyword default_name: Pass in true. Required. + :paramtype default_name: bool """ default_name: bool = rest_field(name="defaultName", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/operations/_operations.py index 74986dfd6c53..39203f19ae17 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-naming/client/naming/main/operations/_operations.py @@ -172,7 +172,7 @@ def build_naming_parameter_request(*, client_name: str, **kwargs: Any) -> HttpRe return HttpRequest(method="POST", url=_url, params=_params, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -505,7 +505,7 @@ def compatible_with_encoded_name( # pylint: disable=inconsistent-return-stateme return cls(pipeline_response, None, {}) # type: ignore -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -617,7 +617,7 @@ def response(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-retur return cls(pipeline_response, None, response_headers) # type: ignore -class ModelClientOperations: +class ModelClientOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -837,7 +837,7 @@ def language( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumOperations: +class UnionEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/models/_models.py index cf2100b83b5a..5223180d4b21 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-overload/client/overload/models/_models.py @@ -21,6 +21,12 @@ class Resource(_Model): :vartype name: str :ivar scope: Required. :vartype scope: str + :keyword id: Required. + :paramtype id: str + :keyword name: Required. + :paramtype name: str + :keyword scope: Required. + :paramtype scope: str """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/aio/operations/_operations.py index 0a47813c74fc..1f402596b5f8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Group3Operations: +class Group3Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -146,7 +146,7 @@ async def three(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Group4Operations: +class Group4Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -259,7 +259,7 @@ async def one(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Group5Operations: +class Group5Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/operations/_operations.py index 8bc7d34d9835..ee31f03f620c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-clientoperationgroup/client/structure/clientoperationgroup/operations/_operations.py @@ -74,7 +74,7 @@ def build_second_five_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, **kwargs) -class Group3Operations: +class Group3Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -182,7 +182,7 @@ def three(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-s return cls(pipeline_response, None, {}) # type: ignore -class Group4Operations: +class Group4Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -293,7 +293,7 @@ def one(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-sta return cls(pipeline_response, None, {}) # type: ignore -class Group5Operations: +class Group5Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/aio/operations/_operations.py index 03a2469bea32..353d29a7777f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/aio/operations/_operations.py @@ -41,7 +41,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class BazOperations: +class BazOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -61,7 +61,7 @@ def __init__(self, *args, **kwargs) -> None: self.foo = BazFooOperations(self._client, self._config, self._serialize, self._deserialize) -class QuxOperations: +class QuxOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -126,7 +126,7 @@ async def eight(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class FooOperations: +class FooOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -234,7 +234,7 @@ async def four(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BarOperations: +class BarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -437,7 +437,7 @@ async def two(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BazFooOperations: +class BazFooOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -500,7 +500,7 @@ async def seven(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class QuxBarOperations: +class QuxBarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/operations/_operations.py index 0a4793747376..afa2a02c7410 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-default/client/structure/service/operations/_operations.py @@ -95,7 +95,7 @@ def build_qux_bar_nine_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, **kwargs) -class BazOperations: +class BazOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -115,7 +115,7 @@ def __init__(self, *args, **kwargs) -> None: self.foo = BazFooOperations(self._client, self._config, self._serialize, self._deserialize) -class QuxOperations: +class QuxOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -180,7 +180,7 @@ def eight(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-s return cls(pipeline_response, None, {}) # type: ignore -class FooOperations: +class FooOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -288,7 +288,7 @@ def four(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-st return cls(pipeline_response, None, {}) # type: ignore -class BarOperations: +class BarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -491,7 +491,7 @@ def two(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-sta return cls(pipeline_response, None, {}) # type: ignore -class BazFooOperations: +class BazFooOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -554,7 +554,7 @@ def seven(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-s return cls(pipeline_response, None, {}) # type: ignore -class QuxBarOperations: +class QuxBarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-multiclient/client/structure/multiclient/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py index e34813b8a464..94b4f3b8bfac 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class GroupOperations: +class GroupOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py index 9e7316fb7e29..64a33676bdf2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py @@ -74,7 +74,7 @@ def build_renamed_operation_renamed_five_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, **kwargs) -class GroupOperations: +class GroupOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py index 8a570b30e65d..f69040449596 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Group1Operations: +class Group1Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -189,7 +189,7 @@ async def four(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Group2Operations: +class Group2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py index 22bd86a2b5cd..b9cc348ea652 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py @@ -73,7 +73,7 @@ def build_group2_six_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, **kwargs) -class Group1Operations: +class Group1Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -226,7 +226,7 @@ def four(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-st return cls(pipeline_response, None, {}) # type: ignore -class Group2Operations: +class Group2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/models/_models.py index 41db8a65549f..407c97aba28c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/models/_models.py @@ -20,6 +20,8 @@ class CommaDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="commaDelimited") @@ -48,6 +50,8 @@ class CommaDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -78,6 +82,8 @@ class CommaDelimitedExtensibleEnumArrayProperty(_Model): # pylint: disable=name :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( @@ -108,6 +114,8 @@ class NewlineDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="newlineDelimited") @@ -136,6 +144,8 @@ class NewlineDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -166,6 +176,8 @@ class NewlineDelimitedExtensibleEnumArrayProperty(_Model): # pylint: disable=na :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( @@ -196,6 +208,8 @@ class PipeDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="pipeDelimited") @@ -224,6 +238,8 @@ class PipeDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -254,6 +270,8 @@ class PipeDelimitedExtensibleEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( @@ -284,6 +302,8 @@ class SpaceDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="spaceDelimited") @@ -312,6 +332,8 @@ class SpaceDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -342,6 +364,8 @@ class SpaceDelimitedExtensibleEnumArrayProperty(_Model): # pylint: disable=name :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/aio/operations/_operations.py index a0a3bf39cf2f..7e304a135fd4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/aio/operations/_operations.py @@ -50,7 +50,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/operations/_operations.py index 326fad11c0af..96fe923742bd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-array/encode/array/property/operations/_operations.py @@ -251,7 +251,7 @@ def build_property_extensible_enum_newline_delimited_request( # pylint: disable return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/aio/operations/_operations.py index e6d7eca275bf..4cace0d5bab6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/aio/operations/_operations.py @@ -41,7 +41,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/models/_models.py index 16f9fac39670..c353e6e3a12b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/models/_models.py @@ -17,6 +17,8 @@ class BoolAsStringProperty(_Model): :ivar value: Required. :vartype value: bool + :keyword value: Required. + :paramtype value: bool """ value: bool = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/operations/_operations.py index cf82664a817c..642e8009ba00 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-boolean/encode/boolean/operations/_operations.py @@ -106,7 +106,7 @@ def build_property_false_mixed_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/aio/operations/_operations.py index 3062b7e500b8..295092e60632 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/operations/_operations.py index b0e341ce9bf1..9409bc2448e6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/header/operations/_operations.py @@ -80,7 +80,7 @@ def build_header_base64_url_array_request(*, value: list[bytes], **kwargs: Any) return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/models/_models.py index 0be462588134..5731fbc50e72 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/models/_models.py @@ -17,6 +17,8 @@ class Base64BytesProperty(_Model): :ivar value: Required. :vartype value: bytes + :keyword value: Required. + :paramtype value: bytes """ value: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") @@ -45,6 +47,8 @@ class Base64urlArrayBytesProperty(_Model): :ivar value: Required. :vartype value: list[bytes] + :keyword value: Required. + :paramtype value: list[bytes] """ value: list[bytes] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64url") @@ -73,6 +77,8 @@ class Base64urlBytesProperty(_Model): :ivar value: Required. :vartype value: bytes + :keyword value: Required. + :paramtype value: bytes """ value: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64url") @@ -101,6 +107,8 @@ class DefaultBytesProperty(_Model): :ivar value: Required. :vartype value: bytes + :keyword value: Required. + :paramtype value: bytes """ value: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/aio/operations/_operations.py index 9e272ef78feb..1f83b9af7c89 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/aio/operations/_operations.py @@ -41,7 +41,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/operations/_operations.py index 6c5c56606a01..dd34dcff83c8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/property/operations/_operations.py @@ -106,7 +106,7 @@ def build_property_base64_url_array_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/aio/operations/_operations.py index e9e5b8e6fa2e..80b04f60cc6c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/operations/_operations.py index c07f3ff4a557..29d1067fc747 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/query/operations/_operations.py @@ -80,7 +80,7 @@ def build_query_base64_url_array_request(*, value: list[bytes], **kwargs: Any) - return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py index f0cdbd76d63b..c4afb3f6843c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class RequestBodyOperations: +class RequestBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/operations/_operations.py index 7ae8dbdb835f..ab7d25a026bf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/requestbody/operations/_operations.py @@ -102,7 +102,7 @@ def build_request_body_base64_url_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class RequestBodyOperations: +class RequestBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py index 74eb336f0d12..f6dcf0e3df89 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ResponseBodyOperations: +class ResponseBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/operations/_operations.py index cb461fc0b4d3..4319b622f6ba 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-bytes/encode/bytes/responsebody/operations/_operations.py @@ -105,7 +105,7 @@ def build_response_body_base64_url_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class ResponseBodyOperations: +class ResponseBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/aio/operations/_operations.py index 796372537efc..31f00a4386cd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/operations/_operations.py index 1e8cbd0044f3..6b1582249011 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/header/operations/_operations.py @@ -95,7 +95,7 @@ def build_header_unix_timestamp_array_request( # pylint: disable=name-too-long return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/models/_models.py index 934d8c13f82e..3f233c79e508 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/models/_models.py @@ -18,6 +18,8 @@ class DefaultDatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field(visibility=["read", "create", "update", "delete", "query"], format="rfc3339") @@ -46,6 +48,8 @@ class Rfc3339DatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field(visibility=["read", "create", "update", "delete", "query"], format="rfc3339") @@ -74,6 +78,8 @@ class Rfc7231DatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field(visibility=["read", "create", "update", "delete", "query"], format="rfc7231") @@ -102,6 +108,8 @@ class UnixTimestampArrayDatetimeProperty(_Model): :ivar value: Required. :vartype value: list[~datetime.datetime] + :keyword value: Required. + :paramtype value: list[~datetime.datetime] """ value: list[datetime.datetime] = rest_field( @@ -132,6 +140,8 @@ class UnixTimestampDatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/aio/operations/_operations.py index e1485bb59116..4537b4795e85 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/aio/operations/_operations.py @@ -42,7 +42,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/operations/_operations.py index 4e8b98bd09ff..380c9215f6dc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/property/operations/_operations.py @@ -123,7 +123,7 @@ def build_property_unix_timestamp_array_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/aio/operations/_operations.py index fe1805280eec..f8f45e796211 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/operations/_operations.py index 229f26f4e99b..274c83499581 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/query/operations/_operations.py @@ -93,7 +93,7 @@ def build_query_unix_timestamp_array_request(*, value: list[datetime.datetime], return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py index 81eb76fd55af..4ae8db5234aa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ResponseHeaderOperations: +class ResponseHeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/operations/_operations.py index cb076ce76a76..00d84782d5a1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-datetime/encode/datetime/responseheader/operations/_operations.py @@ -59,7 +59,7 @@ def build_response_header_unix_timestamp_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class ResponseHeaderOperations: +class ResponseHeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/aio/operations/_operations.py index e128ad326563..c35546388487 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/aio/operations/_operations.py @@ -83,7 +83,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -759,7 +759,7 @@ async def int32_milliseconds_array(self, *, input: list[datetime.timedelta], **k return cls(pipeline_response, None, {}) # type: ignore -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2593,7 +2593,7 @@ async def float_milliseconds_larger_unit( return deserialized # type: ignore -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3269,7 +3269,7 @@ async def int32_milliseconds_array(self, *, duration: list[datetime.timedelta], return cls(pipeline_response, None, {}) # type: ignore -class LossyOperations: +class LossyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/models/_models.py index c1471674750b..cc167a630d60 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/models/_models.py @@ -18,6 +18,8 @@ class DefaultDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -46,6 +48,8 @@ class Float64MillisecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -76,6 +80,8 @@ class Float64SecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -106,6 +112,8 @@ class FloatMillisecondsDurationArrayProperty(_Model): :ivar value: Required. :vartype value: list[~datetime.timedelta] + :keyword value: Required. + :paramtype value: list[~datetime.timedelta] """ value: list[datetime.timedelta] = rest_field( @@ -136,6 +144,8 @@ class FloatMillisecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -166,6 +176,8 @@ class FloatMillisecondsLargerUnitDurationProperty(_Model): # pylint: disable=na :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -196,6 +208,8 @@ class FloatSecondsDurationArrayProperty(_Model): :ivar value: Required. :vartype value: list[~datetime.timedelta] + :keyword value: Required. + :paramtype value: list[~datetime.timedelta] """ value: list[datetime.timedelta] = rest_field( @@ -226,6 +240,8 @@ class FloatSecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -256,6 +272,8 @@ class FloatSecondsLargerUnitDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -286,6 +304,8 @@ class Int32MillisecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -316,6 +336,8 @@ class Int32MillisecondsLargerUnitDurationProperty(_Model): # pylint: disable=na :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -346,6 +368,8 @@ class Int32SecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -376,6 +400,8 @@ class Int32SecondsLargerUnitDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -406,6 +432,8 @@ class ISO8601DurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/operations/_operations.py index fe167f17e3c8..21162df0f937 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-duration/encode/duration/operations/_operations.py @@ -664,7 +664,7 @@ def build_lossy_int_milliseconds_request(*, input: datetime.timedelta, **kwargs: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1368,7 +1368,7 @@ def int32_milliseconds_array( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3202,7 +3202,7 @@ def float_milliseconds_larger_unit( return deserialized # type: ignore -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3906,7 +3906,7 @@ def int32_milliseconds_array( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class LossyOperations: +class LossyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/aio/operations/_operations.py index cf87a3b9b4d3..5f0e03e0ef0b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/aio/operations/_operations.py @@ -40,7 +40,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/models/_models.py index 986b17f1324b..882eff04c5eb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/models/_models.py @@ -17,6 +17,8 @@ class SafeintAsStringProperty(_Model): :ivar value: Required. :vartype value: int + :keyword value: Required. + :paramtype value: int """ value: int = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") @@ -45,6 +47,8 @@ class Uint32AsStringProperty(_Model): :ivar value: :vartype value: int + :keyword value: + :paramtype value: int """ value: Optional[int] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") @@ -72,6 +76,8 @@ class Uint8AsStringProperty(_Model): :ivar value: Required. :vartype value: int + :keyword value: Required. + :paramtype value: int """ value: int = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/operations/_operations.py index 819e1bff3aab..9bc5decd9f98 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/encode-numeric/encode/numeric/operations/_operations.py @@ -89,7 +89,7 @@ def build_property_uint8_as_string_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/models/_models.py index d87d56b0eed7..face1528c21e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir/generation/subdir/_generated/models/_models.py @@ -20,6 +20,8 @@ class Element(_Model): :ivar extension: :vartype extension: list[~generation.subdir._generated.models.Extension] + :keyword extension: + :paramtype extension: list[~generation.subdir._generated.models.Extension] """ extension: Optional[list["_models.Extension"]] = rest_field( @@ -51,6 +53,10 @@ class Extension(Element): :vartype extension: list[~generation.subdir._generated.models.Extension] :ivar level: Required. :vartype level: int + :keyword level: Required. + :paramtype level: int + :keyword extension: + :paramtype extension: list[~generation.subdir._generated.models.Extension] """ level: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_client.py index 56c48a8f705b..891936642993 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_configuration.py index 8217337ce4cc..31c1d3cf05fd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes +class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_client.py index 72163edc53f3..118ca7b96735 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py index 74415364941a..d4b41fcb9ad9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes +class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py index 0c5d600fa172..a5f1b8304688 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py @@ -43,7 +43,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/models/_models.py index fb3eb408a46e..58171c19e091 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/models/_models.py @@ -24,6 +24,12 @@ class ModelV1(_Model): :vartype enum_prop: str or ~generation.subdir2.models.EnumV1 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2". + :paramtype enum_prop: str or ~generation.subdir2.models.EnumV1 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -66,6 +72,12 @@ class ModelV2(_Model): :vartype enum_prop: str or ~generation.subdir2.models.EnumV2 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. "enumMember" + :paramtype enum_prop: str or ~generation.subdir2.models.EnumV2 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/operations/_operations.py index 294ade90fc52..06b6b57461af 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/generation-subdir2/generation/subdir2/_generated/operations/_operations.py @@ -92,7 +92,7 @@ def build_added_v2_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/models/_models.py index ad63b897c9ec..8fba19dff488 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleanfalse/headasbooleanfalse/models/_models.py @@ -38,6 +38,12 @@ class VisibilityModel(_Model): :vartype update_prop: list[int] :ivar delete_prop: Required bool, illustrating a delete property. Required. :vartype delete_prop: bool + :keyword create_prop: Required string[], illustrating a create property. Required. + :paramtype create_prop: list[str] + :keyword update_prop: Required int32[], illustrating a update property. Required. + :paramtype update_prop: list[int] + :keyword delete_prop: Required bool, illustrating a delete property. Required. + :paramtype delete_prop: bool """ read_prop: str = rest_field(name="readProp", visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/models/_models.py index ad63b897c9ec..8fba19dff488 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/headasbooleantrue/headasbooleantrue/models/_models.py @@ -38,6 +38,12 @@ class VisibilityModel(_Model): :vartype update_prop: list[int] :ivar delete_prop: Required bool, illustrating a delete property. Required. :vartype delete_prop: bool + :keyword create_prop: Required string[], illustrating a create property. Required. + :paramtype create_prop: list[str] + :keyword update_prop: Required int32[], illustrating a update property. Required. + :paramtype update_prop: list[int] + :keyword delete_prop: Required bool, illustrating a delete property. Required. + :paramtype delete_prop: bool """ read_prop: str = rest_field(name="readProp", visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/aio/operations/_operations.py index d682d6226ce9..4afcc5281bc9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/aio/operations/_operations.py @@ -36,7 +36,7 @@ _Unset: Any = object() -class ExplicitBodyOperations: +class ExplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -152,7 +152,7 @@ async def simple(self, body: Union[_models.User, _types.User, IO[bytes]], **kwar return cls(pipeline_response, None, {}) # type: ignore -class ImplicitBodyOperations: +class ImplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/models/_models.py index 992007476bcc..5f0d7980dc7a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/models/_models.py @@ -17,6 +17,8 @@ class User(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/operations/_operations.py index ce22b375866e..cf5d1b295fb1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-basic/parameters/basic/operations/_operations.py @@ -66,7 +66,7 @@ def build_implicit_body_simple_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ExplicitBodyOperations: +class ExplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -184,7 +184,7 @@ def simple( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ImplicitBodyOperations: +class ImplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/models/_models.py index fbe3885f0f19..9db82390c278 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/models/_models.py @@ -17,6 +17,8 @@ class BodyModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py index b32433ef8936..300d2d4d45c7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class OptionalExplicitOperations: +class OptionalExplicitOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py index 7242039aad54..3f82d9845833 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py @@ -64,7 +64,7 @@ def build_optional_explicit_omit_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class OptionalExplicitOperations: +class OptionalExplicitOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/models/_models.py index 50b44a53476a..e4cfd6bddf0f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-body-root/parameters/bodyroot/models/_models.py @@ -24,6 +24,12 @@ class BodyRootModel(_Model): :vartype link_type: str :ivar was_successful: :vartype was_successful: bool + :keyword category: + :paramtype category: str + :keyword link_type: + :paramtype link_type: str + :keyword was_successful: + :paramtype was_successful: bool """ category: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -57,6 +63,8 @@ class NestedParameterBody(_Model): :ivar body_root_parameters: Required. :vartype body_root_parameters: ~parameters.bodyroot.models.BodyRootModel + :keyword body_root_parameters: Required. + :paramtype body_root_parameters: ~parameters.bodyroot.models.BodyRootModel """ body_root_parameters: "_models.BodyRootModel" = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py index 41028ef06b40..7df6e340e7ce 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py index 19fb0ff47d18..eff410e764f4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py @@ -44,7 +44,7 @@ def build_header_csv_request(*, colors: list[str], **kwargs: Any) -> HttpRequest return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py index b790eed26740..06d0481aa0a7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py index e55817bfc111..a71af7cf6234 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py @@ -80,7 +80,7 @@ def build_query_csv_request(*, colors: list[str], **kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-path/parameters/path/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/aio/operations/_operations.py index 116e9bd254bd..6c4ce4cbf957 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ConstantOperations: +class ConstantOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -93,7 +93,7 @@ async def post(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class SpecialCharOperations: +class SpecialCharOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/operations/_operations.py index a7e4fe2db504..feb4c0f70c71 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-query/parameters/query/operations/_operations.py @@ -57,7 +57,7 @@ def build_special_char_dollar_sign_request(*, filter: str, **kwargs: Any) -> Htt return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class ConstantOperations: +class ConstantOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -121,7 +121,7 @@ def post(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-st return cls(pipeline_response, None, {}) # type: ignore -class SpecialCharOperations: +class SpecialCharOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/aio/operations/_operations.py index e104d992eace..87f98c1d7deb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/aio/operations/_operations.py @@ -48,7 +48,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -620,7 +620,7 @@ async def spread_composite_request_mix( return cls(pipeline_response, None, {}) # type: ignore -class AliasOperations: +class AliasOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/models/_models.py index 8a50b6f095b7..efa719249e91 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/models/_models.py @@ -17,6 +17,8 @@ class BodyParameter(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/operations/_operations.py index 9b21c38f9aad..9e7cef06d297 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/parameters-spread/parameters/spread/operations/_operations.py @@ -234,7 +234,7 @@ def build_alias_spread_parameter_with_inner_alias_request( # pylint: disable=na return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -806,7 +806,7 @@ def spread_composite_request_mix( # pylint: disable=inconsistent-return-stateme return cls(pipeline_response, None, {}) # type: ignore -class AliasOperations: +class AliasOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py index 56c5d18bc9ff..233e347bcc0f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py @@ -39,7 +39,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class SameBodyOperations: +class SameBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -175,7 +175,7 @@ async def get_avatar_as_jpeg(self, **kwargs: Any) -> AsyncIterator[bytes]: return deserialized # type: ignore -class DifferentBodyOperations: +class DifferentBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/models/_models.py index df3d23f1039a..efb2690d84fc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/models/_models.py @@ -17,6 +17,8 @@ class PngImageAsJson(_Model): :ivar content: Required. :vartype content: bytes + :keyword content: Required. + :paramtype content: bytes """ content: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py index ff90ce974dc2..ff65d2f1b1d0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py @@ -88,7 +88,7 @@ def build_different_body_get_avatar_as_json_request(**kwargs: Any) -> HttpReques return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class SameBodyOperations: +class SameBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -224,7 +224,7 @@ def get_avatar_as_jpeg(self, **kwargs: Any) -> Iterator[bytes]: return deserialized # type: ignore -class DifferentBodyOperations: +class DifferentBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-head/payload/head/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py index 128c9eefd518..27a5be6c5aeb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py @@ -22,6 +22,10 @@ class InnerModel(_Model): :vartype name: str :ivar description: :vartype description: str + :keyword name: + :paramtype name: str + :keyword description: + :paramtype description: str """ name: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -65,6 +69,22 @@ class Resource(_Model): :vartype inner_model: ~payload.jsonmergepatch.models.InnerModel :ivar int_array: :vartype int_array: list[int] + :keyword name: Required. + :paramtype name: str + :keyword description: + :paramtype description: str + :keyword map: + :paramtype map: dict[str, ~payload.jsonmergepatch.models.InnerModel] + :keyword array: + :paramtype array: list[~payload.jsonmergepatch.models.InnerModel] + :keyword int_value: + :paramtype int_value: int + :keyword float_value: + :paramtype float_value: float + :keyword inner_model: + :paramtype inner_model: ~payload.jsonmergepatch.models.InnerModel + :keyword int_array: + :paramtype int_array: list[int] """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -127,6 +147,20 @@ class ResourcePatch(_Model): :vartype inner_model: ~payload.jsonmergepatch.models.InnerModel :ivar int_array: :vartype int_array: list[int] + :keyword description: + :paramtype description: str + :keyword map: + :paramtype map: dict[str, ~payload.jsonmergepatch.models.InnerModel] + :keyword array: + :paramtype array: list[~payload.jsonmergepatch.models.InnerModel] + :keyword int_value: + :paramtype int_value: int + :keyword float_value: + :paramtype float_value: float + :keyword inner_model: + :paramtype inner_model: ~payload.jsonmergepatch.models.InnerModel + :keyword int_array: + :paramtype int_array: list[int] """ description: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py index c0efb4534126..8c5ba709c110 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py @@ -39,7 +39,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringBodyOperations: +class StringBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/operations/_operations.py index 7866a9b6173d..a427eb22540d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-media-type/payload/mediatype/stringbody/operations/_operations.py @@ -90,7 +90,7 @@ def build_string_body_get_as_json_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class StringBodyOperations: +class StringBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/aio/operations/_operations.py index 791682c1bb74..e0dcab564028 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/aio/operations/_operations.py @@ -51,7 +51,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FormDataOperations: +class FormDataOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -761,7 +761,7 @@ async def anonymous_model( return cls(pipeline_response, None, {}) # type: ignore -class FormDataHttpPartsOperations: +class FormDataHttpPartsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -863,7 +863,7 @@ async def json_array_and_file_array( return cls(pipeline_response, None, {}) # type: ignore -class FormDataFileOperations: +class FormDataFileOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1124,7 +1124,7 @@ async def upload_file_array( return cls(pipeline_response, None, {}) # type: ignore -class FormDataHttpPartsContentTypeOperations: +class FormDataHttpPartsContentTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1400,7 +1400,7 @@ async def optional_content_type( return cls(pipeline_response, None, {}) # type: ignore -class FormDataHttpPartsNonStringOperations: +class FormDataHttpPartsNonStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/models/_models.py index fa7b38dbf4e8..d18d54bc2fa4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/models/_models.py @@ -21,6 +21,8 @@ class Address(_Model): :ivar city: Required. :vartype city: str + :keyword city: Required. + :paramtype city: str """ city: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -49,6 +51,8 @@ class AnonymousModelRequest(_Model): :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -81,6 +85,10 @@ class BinaryArrayPartsRequest(_Model): :vartype id: str :ivar pictures: Required. :vartype pictures: list[~payload.multipart._utils.utils.FileType] + :keyword id: Required. + :paramtype id: str + :keyword pictures: Required. + :paramtype pictures: list[~payload.multipart._utils.utils.FileType] """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -122,6 +130,16 @@ class ComplexHttpPartsModelRequest(_Model): :vartype previous_addresses: list[~payload.multipart.models.Address] :ivar pictures: Required. :vartype pictures: list[~payload.multipart._utils.utils.FileType] + :keyword id: Required. + :paramtype id: str + :keyword address: Required. + :paramtype address: ~payload.multipart.models.Address + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType + :keyword previous_addresses: Required. + :paramtype previous_addresses: list[~payload.multipart.models.Address] + :keyword pictures: Required. + :paramtype pictures: list[~payload.multipart._utils.utils.FileType] """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -174,6 +192,14 @@ class ComplexPartsRequest(_Model): :vartype profile_image: ~payload.multipart._utils.utils.FileType :ivar pictures: Required. :vartype pictures: list[~payload.multipart._utils.utils.FileType] + :keyword id: Required. + :paramtype id: str + :keyword address: Required. + :paramtype address: ~payload.multipart.models.Address + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType + :keyword pictures: Required. + :paramtype pictures: list[~payload.multipart._utils.utils.FileType] """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -215,6 +241,8 @@ class FileWithHttpPartOptionalContentTypeRequest(_Model): # pylint: disable=nam :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -245,6 +273,8 @@ class FileWithHttpPartRequiredContentTypeRequest(_Model): # pylint: disable=nam :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -275,6 +305,8 @@ class FileWithHttpPartSpecificContentTypeRequest(_Model): # pylint: disable=nam :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -305,6 +337,8 @@ class FloatRequest(_Model): :ivar temperature: Required. :vartype temperature: float + :keyword temperature: Required. + :paramtype temperature: float """ temperature: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -335,6 +369,10 @@ class JsonPartRequest(_Model): :vartype address: ~payload.multipart.models.Address :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword address: Required. + :paramtype address: ~payload.multipart.models.Address + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ address: "_models.Address" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -370,6 +408,10 @@ class MultiBinaryPartsRequest(_Model): :vartype profile_image: ~payload.multipart._utils.utils.FileType :ivar picture: :vartype picture: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType + :keyword picture: + :paramtype picture: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -406,6 +448,10 @@ class MultiPartOptionalRequest(_Model): :vartype id: str :ivar profile_image: :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword id: + :paramtype id: str + :keyword profile_image: + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ id: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -439,6 +485,10 @@ class MultiPartRequest(_Model): :vartype id: str :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword id: Required. + :paramtype id: str + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -474,6 +524,10 @@ class MultiPartRequestWithWireName(_Model): :vartype identifier: str :ivar image: Required. :vartype image: ~payload.multipart._utils.utils.FileType + :keyword identifier: Required. + :paramtype identifier: str + :keyword image: Required. + :paramtype image: ~payload.multipart._utils.utils.FileType """ identifier: str = rest_field(name="id", visibility=["read", "create", "update", "delete", "query"]) @@ -507,6 +561,8 @@ class UploadFileArrayRequest(_Model): :ivar files: Required. :vartype files: list[~payload.multipart._utils.utils.FileType] + :keyword files: Required. + :paramtype files: list[~payload.multipart._utils.utils.FileType] """ files: list[FileType] = rest_field( @@ -537,6 +593,8 @@ class UploadFileRequiredFilenameRequest(_Model): :ivar file: Required. :vartype file: ~payload.multipart._utils.utils.FileType + :keyword file: Required. + :paramtype file: ~payload.multipart._utils.utils.FileType """ file: FileType = rest_field( @@ -567,6 +625,8 @@ class UploadFileSpecificContentTypeRequest(_Model): :ivar file: Required. :vartype file: ~payload.multipart._utils.utils.FileType + :keyword file: Required. + :paramtype file: ~payload.multipart._utils.utils.FileType """ file: FileType = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/operations/_operations.py index 417c6e7331a3..9aa329e1d016 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-multipart/payload/multipart/operations/_operations.py @@ -203,7 +203,7 @@ def build_form_data_http_parts_non_string_float_request(**kwargs: Any) -> HttpRe return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FormDataOperations: +class FormDataOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -917,7 +917,7 @@ def anonymous_model( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FormDataHttpPartsOperations: +class FormDataHttpPartsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1019,7 +1019,7 @@ def json_array_and_file_array( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FormDataFileOperations: +class FormDataFileOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1276,7 +1276,7 @@ def upload_file_array( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FormDataHttpPartsContentTypeOperations: +class FormDataHttpPartsContentTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1540,7 +1540,7 @@ def optional_content_type( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FormDataHttpPartsNonStringOperations: +class FormDataHttpPartsNonStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/models/_models.py index 6e16a3aa49df..f126222ae3a2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/models/_models.py @@ -19,6 +19,10 @@ class Pet(_Model): :vartype id: str :ivar name: Required. :vartype name: str + :keyword id: Required. + :paramtype id: str + :keyword name: Required. + :paramtype name: str """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -52,6 +56,10 @@ class XmlPet(_Model): :vartype id: str :ivar name: Required. :vartype name: str + :keyword id: Required. + :paramtype id: str + :keyword name: Required. + :paramtype name: str """ id: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py index 0b6f53780aff..94ab342b5ec3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py @@ -35,7 +35,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PageSizeOperations: +class PageSizeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/operations/_operations.py index db1471950602..84171ee3a923 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/pagesize/operations/_operations.py @@ -70,7 +70,7 @@ def build_page_size_list_with_page_size_request( # pylint: disable=name-too-lon return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class PageSizeOperations: +class PageSizeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py index 54dbc2edf573..82e882a343ed 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ServerDrivenPaginationOperations: +class ServerDrivenPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py index 8113015dfc58..485e42af23a0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py index d8b5b518a063..0dd70b0a88f5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py @@ -17,6 +17,8 @@ class Filter(_Model): :ivar filter: Required. :vartype filter: str + :keyword filter: Required. + :paramtype filter: str """ filter: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py index 650890ca7ed9..e206e4871db7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py @@ -57,7 +57,7 @@ def build_server_driven_pagination_alternate_initial_verb_post_request( # pylin return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py index 825cb1711533..4dbc838acab3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py @@ -39,7 +39,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py index a46bbac8f955..f152cd341417 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py @@ -20,6 +20,8 @@ class RequestHeaderNestedResponseBodyResponseNestedItems(_Model): # pylint: dis :ivar pets: Required. :vartype pets: list[~payload.pageable.models.Pet] + :keyword pets: Required. + :paramtype pets: list[~payload.pageable.models.Pet] """ pets: list["_models3.Pet"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -48,6 +50,8 @@ class RequestHeaderNestedResponseBodyResponseNestedNext(_Model): # pylint: disa :ivar next_token: :vartype next_token: str + :keyword next_token: + :paramtype next_token: str """ next_token: Optional[str] = rest_field(name="nextToken", visibility=["read", "create", "update", "delete", "query"]) @@ -75,6 +79,8 @@ class RequestQueryNestedResponseBodyResponseNestedItems(_Model): # pylint: disa :ivar pets: Required. :vartype pets: list[~payload.pageable.models.Pet] + :keyword pets: Required. + :paramtype pets: list[~payload.pageable.models.Pet] """ pets: list["_models3.Pet"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -103,6 +109,8 @@ class RequestQueryNestedResponseBodyResponseNestedNext(_Model): # pylint: disab :ivar next_token: :vartype next_token: str + :keyword next_token: + :paramtype next_token: str """ next_token: Optional[str] = rest_field(name="nextToken", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py index 4dc09d9ece89..07d8be434da4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py @@ -186,7 +186,7 @@ def build_server_driven_pagination_continuation_token_request_header_nested_resp return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py index 7e6db600655a..68bb866d659e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py @@ -20,6 +20,8 @@ class NestedLinkResponseNestedItems(_Model): :ivar pets: Required. :vartype pets: list[~payload.pageable.models.Pet] + :keyword pets: Required. + :paramtype pets: list[~payload.pageable.models.Pet] """ pets: list["_models2.Pet"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -48,6 +50,8 @@ class NestedLinkResponseNestedNext(_Model): :ivar next: :vartype next: str + :keyword next: + :paramtype next: str """ next: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py index 2a626166b776..9f1f5dc7188e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py @@ -79,7 +79,7 @@ def build_server_driven_pagination_nested_link_request(**kwargs: Any) -> HttpReq return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class ServerDrivenPaginationOperations: +class ServerDrivenPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py index 5c94b4e944ae..059be9c85596 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class XmlPaginationOperations: +class XmlPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py index f8c0ebb955dc..a309613350aa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py @@ -71,7 +71,7 @@ def build_xml_pagination_list_with_next_link_request(**kwargs: Any) -> HttpReque return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class XmlPaginationOperations: +class XmlPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/model_base.py index cb953c39c6d9..88aaf1823543 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/aio/operations/_operations.py index bdd8ad4a6592..9208c6498098 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/aio/operations/_operations.py @@ -87,7 +87,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class SimpleModelValueOperations: +class SimpleModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -216,7 +216,7 @@ async def put(self, input: _models.SimpleModel, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedPropertyValueOperations: +class ModelWithRenamedPropertyValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -346,7 +346,7 @@ async def put(self, input: _models.ModelWithRenamedProperty, **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedFieldsValueOperations: +class ModelWithRenamedFieldsValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -475,7 +475,7 @@ async def put(self, input: _models.ModelWithRenamedFields, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNestedModelValueOperations: +class ModelWithNestedModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -604,7 +604,7 @@ async def put(self, input: _models.ModelWithNestedModel, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedNestedModelValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedNestedModelValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -734,7 +734,7 @@ async def put(self, input: _models.ModelWithRenamedNestedModel, **kwargs: Any) - return cls(pipeline_response, None, {}) # type: ignore -class ModelWithSimpleArraysValueOperations: +class ModelWithSimpleArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -863,7 +863,7 @@ async def put(self, input: _models.ModelWithSimpleArrays, **kwargs: Any) -> None return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedArrayValueOperations: +class ModelWithUnwrappedArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -992,7 +992,7 @@ async def put(self, input: _models.ModelWithUnwrappedArray, **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedArraysValueOperations: +class ModelWithRenamedArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1121,7 +1121,7 @@ async def put(self, input: _models.ModelWithRenamedArrays, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=name-too-long +class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1251,7 +1251,7 @@ async def put(self, input: _models.ModelWithWrappedPrimitiveCustomItemNames, **k return cls(pipeline_response, None, {}) # type: ignore -class ModelWithArrayOfModelValueOperations: +class ModelWithArrayOfModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1380,7 +1380,7 @@ async def put(self, input: _models.ModelWithArrayOfModel, **kwargs: Any) -> None return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1510,7 +1510,7 @@ async def put(self, input: _models.ModelWithUnwrappedModelArray, **kwargs: Any) return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1640,7 +1640,7 @@ async def put(self, input: _models.ModelWithRenamedWrappedModelArray, **kwargs: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1770,7 +1770,7 @@ async def put(self, input: _models.ModelWithRenamedUnwrappedModelArray, **kwargs return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1900,7 +1900,7 @@ async def put(self, input: _models.ModelWithRenamedWrappedAndItemModelArray, **k return cls(pipeline_response, None, {}) # type: ignore -class ModelWithAttributesValueOperations: +class ModelWithAttributesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2029,7 +2029,7 @@ async def put(self, input: _models.ModelWithAttributes, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedAttributeValueOperations: +class ModelWithRenamedAttributeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2159,7 +2159,7 @@ async def put(self, input: _models.ModelWithRenamedAttribute, **kwargs: Any) -> return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceValueOperations: +class ModelWithNamespaceValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2288,7 +2288,7 @@ async def put(self, input: _models.ModelWithNamespace, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=name-too-long +class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2418,7 +2418,7 @@ async def put(self, input: _models.ModelWithNamespaceOnProperties, **kwargs: Any return cls(pipeline_response, None, {}) # type: ignore -class ModelWithTextValueOperations: +class ModelWithTextValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2547,7 +2547,7 @@ async def put(self, input: _models.ModelWithText, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithOptionalFieldValueOperations: +class ModelWithOptionalFieldValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2676,7 +2676,7 @@ async def put(self, input: _models.ModelWithOptionalField, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEmptyArrayValueOperations: +class ModelWithEmptyArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2805,7 +2805,7 @@ async def put(self, input: _models.ModelWithEmptyArray, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDictionaryValueOperations: +class ModelWithDictionaryValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2934,7 +2934,7 @@ async def put(self, input: _models.ModelWithDictionary, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEncodedNamesValueOperations: +class ModelWithEncodedNamesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3063,7 +3063,7 @@ async def put(self, input: _models.ModelWithEncodedNames, **kwargs: Any) -> None return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEnumValueOperations: +class ModelWithEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3192,7 +3192,7 @@ async def put(self, input: _models.ModelWithEnum, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDatetimeValueOperations: +class ModelWithDatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3321,7 +3321,7 @@ async def put(self, input: _models.ModelWithDatetime, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class XmlErrorValueOperations: +class XmlErrorValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/models/_models.py index 309420a63a06..a82f8ab1c74a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/models/_models.py @@ -33,6 +33,8 @@ class Author(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field( @@ -67,6 +69,8 @@ class Book(_Model): :ivar title: Required. :vartype title: str + :keyword title: Required. + :paramtype title: str """ title: str = rest_field( @@ -101,6 +105,8 @@ class ModelWithArrayOfModel(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -140,6 +146,12 @@ class ModelWithAttributes(_Model): :vartype id2: str :ivar enabled: Required. :vartype enabled: bool + :keyword id1: Required. + :paramtype id1: int + :keyword id2: Required. + :paramtype id2: str + :keyword enabled: Required. + :paramtype enabled: bool """ id1: int = rest_field( @@ -190,6 +202,10 @@ class ModelWithDatetime(_Model): :vartype rfc3339: ~datetime.datetime :ivar rfc7231: DateTime value with rfc7231 encoding. Required. :vartype rfc7231: ~datetime.datetime + :keyword rfc3339: DateTime value with rfc3339 encoding. Required. + :paramtype rfc3339: ~datetime.datetime + :keyword rfc7231: DateTime value with rfc7231 encoding. Required. + :paramtype rfc7231: ~datetime.datetime """ rfc3339: datetime.datetime = rest_field( @@ -233,6 +249,8 @@ class ModelWithDictionary(_Model): :ivar metadata: Required. :vartype metadata: dict[str, str] + :keyword metadata: Required. + :paramtype metadata: dict[str, str] """ metadata: dict[str, str] = rest_field( @@ -266,6 +284,8 @@ class ModelWithEmptyArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -303,6 +323,10 @@ class ModelWithEncodedNames(_Model): :vartype model_data: ~payload.xml.models.SimpleModel :ivar colors: Required. :vartype colors: list[str] + :keyword model_data: Required. + :paramtype model_data: ~payload.xml.models.SimpleModel + :keyword colors: Required. + :paramtype colors: list[str] """ model_data: "_models.SimpleModel" = rest_field( @@ -343,6 +367,8 @@ class ModelWithEnum(_Model): :ivar status: Required. Known values are: "pending", "success", and "error". :vartype status: str or ~payload.xml.models.Status + :keyword status: Required. Known values are: "pending", "success", and "error". + :paramtype status: str or ~payload.xml.models.Status """ status: Union[str, "_models.Status"] = rest_field( @@ -379,6 +405,10 @@ class ModelWithNamespace(_Model): :vartype id: int :ivar title: Required. :vartype title: str + :keyword id: Required. + :paramtype id: int + :keyword title: Required. + :paramtype title: str """ id: int = rest_field( @@ -431,6 +461,12 @@ class ModelWithNamespaceOnProperties(_Model): :vartype title: str :ivar author: Required. :vartype author: str + :keyword id: Required. + :paramtype id: int + :keyword title: Required. + :paramtype title: str + :keyword author: Required. + :paramtype author: str """ id: int = rest_field( @@ -500,6 +536,8 @@ class ModelWithNestedModel(_Model): :ivar nested: Required. :vartype nested: ~payload.xml.models.SimpleModel + :keyword nested: Required. + :paramtype nested: ~payload.xml.models.SimpleModel """ nested: "_models.SimpleModel" = rest_field( @@ -535,6 +573,10 @@ class ModelWithOptionalField(_Model): :vartype item: str :ivar value: :vartype value: int + :keyword item: Required. + :paramtype item: str + :keyword value: + :paramtype value: int """ item: str = rest_field( @@ -578,6 +620,10 @@ class ModelWithRenamedArrays(_Model): :vartype colors: list[str] :ivar counts: Required. :vartype counts: list[int] + :keyword colors: Required. + :paramtype colors: list[str] + :keyword counts: Required. + :paramtype counts: list[int] """ colors: list[str] = rest_field( @@ -621,6 +667,12 @@ class ModelWithRenamedAttribute(_Model): :vartype title: str :ivar author: Required. :vartype author: str + :keyword id: Required. + :paramtype id: int + :keyword title: Required. + :paramtype title: str + :keyword author: Required. + :paramtype author: str """ id: int = rest_field( @@ -671,6 +723,10 @@ class ModelWithRenamedFields(_Model): :vartype input_data: ~payload.xml.models.SimpleModel :ivar output_data: Required. :vartype output_data: ~payload.xml.models.SimpleModel + :keyword input_data: Required. + :paramtype input_data: ~payload.xml.models.SimpleModel + :keyword output_data: Required. + :paramtype output_data: ~payload.xml.models.SimpleModel """ input_data: "_models.SimpleModel" = rest_field( @@ -712,6 +768,8 @@ class ModelWithRenamedNestedModel(_Model): :ivar author: Required. :vartype author: ~payload.xml.models.Author + :keyword author: Required. + :paramtype author: ~payload.xml.models.Author """ author: "_models.Author" = rest_field( @@ -747,6 +805,10 @@ class ModelWithRenamedProperty(_Model): :vartype title: str :ivar author: Required. :vartype author: str + :keyword title: Required. + :paramtype title: str + :keyword author: Required. + :paramtype author: str """ title: str = rest_field( @@ -788,6 +850,8 @@ class ModelWithRenamedUnwrappedModelArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -823,6 +887,8 @@ class ModelWithRenamedWrappedAndItemModelArray(_Model): :ivar books: Required. :vartype books: ~payload.xml.models.Book + :keyword books: Required. + :paramtype books: ~payload.xml.models.Book """ books: list["_models.Book"] = rest_field( @@ -856,6 +922,8 @@ class ModelWithRenamedWrappedModelArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -893,6 +961,10 @@ class ModelWithSimpleArrays(_Model): :vartype colors: list[str] :ivar counts: Required. :vartype counts: list[int] + :keyword colors: Required. + :paramtype colors: list[str] + :keyword counts: Required. + :paramtype counts: list[int] """ colors: list[str] = rest_field( @@ -934,6 +1006,10 @@ class ModelWithText(_Model): :vartype language: str :ivar content: Required. :vartype content: str + :keyword language: Required. + :paramtype language: str + :keyword content: Required. + :paramtype content: str """ language: str = rest_field( @@ -977,6 +1053,10 @@ class ModelWithUnwrappedArray(_Model): :vartype colors: list[str] :ivar counts: Required. :vartype counts: list[int] + :keyword colors: Required. + :paramtype colors: list[str] + :keyword counts: Required. + :paramtype counts: list[int] """ colors: list[str] = rest_field( @@ -1016,6 +1096,8 @@ class ModelWithUnwrappedModelArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -1051,6 +1133,8 @@ class ModelWithWrappedPrimitiveCustomItemNames(_Model): :ivar tags: Required. :vartype tags: list[str] + :keyword tags: Required. + :paramtype tags: list[str] """ tags: list[str] = rest_field( @@ -1086,6 +1170,10 @@ class SimpleModel(_Model): :vartype name: str :ivar age: Required. :vartype age: int + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int """ name: str = rest_field( @@ -1129,6 +1217,10 @@ class XmlErrorBody(_Model): :vartype message: str :ivar code: Required. :vartype code: int + :keyword message: Required. + :paramtype message: str + :keyword code: Required. + :paramtype code: int """ message: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/operations/_operations.py index 723c5df59bd2..02c530e01ef5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/payload-xml/payload/xml/operations/_operations.py @@ -754,7 +754,7 @@ def build_xml_error_value_get_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class SimpleModelValueOperations: +class SimpleModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -883,7 +883,7 @@ def put(self, input: _models.SimpleModel, **kwargs: Any) -> None: # pylint: dis return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedPropertyValueOperations: +class ModelWithRenamedPropertyValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1015,7 +1015,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedFieldsValueOperations: +class ModelWithRenamedFieldsValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1146,7 +1146,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNestedModelValueOperations: +class ModelWithNestedModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1277,7 +1277,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedNestedModelValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedNestedModelValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1409,7 +1409,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithSimpleArraysValueOperations: +class ModelWithSimpleArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1540,7 +1540,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedArrayValueOperations: +class ModelWithUnwrappedArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1671,7 +1671,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedArraysValueOperations: +class ModelWithRenamedArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1802,7 +1802,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=name-too-long +class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1934,7 +1934,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithArrayOfModelValueOperations: +class ModelWithArrayOfModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2065,7 +2065,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2197,7 +2197,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2329,7 +2329,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2461,7 +2461,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2593,7 +2593,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithAttributesValueOperations: +class ModelWithAttributesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2724,7 +2724,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedAttributeValueOperations: +class ModelWithRenamedAttributeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2856,7 +2856,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceValueOperations: +class ModelWithNamespaceValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2987,7 +2987,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=name-too-long +class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -3119,7 +3119,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithTextValueOperations: +class ModelWithTextValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3250,7 +3250,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithOptionalFieldValueOperations: +class ModelWithOptionalFieldValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3381,7 +3381,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEmptyArrayValueOperations: +class ModelWithEmptyArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3512,7 +3512,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDictionaryValueOperations: +class ModelWithDictionaryValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3643,7 +3643,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEncodedNamesValueOperations: +class ModelWithEncodedNamesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3774,7 +3774,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEnumValueOperations: +class ModelWithEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3905,7 +3905,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDatetimeValueOperations: +class ModelWithDatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4036,7 +4036,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class XmlErrorValueOperations: +class XmlErrorValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_client.py index 7f88989c62c8..d831007d8f38 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class ResiliencyServiceDrivenClient(_ResiliencyServiceDrivenClientOperationsMixin): +class ResiliencyServiceDrivenClient( + _ResiliencyServiceDrivenClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """Test that we can grow up a service spec and service deployment into a multi-versioned service with full client support. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py index 59010490fa00..6ba1f16afda8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long +class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long,docstring-keyword-should-match-keyword-only """Configuration for ResiliencyServiceDrivenClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py index 1a77f8e802af..a562e592b264 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class ResiliencyServiceDrivenClient(_ResiliencyServiceDrivenClientOperationsMixin): +class ResiliencyServiceDrivenClient( + _ResiliencyServiceDrivenClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """Test that we can grow up a service spec and service deployment into a multi-versioned service with full client support. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py index 1e69e045a80b..872496dfd752 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long +class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long,docstring-keyword-should-match-keyword-only """Configuration for ResiliencyServiceDrivenClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_client.py index dc593131bc26..95ecc118f77a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class ResiliencyServiceDrivenClient(_ResiliencyServiceDrivenClientOperationsMixin): +class ResiliencyServiceDrivenClient( + _ResiliencyServiceDrivenClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """Test that we can grow up a service spec and service deployment into a multi-versioned service with full client support. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py index a9d2e865f097..a28bf1781f54 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long +class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long,docstring-keyword-should-match-keyword-only """Configuration for ResiliencyServiceDrivenClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py index 556d61f5a20b..47ca951bd9c0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class ResiliencyServiceDrivenClient(_ResiliencyServiceDrivenClientOperationsMixin): +class ResiliencyServiceDrivenClient( + _ResiliencyServiceDrivenClientOperationsMixin +): # pylint: disable=docstring-keyword-should-match-keyword-only """Test that we can grow up a service spec and service deployment into a multi-versioned service with full client support. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py index d720b36fd2c1..79e2d62c0c5a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long +class ResiliencyServiceDrivenClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long,docstring-keyword-should-match-keyword-only """Configuration for ResiliencyServiceDrivenClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/models/_models.py index 74ca64d80576..320802a7bc4c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/response-status-code-range/response/statuscoderange/models/_models.py @@ -17,6 +17,8 @@ class DefaultError(_Model): :ivar code: Required. :vartype code: str + :keyword code: Required. + :paramtype code: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -47,6 +49,10 @@ class ErrorInRange(_Model): :vartype code: str :ivar message: Required. :vartype message: str + :keyword code: Required. + :paramtype code: str + :keyword message: Required. + :paramtype message: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -80,6 +86,10 @@ class NotFoundError(_Model): :vartype code: str :ivar resource_id: Required. :vartype resource_id: str + :keyword code: Required. + :paramtype code: str + :keyword resource_id: Required. + :paramtype resource_id: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -111,6 +121,8 @@ class Standard4XXError(_Model): :ivar code: Required. :vartype code: str + :keyword code: Required. + :paramtype code: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/aio/operations/_operations.py index ed2db3405f46..3796e565f842 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/aio/operations/_operations.py @@ -31,7 +31,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class InInterfaceOperations: +class InInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/models/_models.py index 4fc20fe9d662..2ed213d4722a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/models/_models.py @@ -19,6 +19,10 @@ class ExpandParameters(_Model): :vartype field: str :ivar value: Required. :vartype value: str + :keyword field: Required. + :paramtype field: str + :keyword value: Required. + :paramtype value: str """ field: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/operations/_operations.py index 17b66e516564..003e5754faf4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/operations/_operations.py @@ -46,7 +46,7 @@ def build_routes_fixed_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class InInterfaceOperations: +class InInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/aio/operations/_operations.py index d1e05d046b40..4de59d802e34 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersOperations: +class PathParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py index 6811b57dedec..349073f360fd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py @@ -13,7 +13,7 @@ from ...standard.aio.operations._operations import PathParametersLabelExpansionStandardOperations -class PathParametersLabelExpansionOperations: +class PathParametersLabelExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py index 15c0bcc4358a..0c2c2f61623c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersLabelExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py index b0e1fe60f771..ae44a26366bb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_label_expansion_explode_record_request( # pylint: dis return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersLabelExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/operations/_operations.py index d0e30e1f8b38..438e3738c3a3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/operations/_operations.py @@ -13,7 +13,7 @@ from ..standard.operations._operations import PathParametersLabelExpansionStandardOperations -class PathParametersLabelExpansionOperations: +class PathParametersLabelExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py index 2eb70b605cbe..7667de808c62 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersLabelExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py index 84424ba70e76..7888282fb2c0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_label_expansion_standard_record_request( # pylint: di return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersLabelExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py index f5ffc5e9498f..f46a3c319856 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py @@ -13,7 +13,7 @@ from ...standard.aio.operations._operations import PathParametersMatrixExpansionStandardOperations -class PathParametersMatrixExpansionOperations: +class PathParametersMatrixExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py index 8b31afc861b5..b3d0c5ca76ee 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py index 2aa3509956d4..065df934429e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_matrix_expansion_explode_record_request( # pylint: di return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/operations/_operations.py index 698ff3072204..8106fc8434e0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/operations/_operations.py @@ -13,7 +13,7 @@ from ..standard.operations._operations import PathParametersMatrixExpansionStandardOperations -class PathParametersMatrixExpansionOperations: +class PathParametersMatrixExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py index d3bee0ba5699..b176c79e1004 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersMatrixExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py index 5534de1d7a7a..6c065b9ba442 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_matrix_expansion_standard_record_request( # pylint: d return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersMatrixExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/operations/_operations.py index 0402ba18556d..221962c1b8c3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/operations/_operations.py @@ -76,7 +76,7 @@ def build_path_parameters_annotation_only_request( # pylint: disable=name-too-l return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersOperations: +class PathParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py index 6ff52ca99ce3..6fff5963d5d9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py @@ -13,7 +13,7 @@ from ...standard.aio.operations._operations import PathParametersPathExpansionStandardOperations -class PathParametersPathExpansionOperations: +class PathParametersPathExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py index 05faba63252d..adad005cf2a4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersPathExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py index 34c0ee73bce3..adda050776ac 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_path_expansion_explode_record_request( # pylint: disa return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersPathExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/operations/_operations.py index 8981e2ed3675..fe049b74f926 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/operations/_operations.py @@ -13,7 +13,7 @@ from ..standard.operations._operations import PathParametersPathExpansionStandardOperations -class PathParametersPathExpansionOperations: +class PathParametersPathExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py index e9e53c86d676..bcd9d0082175 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersPathExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py index 7b142e35b133..0c1e8a9440cf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_path_expansion_standard_record_request( # pylint: dis return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersPathExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py index d649bf830837..a135ddbabdac 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py @@ -32,7 +32,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersReservedExpansionOperations: # pylint: disable=name-too-long +class PathParametersReservedExpansionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/operations/_operations.py index a57b813df790..1bea213220d4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/reservedexpansion/operations/_operations.py @@ -59,7 +59,7 @@ def build_path_parameters_reserved_expansion_annotation_request( # pylint: disa return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersReservedExpansionOperations: # pylint: disable=name-too-long +class PathParametersReservedExpansionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py index fbd5793bed9d..96b7f96e40af 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py @@ -13,7 +13,7 @@ from ...standard.aio.operations._operations import PathParametersSimpleExpansionStandardOperations -class PathParametersSimpleExpansionOperations: +class PathParametersSimpleExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py index 72d1c6ed325c..45a630913b64 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py index aa70d37e50c7..6f2e7fc1fcc2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_simple_expansion_explode_record_request( # pylint: di return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/operations/_operations.py index 5d4faa3e29d0..2f371f80b5f9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/operations/_operations.py @@ -13,7 +13,7 @@ from ..standard.operations._operations import PathParametersSimpleExpansionStandardOperations -class PathParametersSimpleExpansionOperations: +class PathParametersSimpleExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py index e6ce49c8a4e8..dcca979e5f2f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersSimpleExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py index 7c8bca2209fe..2cbd11a0840d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py @@ -73,7 +73,7 @@ def build_path_parameters_simple_expansion_standard_record_request( # pylint: d return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersSimpleExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/aio/operations/_operations.py index 97543fbdde20..f9d9268ae52c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/aio/operations/_operations.py @@ -35,7 +35,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersOperations: +class QueryParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/operations/_operations.py index 55764eff1335..467bf6adaa62 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/operations/_operations.py @@ -74,7 +74,7 @@ def build_query_parameters_annotation_only_request( # pylint: disable=name-too- return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersOperations: +class QueryParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py index 7f8c24efccbc..cf2f010568d2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py @@ -13,7 +13,7 @@ from ...standard.aio.operations._operations import QueryParametersQueryContinuationStandardOperations -class QueryParametersQueryContinuationOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py index cce66a98dfde..5757447c3da6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py index 40dc79b18a6b..e8cdcd9f82cb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py @@ -74,7 +74,7 @@ def build_query_parameters_query_continuation_explode_record_request( # pylint: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/operations/_operations.py index 54825f89fb19..f3e624d1deb1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/operations/_operations.py @@ -13,7 +13,7 @@ from ..standard.operations._operations import QueryParametersQueryContinuationStandardOperations -class QueryParametersQueryContinuationOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py index 75da18e02e85..aa94720d1600 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryContinuationStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py index 9ab8c279200e..20dc595511a6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py @@ -74,7 +74,7 @@ def build_query_parameters_query_continuation_standard_record_request( # pylint return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryContinuationStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py index db7fc2c3f9f4..115ff79b86c7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py @@ -13,7 +13,7 @@ from ...standard.aio.operations._operations import QueryParametersQueryExpansionStandardOperations -class QueryParametersQueryExpansionOperations: +class QueryParametersQueryExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py index b6e4437cbf5c..1d307b822e0e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py @@ -35,7 +35,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py index fe4f33cf75b0..b2af6984fc32 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py @@ -89,7 +89,7 @@ def build_query_parameters_query_expansion_explode_model_request( # pylint: dis return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/operations/_operations.py index 72047e87d6d9..215ec65bf39a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/operations/_operations.py @@ -13,7 +13,7 @@ from ..standard.operations._operations import QueryParametersQueryExpansionStandardOperations -class QueryParametersQueryExpansionOperations: +class QueryParametersQueryExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py index 5f5beb8f1b95..91739519c6f3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryExpansionStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py index 5cad0fee2b0b..8f24646cc124 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py @@ -74,7 +74,7 @@ def build_query_parameters_query_expansion_standard_record_request( # pylint: d return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryExpansionStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py index df51f14cc04e..a80ff8198077 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py index 0cab838a6287..1557e4606589 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py @@ -17,6 +17,8 @@ class JsonEncodedNameModel(_Model): :ivar default_name: Pass in true. Required. :vartype default_name: bool + :keyword default_name: Pass in true. Required. + :paramtype default_name: bool """ default_name: bool = rest_field(name="wireName", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py index 2550363c9fb1..2e16fa61d82d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py @@ -66,7 +66,7 @@ def build_property_get_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_client.py index ec244d5f8552..45f80e430ed6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class MultipleClient(_MultipleClientOperationsMixin): +class MultipleClient(_MultipleClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """MultipleClient. :param endpoint: Pass in `http://localhost:3000 `_ for endpoint. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_configuration.py index 205aab0bdc9b..95c58c90d67a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class MultipleClientConfiguration: # pylint: disable=too-many-instance-attributes +class MultipleClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for MultipleClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_client.py index 0e00b3e43be5..62474b8f5e28 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class MultipleClient(_MultipleClientOperationsMixin): +class MultipleClient(_MultipleClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """MultipleClient. :param endpoint: Pass in `http://localhost:3000 `_ for endpoint. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_configuration.py index b0971016d292..16e05b769014 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-multiple/server/path/multiple/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class MultipleClientConfiguration: # pylint: disable=too-many-instance-attributes +class MultipleClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for MultipleClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-path-single/server/path/single/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_client.py index 0b516346587e..faf64dd60eca 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class VersionedClient(_VersionedClientOperationsMixin): +class VersionedClient(_VersionedClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates versioned server. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_configuration.py index 316975a7e29c..73fd3f15d934 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class VersionedClientConfiguration: # pylint: disable=too-many-instance-attributes +class VersionedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for VersionedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_client.py index b0af349ce182..dd30d701d5d7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_client.py @@ -24,7 +24,7 @@ from typing_extensions import Self # type: ignore -class VersionedClient(_VersionedClientOperationsMixin): +class VersionedClient(_VersionedClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates versioned server. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_configuration.py index d310afa70127..18d68b1711aa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/server-versions-versioned/server/versions/versioned/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class VersionedClientConfiguration: # pylint: disable=too-many-instance-attributes +class VersionedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for VersionedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/aio/operations/_operations.py index 6ea02b70afe6..90346533a945 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/aio/operations/_operations.py @@ -30,7 +30,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FooOperations: +class FooOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -94,7 +94,7 @@ async def test(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BarOperations: +class BarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/operations/_operations.py index bc6bb66a65aa..02208830ca17 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multi-service/service/multiservice/operations/_operations.py @@ -58,7 +58,7 @@ def build_bar_test_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class FooOperations: +class FooOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -122,7 +122,7 @@ def test(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-st return cls(pipeline_response, None, {}) # type: ignore -class BarOperations: +class BarOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_client.py index 6948e5d94f6f..b948415e646a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_client.py @@ -25,7 +25,7 @@ from typing_extensions import Self # type: ignore -class ServiceAClient: +class ServiceAClient: # pylint: disable=docstring-keyword-should-match-keyword-only """First service definition in a multiple-services package with versioning. Without explicit ``@client``, this should create a separate root client (``ServiceAClient``). diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_configuration.py index 35aa22578f5e..72f336487c9e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class ServiceAClientConfiguration: # pylint: disable=too-many-instance-attributes +class ServiceAClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ServiceAClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_client.py index b69b398f2958..1f130bc32f9c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_client.py @@ -25,7 +25,7 @@ from typing_extensions import Self # type: ignore -class ServiceAClient: +class ServiceAClient: # pylint: disable=docstring-keyword-should-match-keyword-only """First service definition in a multiple-services package with versioning. Without explicit ``@client``, this should create a separate root client (``ServiceAClient``). diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_configuration.py index 5a6b43ee1944..f04bc29ddd7a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class ServiceAClientConfiguration: # pylint: disable=too-many-instance-attributes +class ServiceAClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ServiceAClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/operations/_operations.py index 3c96ceea7aa6..1c54ca5f604b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/operations/_operations.py index 22d37c9492e1..f2db51b2f92f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/operations/_operations.py @@ -45,7 +45,7 @@ def build_operations_op_a_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/aio/operations/_operations.py index 208565965e0d..eab38a14e391 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class SubNamespaceOperations: +class SubNamespaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/operations/_operations.py index 55441cf0ced3..b1c33f15bd5a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/servicea/subnamespace/operations/_operations.py @@ -45,7 +45,7 @@ def build_sub_namespace_sub_op_a_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class SubNamespaceOperations: +class SubNamespaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_client.py index 4ea934236f8b..98398bc43860 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_client.py @@ -25,7 +25,7 @@ from typing_extensions import Self # type: ignore -class ServiceBClient: +class ServiceBClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Second service definition in a multiple-services package with versioning. Without explicit ``@client``, this should create a separate root client (``ServiceBClient``). diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_configuration.py index dfecfc2062a6..e3e79e55144b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ..servicea._version import VERSION -class ServiceBClientConfiguration: # pylint: disable=too-many-instance-attributes +class ServiceBClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ServiceBClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_client.py index 50ec018ec8ee..2098aa8aaa53 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_client.py @@ -25,7 +25,7 @@ from typing_extensions import Self # type: ignore -class ServiceBClient: +class ServiceBClient: # pylint: disable=docstring-keyword-should-match-keyword-only """Second service definition in a multiple-services package with versioning. Without explicit ``@client``, this should create a separate root client (``ServiceBClient``). diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_configuration.py index 8843508302fe..16a37a0cf2ff 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ...servicea._version import VERSION -class ServiceBClientConfiguration: # pylint: disable=too-many-instance-attributes +class ServiceBClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ServiceBClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/operations/_operations.py index 08ca9c18cb95..52ccf25d2a65 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/operations/_operations.py index 00dbd650e682..921f4e406955 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/operations/_operations.py @@ -45,7 +45,7 @@ def build_operations_op_b_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/aio/operations/_operations.py index 3f865aab8bfe..07a5d74aca2b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class SubNamespaceOperations: +class SubNamespaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/operations/_operations.py index 2c2a5acfedf4..c4aca6bca0f4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/service-multiple-services/service/multipleservices/serviceb/subnamespace/operations/_operations.py @@ -45,7 +45,7 @@ def build_sub_namespace_sub_op_b_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class SubNamespaceOperations: +class SubNamespaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/model_base.py index cb953c39c6d9..88aaf1823543 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/aio/operations/_operations.py index 74a699b45419..500f493d8604 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/aio/operations/_operations.py @@ -145,7 +145,7 @@ _Unset: Any = object() -class ModelsOperations: # pylint: disable=too-many-public-methods +class ModelsOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -3480,7 +3480,7 @@ async def with_yield(self, body: Union[_models.YieldModel, _types.YieldModel, IO return cls(pipeline_response, None, {}) # type: ignore -class ModelPropertiesOperations: +class ModelPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3811,7 +3811,7 @@ async def with_list( return cls(pipeline_response, None, {}) # type: ignore -class ReservedOperationBodyParamsOperations: +class ReservedOperationBodyParamsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3942,7 +3942,7 @@ async def with_items( return cls(pipeline_response, None, {}) # type: ignore -class ExtensibleStringsOperations: +class ExtensibleStringsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4032,7 +4032,7 @@ async def put_extensible_string_value( return deserialized # type: ignore -class Operations: # pylint: disable=too-many-public-methods +class Operations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -5502,7 +5502,7 @@ async def yield_method(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ParametersOperations: # pylint: disable=too-many-public-methods +class ParametersOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/models/_models.py index 1bee5ab4a524..34b998bd5de9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/models/_models.py @@ -20,6 +20,8 @@ class AndModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -48,6 +50,8 @@ class AsModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -76,6 +80,8 @@ class AssertModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -104,6 +110,8 @@ class AsyncModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -132,6 +140,8 @@ class AwaitModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -160,6 +170,8 @@ class BreakModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -188,6 +200,8 @@ class ClassModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -216,6 +230,8 @@ class Constructor(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -244,6 +260,8 @@ class ContinueModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -272,6 +290,8 @@ class DefModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -300,6 +320,8 @@ class DelModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -346,6 +368,26 @@ class DictMethods(_Model): :vartype get_property: str :ivar copy_property: Required. :vartype copy_property: str + :keyword keys_property: Required. + :paramtype keys_property: str + :keyword items_property: Required. + :paramtype items_property: str + :keyword values_property: Required. + :paramtype values_property: str + :keyword popitem_property: Required. + :paramtype popitem_property: str + :keyword clear_property: Required. + :paramtype clear_property: str + :keyword update_property: Required. + :paramtype update_property: str + :keyword setdefault_property: Required. + :paramtype setdefault_property: str + :keyword pop_property: Required. + :paramtype pop_property: str + :keyword get_property: Required. + :paramtype get_property: str + :keyword copy_property: Required. + :paramtype copy_property: str """ keys_property: str = rest_field( @@ -421,6 +463,8 @@ class ElifModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -449,6 +493,8 @@ class ElseModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -477,6 +523,8 @@ class ExceptModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -505,6 +553,8 @@ class ExecModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -533,6 +583,8 @@ class FinallyModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -561,6 +613,8 @@ class ForModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -589,6 +643,8 @@ class FromModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -617,6 +673,8 @@ class GlobalModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -645,6 +703,8 @@ class IfModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -673,6 +733,8 @@ class ImportModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -701,6 +763,8 @@ class InModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -729,6 +793,8 @@ class IsModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -757,6 +823,8 @@ class LambdaModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -785,6 +853,8 @@ class ModelWithList(_Model): :ivar list: Required. :vartype list: str + :keyword list: Required. + :paramtype list: str """ list: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -813,6 +883,8 @@ class NotModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -841,6 +913,8 @@ class OrModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -869,6 +943,8 @@ class PassModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -897,6 +973,8 @@ class RaiseModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -925,6 +1003,8 @@ class ReturnModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -953,6 +1033,8 @@ class SameAsModel(_Model): :ivar same_as_model: Required. :vartype same_as_model: str + :keyword same_as_model: Required. + :paramtype same_as_model: str """ same_as_model: str = rest_field(name="SameAsModel", visibility=["read", "create", "update", "delete", "query"]) @@ -981,6 +1063,8 @@ class TryModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1009,6 +1093,8 @@ class WhileModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1037,6 +1123,8 @@ class WithModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1065,6 +1153,8 @@ class YieldModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/operations/_operations.py index ed67a36d926a..39dfb3fb45e9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/special-words/specialwords/operations/_operations.py @@ -1222,7 +1222,7 @@ def build_parameters_with_cancellation_token_request( # pylint: disable=name-to return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class ModelsOperations: # pylint: disable=too-many-public-methods +class ModelsOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -4551,7 +4551,7 @@ def with_yield( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelPropertiesOperations: +class ModelPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4872,7 +4872,7 @@ def with_list( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ReservedOperationBodyParamsOperations: +class ReservedOperationBodyParamsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5003,7 +5003,7 @@ def with_items( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtensibleStringsOperations: +class ExtensibleStringsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5093,7 +5093,7 @@ def put_extensible_string_value( return deserialized # type: ignore -class Operations: # pylint: disable=too-many-public-methods +class Operations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -6563,7 +6563,7 @@ def yield_method(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-r return cls(pipeline_response, None, {}) # type: ignore -class ParametersOperations: # pylint: disable=too-many-public-methods +class ParametersOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/aio/operations/_operations.py index 298ea72a1919..06de14eea636 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/aio/operations/_operations.py @@ -43,7 +43,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ListsOperations: +class ListsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -287,7 +287,7 @@ async def numbered(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class TextFormattingOperations: +class TextFormattingOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/models/_models.py index cd2420ecd915..adecdf1ae6aa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/models/_models.py @@ -49,6 +49,21 @@ class BulletPointsModel(_Model): * **Bold bullet point** * *Italic bullet point*. Required. Known values are: "Simple", "Bold", and "Italic". :vartype prop: str or ~specs.documentation.models.BulletPointsEnum + :keyword prop: This property uses an enum with bullet point documentation. The enum + documentation includes various formatting styles to test rendering. The styles are: + + * Simple bullet point. This bullet point is going to be very long to test how text + wrapping is handled in bullet points within documentation comments. It should properly indent + the wrapped lines. + * Bullet point with **bold text**. This bullet point is also intentionally long to see how + the formatting is preserved when the text wraps onto multiple + * Bullet point with *italic text*. Similar to the previous points, this one is extended to + ensure that the wrapping and formatting are correctly applied in the output. + * Complex bullet point with **bold** and *italic* combined. This bullet point combines + both bold and italic formatting and is long enough to test the wrapping behavior in such cases. + * **Bold bullet point** + * *Italic bullet point*. Required. Known values are: "Simple", "Bold", and "Italic". + :paramtype prop: str or ~specs.documentation.models.BulletPointsEnum """ prop: Union[str, "_models.BulletPointsEnum"] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/operations/_operations.py index ecf961c7f15e..a0bce9422a51 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/specs-documentation/specs/documentation/operations/_operations.py @@ -87,7 +87,7 @@ def build_text_formatting_combined_formatting_request(**kwargs: Any) -> HttpRequ return HttpRequest(method="GET", url=_url, **kwargs) -class ListsOperations: +class ListsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -329,7 +329,7 @@ def numbered(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-retur return cls(pipeline_response, None, {}) # type: ignore -class TextFormattingOperations: +class TextFormattingOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py index 4cafccff9069..90bc8af94dad 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py @@ -32,7 +32,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class BasicOperations: +class BasicOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/models/_models.py index 9637388c833a..09c65b990a5e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/models/_models.py @@ -17,6 +17,8 @@ class Info(_Model): :ivar desc: Required. :vartype desc: str + :keyword desc: Required. + :paramtype desc: str """ desc: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py index d28e4834bb3f..8fae20c5436e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py @@ -62,7 +62,7 @@ def build_basic_receive_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class BasicOperations: +class BasicOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/aio/operations/_operations.py index a09c17bdb7ab..a276f0062b9f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/aio/operations/_operations.py @@ -67,7 +67,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -226,7 +226,7 @@ async def put(self, body: Union[list[int], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -385,7 +385,7 @@ async def put(self, body: Union[list[int], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -544,7 +544,7 @@ async def put(self, body: Union[list[bool], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -703,7 +703,7 @@ async def put(self, body: Union[list[str], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -862,7 +862,7 @@ async def put(self, body: Union[list[float], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1023,7 +1023,7 @@ async def put(self, body: Union[list[datetime.datetime], IO[bytes]], **kwargs: A return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1184,7 +1184,7 @@ async def put(self, body: Union[list[datetime.timedelta], IO[bytes]], **kwargs: return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1343,7 +1343,7 @@ async def put(self, body: Union[list[Any], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1523,7 +1523,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1682,7 +1682,7 @@ async def put(self, body: Union[list[float], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableInt32ValueOperations: +class NullableInt32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1841,7 +1841,7 @@ async def put(self, body: Union[list[int], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableBooleanValueOperations: +class NullableBooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2000,7 +2000,7 @@ async def put(self, body: Union[list[bool], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableStringValueOperations: +class NullableStringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2159,7 +2159,7 @@ async def put(self, body: Union[list[str], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableModelValueOperations: +class NullableModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/models/_models.py index 07fbe6b1ec22..8fd6adabc575 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/models/_models.py @@ -22,6 +22,10 @@ class InnerModel(_Model): :vartype property: str :ivar children: :vartype children: list[~typetest.array.models.InnerModel] + :keyword property: Required string property. Required. + :paramtype property: str + :keyword children: + :paramtype children: list[~typetest.array.models.InnerModel] """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/operations/_operations.py index dda72725a2a5..584cd6abfb26 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-array/typetest/array/operations/_operations.py @@ -432,7 +432,7 @@ def build_nullable_model_value_put_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -593,7 +593,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -754,7 +754,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -915,7 +915,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1076,7 +1076,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1237,7 +1237,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1398,7 +1398,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1559,7 +1559,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1720,7 +1720,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1896,7 +1896,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2057,7 +2057,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableInt32ValueOperations: +class NullableInt32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2218,7 +2218,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableBooleanValueOperations: +class NullableBooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2379,7 +2379,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableStringValueOperations: +class NullableStringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2540,7 +2540,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableModelValueOperations: +class NullableModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py index ca88cbdc18da..0a5c6498c455 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py @@ -61,7 +61,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -220,7 +220,7 @@ async def put(self, body: Union[dict[str, int], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -379,7 +379,7 @@ async def put(self, body: Union[dict[str, int], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -538,7 +538,7 @@ async def put(self, body: Union[dict[str, bool], IO[bytes]], **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -697,7 +697,7 @@ async def put(self, body: Union[dict[str, str], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -856,7 +856,7 @@ async def put(self, body: Union[dict[str, float], IO[bytes]], **kwargs: Any) -> return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1017,7 +1017,7 @@ async def put(self, body: Union[dict[str, datetime.datetime], IO[bytes]], **kwar return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1178,7 +1178,7 @@ async def put(self, body: Union[dict[str, datetime.timedelta], IO[bytes]], **kwa return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1337,7 +1337,7 @@ async def put(self, body: Union[dict[str, Any], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1517,7 +1517,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class RecursiveModelValueOperations: +class RecursiveModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1697,7 +1697,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/models/_models.py index ea0abe809b68..7c2607f27fb3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/models/_models.py @@ -22,6 +22,10 @@ class InnerModel(_Model): :vartype property: str :ivar children: :vartype children: dict[str, ~typetest.dictionary.models.InnerModel] + :keyword property: Required string property. Required. + :paramtype property: str + :keyword children: + :paramtype children: dict[str, ~typetest.dictionary.models.InnerModel] """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/operations/_operations.py index 4004369450e7..ee9c451cfc4b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-dictionary/typetest/dictionary/operations/_operations.py @@ -348,7 +348,7 @@ def build_nullable_float_value_put_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -509,7 +509,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -670,7 +670,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -831,7 +831,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -992,7 +992,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1153,7 +1153,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1314,7 +1314,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1477,7 +1477,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1638,7 +1638,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1816,7 +1816,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class RecursiveModelValueOperations: +class RecursiveModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1994,7 +1994,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py index d8759bae8148..7ffdf74d1b46 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py @@ -46,7 +46,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class EnvelopeOperations: +class EnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -66,7 +66,7 @@ def __init__(self, *args, **kwargs) -> None: self.object = EnvelopeObjectOperations(self._client, self._config, self._serialize, self._deserialize) -class NoEnvelopeOperations: +class NoEnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -89,7 +89,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class EnvelopeObjectOperations: +class EnvelopeObjectOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -112,7 +112,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class NoEnvelopeDefaultOperations: +class NoEnvelopeDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -287,7 +287,7 @@ async def put(self, input: "_unions.PetInline", **kwargs: Any) -> "_unions.PetIn return deserialized # type: ignore -class NoEnvelopeCustomDiscriminatorOperations: +class NoEnvelopeCustomDiscriminatorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -464,7 +464,7 @@ async def put( return deserialized # type: ignore -class EnvelopeObjectDefaultOperations: +class EnvelopeObjectDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -639,7 +639,7 @@ async def put(self, input: "_unions.PetWithEnvelope", **kwargs: Any) -> "_unions return deserialized # type: ignore -class EnvelopeObjectCustomPropertiesOperations: +class EnvelopeObjectCustomPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py index 356b1f981fe1..051b85d53a63 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py @@ -19,6 +19,10 @@ class Cat(_Model): :vartype name: str :ivar meow: Required. :vartype meow: bool + :keyword name: Required. + :paramtype name: str + :keyword meow: Required. + :paramtype meow: bool """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -52,6 +56,10 @@ class Dog(_Model): :vartype name: str :ivar bark: Required. :vartype bark: bool + :keyword name: Required. + :paramtype name: str + :keyword bark: Required. + :paramtype bark: bool """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py index 33215e0ef5b4..ac5f36c6d9bd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py @@ -189,7 +189,7 @@ def build_envelope_object_custom_properties_put_request(**kwargs: Any) -> HttpRe return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class EnvelopeOperations: +class EnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -209,7 +209,7 @@ def __init__(self, *args, **kwargs) -> None: self.object = EnvelopeObjectOperations(self._client, self._config, self._serialize, self._deserialize) -class NoEnvelopeOperations: +class NoEnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -232,7 +232,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class EnvelopeObjectOperations: +class EnvelopeObjectOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -255,7 +255,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class NoEnvelopeDefaultOperations: +class NoEnvelopeDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -426,7 +426,7 @@ def put(self, input: "_unions.PetInline", **kwargs: Any) -> "_unions.PetInline": return deserialized # type: ignore -class NoEnvelopeCustomDiscriminatorOperations: +class NoEnvelopeCustomDiscriminatorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -603,7 +603,7 @@ def put( return deserialized # type: ignore -class EnvelopeObjectDefaultOperations: +class EnvelopeObjectDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -778,7 +778,7 @@ def put(self, input: "_unions.PetWithEnvelope", **kwargs: Any) -> "_unions.PetWi return deserialized # type: ignore -class EnvelopeObjectCustomPropertiesOperations: +class EnvelopeObjectCustomPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py index 8131199620af..4e77e6fcb493 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py @@ -40,7 +40,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py index 7acd872ef0ee..1d175f9dd5a9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py @@ -91,7 +91,7 @@ def build_string_put_unknown_value_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py index c8b5ce6fcfa9..c7e8ba9bca87 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py @@ -39,7 +39,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py index b84f79bfbbdc..dbcc4ef86be8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py @@ -77,7 +77,7 @@ def build_string_put_unknown_value_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-empty/typetest/model/empty/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py index d247943145e7..d30ad829421b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py @@ -24,6 +24,10 @@ class Snake(_Model): :vartype kind: str or ~typetest.model.enumdiscriminator.models.SnakeKind :ivar length: Length of the snake. Required. :vartype length: int + :keyword kind: discriminator property. Required. "cobra" + :paramtype kind: str or ~typetest.model.enumdiscriminator.models.SnakeKind + :keyword length: Length of the snake. Required. + :paramtype length: int """ __mapping__: dict[str, _Model] = {} @@ -58,6 +62,8 @@ class Cobra(Snake, discriminator="cobra"): :vartype length: int :ivar kind: discriminator property. Required. Species cobra. :vartype kind: str or ~typetest.model.enumdiscriminator.models.COBRA + :keyword length: Length of the snake. Required. + :paramtype length: int """ kind: Literal[SnakeKind.COBRA] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -92,6 +98,10 @@ class Dog(_Model): :vartype kind: str or ~typetest.model.enumdiscriminator.models.DogKind :ivar weight: Weight of the dog. Required. :vartype weight: int + :keyword kind: discriminator property. Required. "golden" + :paramtype kind: str or ~typetest.model.enumdiscriminator.models.DogKind + :keyword weight: Weight of the dog. Required. + :paramtype weight: int """ __mapping__: dict[str, _Model] = {} @@ -126,6 +136,8 @@ class Golden(Dog, discriminator="golden"): :vartype weight: int :ivar kind: discriminator property. Required. Species golden. :vartype kind: str or ~typetest.model.enumdiscriminator.models.GOLDEN + :keyword weight: Weight of the dog. Required. + :paramtype weight: int """ kind: Literal[DogKind.GOLDEN] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py index 5ac00184b206..a503be570852 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py @@ -26,6 +26,10 @@ class Fish(_Model): :vartype kind: str :ivar age: Required. :vartype age: int + :keyword kind: Discriminator property for Fish. Required. Default value is None. + :paramtype kind: str + :keyword age: Required. + :paramtype age: int """ __mapping__: dict[str, _Model] = {} @@ -66,6 +70,10 @@ class Shark(Fish, discriminator="shark"): :vartype kind: str :ivar sharktype: Required. Default value is None. :vartype sharktype: str + :keyword age: Required. + :paramtype age: int + :keyword sharktype: Required. Default value is None. + :paramtype sharktype: str """ __mapping__: dict[str, _Model] = {} @@ -103,6 +111,8 @@ class GoblinShark(Shark, discriminator="goblin"): :vartype kind: str :ivar sharktype: Required. Default value is "goblin". :vartype sharktype: str + :keyword age: Required. + :paramtype age: int """ __mapping__: dict[str, _Model] = {} @@ -142,6 +152,14 @@ class Salmon(Fish, discriminator="salmon"): :vartype hate: dict[str, ~typetest.model.nesteddiscriminator.models.Fish] :ivar partner: :vartype partner: ~typetest.model.nesteddiscriminator.models.Fish + :keyword age: Required. + :paramtype age: int + :keyword friends: + :paramtype friends: list[~typetest.model.nesteddiscriminator.models.Fish] + :keyword hate: + :paramtype hate: dict[str, ~typetest.model.nesteddiscriminator.models.Fish] + :keyword partner: + :paramtype partner: ~typetest.model.nesteddiscriminator.models.Fish """ kind: Literal["salmon"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -181,6 +199,8 @@ class SawShark(Shark, discriminator="saw"): :vartype kind: str :ivar sharktype: Required. Default value is "saw". :vartype sharktype: str + :keyword age: Required. + :paramtype age: int """ __mapping__: dict[str, _Model] = {} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py index be87f1155dba..b4624e011e08 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py @@ -17,6 +17,8 @@ class Pet(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -47,6 +49,10 @@ class Cat(Pet): :vartype name: str :ivar age: Required. :vartype age: int + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int """ age: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -80,6 +86,12 @@ class Siamese(Cat): :vartype age: int :ivar smart: Required. :vartype smart: bool + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int + :keyword smart: Required. + :paramtype smart: bool """ smart: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py index be87f1155dba..b4624e011e08 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py @@ -17,6 +17,8 @@ class Pet(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -47,6 +49,10 @@ class Cat(Pet): :vartype name: str :ivar age: Required. :vartype age: int + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int """ age: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -80,6 +86,12 @@ class Siamese(Cat): :vartype age: int :ivar smart: Required. :vartype smart: bool + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int + :keyword smart: Required. + :paramtype smart: bool """ smart: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/models/_models.py index 8261115afc1a..8abde020299d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-recursive/typetest/model/recursive/models/_models.py @@ -20,6 +20,8 @@ class Element(_Model): :ivar extension: :vartype extension: list[~typetest.model.recursive.models.Extension] + :keyword extension: + :paramtype extension: list[~typetest.model.recursive.models.Extension] """ extension: Optional[list["_models.Extension"]] = rest_field( @@ -51,6 +53,10 @@ class Extension(Element): :vartype extension: list[~typetest.model.recursive.models.Extension] :ivar level: Required. :vartype level: int + :keyword level: Required. + :paramtype level: int + :keyword extension: + :paramtype extension: list[~typetest.model.recursive.models.Extension] """ level: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py index 59b84682a81f..c43edfd15f8e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py @@ -26,6 +26,10 @@ class Bird(_Model): :vartype kind: str :ivar wingspan: Required. :vartype wingspan: int + :keyword kind: Required. Default value is None. + :paramtype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ __mapping__: dict[str, _Model] = {} @@ -64,6 +68,10 @@ class Dinosaur(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword kind: Discriminator property for Dinosaur. Required. Default value is None. + :paramtype kind: str + :keyword size: Required. + :paramtype size: int """ __mapping__: dict[str, _Model] = {} @@ -105,6 +113,14 @@ class Eagle(Bird, discriminator="eagle"): :vartype hate: dict[str, ~typetest.model.singlediscriminator.typeddict.models.Bird] :ivar partner: :vartype partner: ~typetest.model.singlediscriminator.typeddict.models.Bird + :keyword wingspan: Required. + :paramtype wingspan: int + :keyword friends: + :paramtype friends: list[~typetest.model.singlediscriminator.typeddict.models.Bird] + :keyword hate: + :paramtype hate: dict[str, ~typetest.model.singlediscriminator.typeddict.models.Bird] + :keyword partner: + :paramtype partner: ~typetest.model.singlediscriminator.typeddict.models.Bird """ kind: Literal["eagle"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -143,6 +159,8 @@ class Fish(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword size: Required. + :paramtype size: int """ kind: str = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) @@ -175,6 +193,8 @@ class Goose(Bird, discriminator="goose"): :vartype wingspan: int :ivar kind: Required. Default value is "goose". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["goose"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -206,6 +226,8 @@ class SeaGull(Bird, discriminator="seagull"): :vartype wingspan: int :ivar kind: Required. Default value is "seagull". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["seagull"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -237,6 +259,8 @@ class Sparrow(Bird, discriminator="sparrow"): :vartype wingspan: int :ivar kind: Required. Default value is "sparrow". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["sparrow"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -268,6 +292,8 @@ class TRex(Dinosaur, discriminator="t-rex"): :vartype size: int :ivar kind: Required. Default value is "t-rex". :vartype kind: str + :keyword size: Required. + :paramtype size: int """ kind: Literal["t-rex"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py index 34686e567023..29d9c8730bba 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py @@ -26,6 +26,10 @@ class Bird(_Model): :vartype kind: str :ivar wingspan: Required. :vartype wingspan: int + :keyword kind: Required. Default value is None. + :paramtype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ __mapping__: dict[str, _Model] = {} @@ -64,6 +68,10 @@ class Dinosaur(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword kind: Discriminator property for Dinosaur. Required. Default value is None. + :paramtype kind: str + :keyword size: Required. + :paramtype size: int """ __mapping__: dict[str, _Model] = {} @@ -105,6 +113,14 @@ class Eagle(Bird, discriminator="eagle"): :vartype hate: dict[str, ~typetest.model.singlediscriminator.models.Bird] :ivar partner: :vartype partner: ~typetest.model.singlediscriminator.models.Bird + :keyword wingspan: Required. + :paramtype wingspan: int + :keyword friends: + :paramtype friends: list[~typetest.model.singlediscriminator.models.Bird] + :keyword hate: + :paramtype hate: dict[str, ~typetest.model.singlediscriminator.models.Bird] + :keyword partner: + :paramtype partner: ~typetest.model.singlediscriminator.models.Bird """ kind: Literal["eagle"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -143,6 +159,8 @@ class Fish(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword size: Required. + :paramtype size: int """ kind: str = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) @@ -175,6 +193,8 @@ class Goose(Bird, discriminator="goose"): :vartype wingspan: int :ivar kind: Required. Default value is "goose". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["goose"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -206,6 +226,8 @@ class SeaGull(Bird, discriminator="seagull"): :vartype wingspan: int :ivar kind: Required. Default value is "seagull". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["seagull"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -237,6 +259,8 @@ class Sparrow(Bird, discriminator="sparrow"): :vartype wingspan: int :ivar kind: Required. Default value is "sparrow". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["sparrow"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -268,6 +292,8 @@ class TRex(Dinosaur, discriminator="t-rex"): :vartype size: int :ivar kind: Required. Default value is "t-rex". :vartype kind: str + :keyword size: Required. + :paramtype size: int """ kind: Literal["t-rex"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/models/_models.py index e0e921bbc54e..5a0d58fcbef5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-usage/typetest/model/usage/models/_models.py @@ -17,6 +17,8 @@ class InputOutputRecord(_Model): :ivar required_prop: Required. :vartype required_prop: str + :keyword required_prop: Required. + :paramtype required_prop: str """ required_prop: str = rest_field(name="requiredProp", visibility=["read", "create", "update", "delete", "query"]) @@ -45,6 +47,8 @@ class InputRecord(_Model): :ivar required_prop: Required. :vartype required_prop: str + :keyword required_prop: Required. + :paramtype required_prop: str """ required_prop: str = rest_field(name="requiredProp", visibility=["read", "create", "update", "delete", "query"]) @@ -73,6 +77,8 @@ class OutputRecord(_Model): :ivar required_prop: Required. :vartype required_prop: str + :keyword required_prop: Required. + :paramtype required_prop: str """ required_prop: str = rest_field(name="requiredProp", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/models/_models.py index ad63b897c9ec..8fba19dff488 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-model-visibility/typetest/model/visibility/models/_models.py @@ -38,6 +38,12 @@ class VisibilityModel(_Model): :vartype update_prop: list[int] :ivar delete_prop: Required bool, illustrating a delete property. Required. :vartype delete_prop: bool + :keyword create_prop: Required string[], illustrating a create property. Required. + :paramtype create_prop: list[str] + :keyword update_prop: Required int32[], illustrating a update property. Required. + :paramtype update_prop: list[int] + :keyword delete_prop: Required bool, illustrating a delete property. Required. + :paramtype delete_prop: bool """ read_prop: str = rest_field(name="readProp", visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py index f74efafc63f8..02e920691ca6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py @@ -100,7 +100,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ExtendsUnknownOperations: +class ExtendsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -287,7 +287,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDerivedOperations: +class ExtendsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -490,7 +490,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDiscriminatedOperations: +class ExtendsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -694,7 +694,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownOperations: +class IsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -880,7 +880,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDerivedOperations: +class IsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1077,7 +1077,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDiscriminatedOperations: +class IsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1280,7 +1280,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsStringOperations: +class ExtendsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1466,7 +1466,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsStringOperations: +class IsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1651,7 +1651,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadStringOperations: +class SpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1833,7 +1833,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsFloatOperations: +class ExtendsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2019,7 +2019,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsFloatOperations: +class IsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2204,7 +2204,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadFloatOperations: +class SpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2386,7 +2386,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelOperations: +class ExtendsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2572,7 +2572,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsModelOperations: +class IsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2757,7 +2757,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelOperations: +class SpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2939,7 +2939,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelArrayOperations: +class ExtendsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3138,7 +3138,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsModelArrayOperations: +class IsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3324,7 +3324,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelArrayOperations: +class SpreadModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3506,7 +3506,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentStringOperations: +class SpreadDifferentStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3691,7 +3691,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentFloatOperations: +class SpreadDifferentFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3876,7 +3876,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelOperations: +class SpreadDifferentModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4061,7 +4061,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelArrayOperations: +class SpreadDifferentModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4247,7 +4247,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadStringOperations: +class ExtendsDifferentSpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4432,7 +4432,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadFloatOperations: +class ExtendsDifferentSpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4617,7 +4617,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelOperations: +class ExtendsDifferentSpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4802,7 +4802,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=name-too-long +class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -4988,7 +4988,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class MultipleSpreadOperations: +class MultipleSpreadOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5170,7 +5170,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordUnionOperations: +class SpreadRecordUnionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5352,7 +5352,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -5549,7 +5549,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -5748,7 +5748,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py index 63b608d0a53f..1cfccc594baa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py @@ -22,6 +22,8 @@ class DifferentSpreadFloatRecord(_Model): :ivar name: The id property. Required. :vartype name: str + :keyword name: The id property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -53,6 +55,10 @@ class DifferentSpreadFloatDerived(DifferentSpreadFloatRecord): :vartype name: str :ivar derived_prop: The index property. Required. :vartype derived_prop: float + :keyword name: The id property. Required. + :paramtype name: str + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: float """ derived_prop: float = rest_field(name="derivedProp", visibility=["read", "create", "update", "delete", "query"]) @@ -82,6 +88,8 @@ class DifferentSpreadModelArrayRecord(_Model): :ivar known_prop: Required. :vartype known_prop: str + :keyword known_prop: Required. + :paramtype known_prop: str """ known_prop: str = rest_field(name="knownProp", visibility=["read", "create", "update", "delete", "query"]) @@ -113,6 +121,10 @@ class DifferentSpreadModelArrayDerived(DifferentSpreadModelArrayRecord): :vartype known_prop: str :ivar derived_prop: The index property. Required. :vartype derived_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: str + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ derived_prop: list["_models.ModelForRecord"] = rest_field( @@ -144,6 +156,8 @@ class DifferentSpreadModelRecord(_Model): :ivar known_prop: Required. :vartype known_prop: str + :keyword known_prop: Required. + :paramtype known_prop: str """ known_prop: str = rest_field(name="knownProp", visibility=["read", "create", "update", "delete", "query"]) @@ -175,6 +189,10 @@ class DifferentSpreadModelDerived(DifferentSpreadModelRecord): :vartype known_prop: str :ivar derived_prop: The index property. Required. :vartype derived_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: str + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ derived_prop: "_models.ModelForRecord" = rest_field( @@ -206,6 +224,8 @@ class DifferentSpreadStringRecord(_Model): :ivar id: The name property. Required. :vartype id: float + :keyword id: The name property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -237,6 +257,10 @@ class DifferentSpreadStringDerived(DifferentSpreadStringRecord): :vartype id: float :ivar derived_prop: The index property. Required. :vartype derived_prop: str + :keyword id: The name property. Required. + :paramtype id: float + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: str """ derived_prop: str = rest_field(name="derivedProp", visibility=["read", "create", "update", "delete", "query"]) @@ -266,6 +290,8 @@ class ExtendsFloatAdditionalProperties(_Model): :ivar id: The id property. Required. :vartype id: float + :keyword id: The id property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -294,6 +320,8 @@ class ExtendsModelAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ known_prop: "_models.ModelForRecord" = rest_field( @@ -324,6 +352,8 @@ class ExtendsModelArrayAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ known_prop: list["_models.ModelForRecord"] = rest_field( @@ -354,6 +384,8 @@ class ExtendsStringAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -382,6 +414,8 @@ class ExtendsUnknownAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -414,6 +448,12 @@ class ExtendsUnknownAdditionalPropertiesDerived(ExtendsUnknownAdditionalProperti :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ index: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -451,6 +491,10 @@ class ExtendsUnknownAdditionalPropertiesDiscriminated(_Model): # pylint: disabl :vartype name: str :ivar kind: The discriminator. Required. Default value is None. :vartype kind: str + :keyword name: The name property. Required. + :paramtype name: str + :keyword kind: The discriminator. Required. Default value is None. + :paramtype kind: str """ __mapping__: dict[str, _Model] = {} @@ -491,6 +535,12 @@ class ExtendsUnknownAdditionalPropertiesDiscriminatedDerived( :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ kind: Literal["derived"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -526,6 +576,8 @@ class IsFloatAdditionalProperties(_Model): :ivar id: The id property. Required. :vartype id: float + :keyword id: The id property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -554,6 +606,8 @@ class IsModelAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ known_prop: "_models.ModelForRecord" = rest_field( @@ -584,6 +638,8 @@ class IsModelArrayAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ known_prop: list["_models.ModelForRecord"] = rest_field( @@ -614,6 +670,8 @@ class IsStringAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -642,6 +700,8 @@ class IsUnknownAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -674,6 +734,12 @@ class IsUnknownAdditionalPropertiesDerived(IsUnknownAdditionalProperties): :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ index: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -711,6 +777,10 @@ class IsUnknownAdditionalPropertiesDiscriminated(_Model): # pylint: disable=nam :vartype name: str :ivar kind: The discriminator. Required. Default value is None. :vartype kind: str + :keyword name: The name property. Required. + :paramtype name: str + :keyword kind: The discriminator. Required. Default value is None. + :paramtype kind: str """ __mapping__: dict[str, _Model] = {} @@ -751,6 +821,12 @@ class IsUnknownAdditionalPropertiesDiscriminatedDerived( :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ kind: Literal["derived"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -786,6 +862,8 @@ class ModelForRecord(_Model): :ivar state: The state property. Required. :vartype state: str + :keyword state: The state property. Required. + :paramtype state: str """ state: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -814,6 +892,8 @@ class MultipleSpreadRecord(_Model): :ivar flag: The name property. Required. :vartype flag: bool + :keyword flag: The name property. Required. + :paramtype flag: bool """ flag: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -842,6 +922,8 @@ class SpreadFloatRecord(_Model): :ivar id: The id property. Required. :vartype id: float + :keyword id: The id property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -870,6 +952,8 @@ class SpreadModelArrayRecord(_Model): :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ known_prop: list["_models.ModelForRecord"] = rest_field( @@ -900,6 +984,8 @@ class SpreadModelRecord(_Model): :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ known_prop: "_models.ModelForRecord" = rest_field( @@ -930,6 +1016,8 @@ class SpreadRecordForNonDiscriminatedUnion(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -958,6 +1046,8 @@ class SpreadRecordForNonDiscriminatedUnion2(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -986,6 +1076,8 @@ class SpreadRecordForNonDiscriminatedUnion3(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1014,6 +1106,8 @@ class SpreadRecordForUnion(_Model): :ivar flag: The name property. Required. :vartype flag: bool + :keyword flag: The name property. Required. + :paramtype flag: bool """ flag: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1042,6 +1136,8 @@ class SpreadStringRecord(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1072,6 +1168,8 @@ class WidgetData0(_Model): :vartype kind: str :ivar foo_prop: Required. :vartype foo_prop: str + :keyword foo_prop: Required. + :paramtype foo_prop: str """ kind: Literal["kind0"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1107,6 +1205,10 @@ class WidgetData1(_Model): :vartype start: ~datetime.datetime :ivar end: :vartype end: ~datetime.datetime + :keyword start: Required. + :paramtype start: ~datetime.datetime + :keyword end: + :paramtype end: ~datetime.datetime """ kind: Literal["kind1"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1144,6 +1246,8 @@ class WidgetData2(_Model): :vartype kind: str :ivar start: Required. :vartype start: str + :keyword start: Required. + :paramtype start: str """ kind: Literal["kind1"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py index e5be69d5aa17..31e249202f94 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py @@ -923,7 +923,7 @@ def build_spread_record_non_discriminated_union3_put_request( # pylint: disable return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ExtendsUnknownOperations: +class ExtendsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1110,7 +1110,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDerivedOperations: +class ExtendsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1313,7 +1313,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDiscriminatedOperations: +class ExtendsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1517,7 +1517,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownOperations: +class IsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1703,7 +1703,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDerivedOperations: +class IsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1900,7 +1900,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDiscriminatedOperations: +class IsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2103,7 +2103,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsStringOperations: +class ExtendsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2289,7 +2289,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsStringOperations: +class IsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2474,7 +2474,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadStringOperations: +class SpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2652,7 +2652,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsFloatOperations: +class ExtendsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2838,7 +2838,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsFloatOperations: +class IsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3023,7 +3023,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadFloatOperations: +class SpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3201,7 +3201,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelOperations: +class ExtendsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3387,7 +3387,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsModelOperations: +class IsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3572,7 +3572,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelOperations: +class SpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3750,7 +3750,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelArrayOperations: +class ExtendsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3949,7 +3949,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsModelArrayOperations: +class IsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4135,7 +4135,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelArrayOperations: +class SpreadModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4317,7 +4317,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentStringOperations: +class SpreadDifferentStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4502,7 +4502,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentFloatOperations: +class SpreadDifferentFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4687,7 +4687,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelOperations: +class SpreadDifferentModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4872,7 +4872,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelArrayOperations: +class SpreadDifferentModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5058,7 +5058,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadStringOperations: +class ExtendsDifferentSpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5243,7 +5243,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadFloatOperations: +class ExtendsDifferentSpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5428,7 +5428,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelOperations: +class ExtendsDifferentSpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5613,7 +5613,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=name-too-long +class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -5799,7 +5799,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MultipleSpreadOperations: +class MultipleSpreadOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5977,7 +5977,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordUnionOperations: +class SpreadRecordUnionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -6155,7 +6155,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -6352,7 +6352,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -6551,7 +6551,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py index 879e095e58dc..b9a2d09e463c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py @@ -66,7 +66,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -412,7 +412,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -758,7 +758,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1104,7 +1104,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1450,7 +1450,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1804,7 +1804,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2168,7 +2168,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/models/_models.py index 382e3e4d6838..c4ebe2ffc04e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/models/_models.py @@ -24,6 +24,10 @@ class BytesProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: bytes + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: bytes """ required_property: str = rest_field( @@ -61,6 +65,10 @@ class CollectionsByteProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: list[bytes] + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: list[bytes] """ required_property: str = rest_field( @@ -98,6 +106,10 @@ class CollectionsModelProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: list[~typetest.property.nullable.models.InnerModel] + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: list[~typetest.property.nullable.models.InnerModel] """ required_property: str = rest_field( @@ -135,6 +147,10 @@ class CollectionsStringProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: list[str] + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: list[str] """ required_property: str = rest_field( @@ -172,6 +188,10 @@ class DatetimeProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: ~datetime.datetime + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: ~datetime.datetime """ required_property: str = rest_field( @@ -209,6 +229,10 @@ class DurationProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: ~datetime.timedelta + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: ~datetime.timedelta """ required_property: str = rest_field( @@ -244,6 +268,8 @@ class InnerModel(_Model): :ivar property: Inner model property. Required. :vartype property: str + :keyword property: Inner model property. Required. + :paramtype property: str """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -275,6 +301,10 @@ class StringProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: str + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: str """ required_property: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/operations/_operations.py index 50241ad9ac07..83dcafb84fe2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-nullable/typetest/property/nullable/operations/_operations.py @@ -431,7 +431,7 @@ def build_collections_string_patch_null_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PATCH", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -775,7 +775,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1119,7 +1119,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1463,7 +1463,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1807,7 +1807,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2159,7 +2159,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2521,7 +2521,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py index f1ca666804a0..efd42b6f2404 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py @@ -102,7 +102,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -444,7 +444,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -784,7 +784,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1126,7 +1126,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1468,7 +1468,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class PlainDateOperations: +class PlainDateOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1810,7 +1810,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class PlainTimeOperations: +class PlainTimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2152,7 +2152,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2494,7 +2494,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2838,7 +2838,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3180,7 +3180,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3522,7 +3522,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3864,7 +3864,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4206,7 +4206,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4554,7 +4554,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4896,7 +4896,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5240,7 +5240,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class RequiredAndOptionalOperations: +class RequiredAndOptionalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/models/_models.py index d026aadaab2c..e50a1b380372 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/models/_models.py @@ -21,6 +21,8 @@ class BooleanLiteralProperty(_Model): :ivar property: Property. Default value is True. :vartype property: bool + :keyword property: Property. Default value is True. + :paramtype property: bool """ property: Optional[Literal[True]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -50,6 +52,8 @@ class BytesProperty(_Model): :ivar property: Property. :vartype property: bytes + :keyword property: Property. + :paramtype property: bytes """ property: Optional[bytes] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") @@ -78,6 +82,8 @@ class CollectionsByteProperty(_Model): :ivar property: Property. :vartype property: list[bytes] + :keyword property: Property. + :paramtype property: list[bytes] """ property: Optional[list[bytes]] = rest_field( @@ -108,6 +114,8 @@ class CollectionsModelProperty(_Model): :ivar property: Property. :vartype property: list[~typetest.property.optional.models.StringProperty] + :keyword property: Property. + :paramtype property: list[~typetest.property.optional.models.StringProperty] """ property: Optional[list["_models.StringProperty"]] = rest_field( @@ -138,6 +146,8 @@ class DatetimeProperty(_Model): :ivar property: Property. :vartype property: ~datetime.datetime + :keyword property: Property. + :paramtype property: ~datetime.datetime """ property: Optional[datetime.datetime] = rest_field( @@ -168,6 +178,8 @@ class DurationProperty(_Model): :ivar property: Property. :vartype property: ~datetime.timedelta + :keyword property: Property. + :paramtype property: ~datetime.timedelta """ property: Optional[datetime.timedelta] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -196,6 +208,8 @@ class FloatLiteralProperty(_Model): :ivar property: Property. Default value is 1.25. :vartype property: float + :keyword property: Property. Default value is 1.25. + :paramtype property: float """ property: Optional[float] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -224,6 +238,8 @@ class IntLiteralProperty(_Model): :ivar property: Property. Default value is 1. :vartype property: int + :keyword property: Property. Default value is 1. + :paramtype property: int """ property: Optional[Literal[1]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -252,6 +268,8 @@ class PlainDateProperty(_Model): :ivar property: Property. :vartype property: ~datetime.date + :keyword property: Property. + :paramtype property: ~datetime.date """ property: Optional[datetime.date] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -280,6 +298,8 @@ class PlainTimeProperty(_Model): :ivar property: Property. :vartype property: ~datetime.time + :keyword property: Property. + :paramtype property: ~datetime.time """ property: Optional[datetime.time] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -310,6 +330,10 @@ class RequiredAndOptionalProperty(_Model): :vartype optional_property: str :ivar required_property: required int property. Required. :vartype required_property: int + :keyword required_property: required int property. Required. + :paramtype required_property: int + :keyword optional_property: optional string property. + :paramtype optional_property: str """ optional_property: Optional[str] = rest_field( @@ -345,6 +369,8 @@ class StringLiteralProperty(_Model): :ivar property: Property. Default value is "hello". :vartype property: str + :keyword property: Property. Default value is "hello". + :paramtype property: str """ property: Optional[Literal["hello"]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -374,6 +400,8 @@ class StringProperty(_Model): :ivar property: Property. :vartype property: str + :keyword property: Property. + :paramtype property: str """ property: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -402,6 +430,8 @@ class UnionFloatLiteralProperty(_Model): :ivar property: Property. Is one of the following types: float :vartype property: float or float + :keyword property: Property. Is one of the following types: float + :paramtype property: float or float """ property: Optional[float] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -430,6 +460,8 @@ class UnionIntLiteralProperty(_Model): :ivar property: Property. Is either a Literal[1] type or a Literal[2] type. :vartype property: int or int + :keyword property: Property. Is either a Literal[1] type or a Literal[2] type. + :paramtype property: int or int """ property: Optional[Literal[1, 2]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -458,6 +490,8 @@ class UnionStringLiteralProperty(_Model): :ivar property: Property. Is either a Literal["hello"] type or a Literal["world"] type. :vartype property: str or str + :keyword property: Property. Is either a Literal["hello"] type or a Literal["world"] type. + :paramtype property: str or str """ property: Optional[Literal["hello", "world"]] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/operations/_operations.py index 5cae6880ec4f..6c176a3d1655 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-optional/typetest/property/optional/operations/_operations.py @@ -939,7 +939,7 @@ def build_required_and_optional_put_required_only_request( # pylint: disable=na return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1277,7 +1277,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1613,7 +1613,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1951,7 +1951,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2289,7 +2289,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class PlainDateOperations: +class PlainDateOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2629,7 +2629,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class PlainTimeOperations: +class PlainTimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2969,7 +2969,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3311,7 +3311,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3655,7 +3655,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3997,7 +3997,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4339,7 +4339,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4681,7 +4681,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5023,7 +5023,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5371,7 +5371,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5713,7 +5713,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -6057,7 +6057,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class RequiredAndOptionalOperations: +class RequiredAndOptionalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py index b59e96b2bd1a..9921838261ef 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py @@ -96,7 +96,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -272,7 +272,7 @@ async def put(self, body: Union[_models.BooleanProperty, _types.BooleanProperty, return cls(pipeline_response, None, {}) # type: ignore -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -446,7 +446,7 @@ async def put(self, body: Union[_models.StringProperty, _types.StringProperty, I return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -620,7 +620,7 @@ async def put(self, body: Union[_models.BytesProperty, _types.BytesProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class IntOperations: +class IntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -794,7 +794,7 @@ async def put(self, body: Union[_models.IntProperty, _types.IntProperty, IO[byte return cls(pipeline_response, None, {}) # type: ignore -class FloatOperations: +class FloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -968,7 +968,7 @@ async def put(self, body: Union[_models.FloatProperty, _types.FloatProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class DecimalOperations: +class DecimalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1144,7 +1144,7 @@ async def put(self, body: Union[_models.DecimalProperty, _types.DecimalProperty, return cls(pipeline_response, None, {}) # type: ignore -class Decimal128Operations: +class Decimal128Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1324,7 +1324,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1504,7 +1504,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1684,7 +1684,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class EnumOperations: +class EnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1858,7 +1858,7 @@ async def put(self, body: Union[_models.EnumProperty, _types.EnumProperty, IO[by return cls(pipeline_response, None, {}) # type: ignore -class ExtensibleEnumOperations: +class ExtensibleEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2038,7 +2038,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2212,7 +2212,7 @@ async def put(self, body: Union[_models.ModelProperty, _types.ModelProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2393,7 +2393,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsIntOperations: +class CollectionsIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2573,7 +2573,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2754,7 +2754,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class DictionaryStringOperations: +class DictionaryStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2935,7 +2935,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class NeverOperations: +class NeverOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3109,7 +3109,7 @@ async def put(self, body: Union[_models.NeverProperty, _types.NeverProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class UnknownStringOperations: +class UnknownStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3289,7 +3289,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnknownIntOperations: +class UnknownIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3469,7 +3469,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnknownDictOperations: +class UnknownDictOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3649,7 +3649,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnknownArrayOperations: +class UnknownArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3829,7 +3829,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4009,7 +4009,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4189,7 +4189,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4369,7 +4369,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4549,7 +4549,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4732,7 +4732,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4912,7 +4912,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5093,7 +5093,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumValueOperations: +class UnionEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py index e54903056f54..b28fbdf92c7e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py @@ -18,7 +18,7 @@ from .. import models as _models -class BooleanLiteralProperty(_Model): +class BooleanLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a boolean literal property. :ivar property: Property. Required. Default value is True. @@ -38,6 +38,8 @@ class BooleanProperty(_Model): :ivar property: Property. Required. :vartype property: bool + :keyword property: Property. Required. + :paramtype property: bool """ property: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -66,6 +68,8 @@ class BytesProperty(_Model): :ivar property: Property. Required. :vartype property: bytes + :keyword property: Property. Required. + :paramtype property: bytes """ property: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") @@ -94,6 +98,8 @@ class CollectionsIntProperty(_Model): :ivar property: Property. Required. :vartype property: list[int] + :keyword property: Property. Required. + :paramtype property: list[int] """ property: list[int] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -122,6 +128,8 @@ class CollectionsModelProperty(_Model): :ivar property: Property. Required. :vartype property: list[~typetest.property.valuetypes.models.InnerModel] + :keyword property: Property. Required. + :paramtype property: list[~typetest.property.valuetypes.models.InnerModel] """ property: list["_models.InnerModel"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -150,6 +158,8 @@ class CollectionsStringProperty(_Model): :ivar property: Property. Required. :vartype property: list[str] + :keyword property: Property. Required. + :paramtype property: list[str] """ property: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -178,6 +188,8 @@ class DatetimeProperty(_Model): :ivar property: Property. Required. :vartype property: ~datetime.datetime + :keyword property: Property. Required. + :paramtype property: ~datetime.datetime """ property: datetime.datetime = rest_field( @@ -208,6 +220,8 @@ class Decimal128Property(_Model): :ivar property: Property. Required. :vartype property: ~decimal.Decimal + :keyword property: Property. Required. + :paramtype property: ~decimal.Decimal """ property: decimal.Decimal = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -236,6 +250,8 @@ class DecimalProperty(_Model): :ivar property: Property. Required. :vartype property: ~decimal.Decimal + :keyword property: Property. Required. + :paramtype property: ~decimal.Decimal """ property: decimal.Decimal = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -264,6 +280,8 @@ class DictionaryStringProperty(_Model): :ivar property: Property. Required. :vartype property: dict[str, str] + :keyword property: Property. Required. + :paramtype property: dict[str, str] """ property: dict[str, str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -292,6 +310,8 @@ class DurationProperty(_Model): :ivar property: Property. Required. :vartype property: ~datetime.timedelta + :keyword property: Property. Required. + :paramtype property: ~datetime.timedelta """ property: datetime.timedelta = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -320,6 +340,8 @@ class EnumProperty(_Model): :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.FixedInnerEnum + :keyword property: Property. Required. Known values are: "ValueOne" and "ValueTwo". + :paramtype property: str or ~typetest.property.valuetypes.models.FixedInnerEnum """ property: Union[str, "_models.FixedInnerEnum"] = rest_field( @@ -350,6 +372,8 @@ class ExtensibleEnumProperty(_Model): :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.InnerEnum + :keyword property: Property. Required. Known values are: "ValueOne" and "ValueTwo". + :paramtype property: str or ~typetest.property.valuetypes.models.InnerEnum """ property: Union[str, "_models.InnerEnum"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -373,7 +397,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class FloatLiteralProperty(_Model): +class FloatLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a float literal property. :ivar property: Property. Required. Default value is 43.125. @@ -393,6 +417,8 @@ class FloatProperty(_Model): :ivar property: Property. Required. :vartype property: float + :keyword property: Property. Required. + :paramtype property: float """ property: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -421,6 +447,8 @@ class InnerModel(_Model): :ivar property: Required string property. Required. :vartype property: str + :keyword property: Required string property. Required. + :paramtype property: str """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -444,7 +472,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class IntLiteralProperty(_Model): +class IntLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a int literal property. :ivar property: Property. Required. Default value is 42. @@ -464,6 +492,8 @@ class IntProperty(_Model): :ivar property: Property. Required. :vartype property: int + :keyword property: Property. Required. + :paramtype property: int """ property: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -492,6 +522,8 @@ class ModelProperty(_Model): :ivar property: Property. Required. :vartype property: ~typetest.property.valuetypes.models.InnerModel + :keyword property: Property. Required. + :paramtype property: ~typetest.property.valuetypes.models.InnerModel """ property: "_models.InnerModel" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -519,7 +551,7 @@ class NeverProperty(_Model): """Model with a property never. (This property should not be included).""" -class StringLiteralProperty(_Model): +class StringLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a string literal property. :ivar property: Property. Required. Default value is "hello". @@ -539,6 +571,8 @@ class StringProperty(_Model): :ivar property: Property. Required. :vartype property: str + :keyword property: Property. Required. + :paramtype property: str """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -568,6 +602,8 @@ class UnionEnumValueProperty(_Model): :ivar property: Property. Required. ENUM_VALUE2. :vartype property: str or ~typetest.property.valuetypes.models.ENUM_VALUE2 + :keyword property: Property. Required. ENUM_VALUE2. + :paramtype property: str or ~typetest.property.valuetypes.models.ENUM_VALUE2 """ property: Literal[ExtendedEnum.ENUM_VALUE2] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -596,6 +632,8 @@ class UnionFloatLiteralProperty(_Model): :ivar property: Property. Required. Is one of the following types: float :vartype property: float or float + :keyword property: Property. Required. Is one of the following types: float + :paramtype property: float or float """ property: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -624,6 +662,8 @@ class UnionIntLiteralProperty(_Model): :ivar property: Property. Required. Is either a Literal[42] type or a Literal[43] type. :vartype property: int or int + :keyword property: Property. Required. Is either a Literal[42] type or a Literal[43] type. + :paramtype property: int or int """ property: Literal[42, 43] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -653,6 +693,9 @@ class UnionStringLiteralProperty(_Model): :ivar property: Property. Required. Is either a Literal["hello"] type or a Literal["world"] type. :vartype property: str or str + :keyword property: Property. Required. Is either a Literal["hello"] type or a Literal["world"] + type. + :paramtype property: str or str """ property: Literal["hello", "world"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -681,6 +724,8 @@ class UnknownArrayProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -709,6 +754,8 @@ class UnknownDictProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -737,6 +784,8 @@ class UnknownIntProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -765,6 +814,8 @@ class UnknownStringProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py index 7119675f3d1b..89bdd2fafe25 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py @@ -851,7 +851,7 @@ def build_union_enum_value_put_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1027,7 +1027,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1203,7 +1203,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1379,7 +1379,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntOperations: +class IntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1555,7 +1555,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatOperations: +class FloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1731,7 +1731,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DecimalOperations: +class DecimalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1907,7 +1907,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Decimal128Operations: +class Decimal128Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2083,7 +2083,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2259,7 +2259,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2435,7 +2435,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class EnumOperations: +class EnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2611,7 +2611,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtensibleEnumOperations: +class ExtensibleEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2791,7 +2791,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2967,7 +2967,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3148,7 +3148,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsIntOperations: +class CollectionsIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3328,7 +3328,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3509,7 +3509,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DictionaryStringOperations: +class DictionaryStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3690,7 +3690,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NeverOperations: +class NeverOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3866,7 +3866,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownStringOperations: +class UnknownStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4044,7 +4044,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownIntOperations: +class UnknownIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4220,7 +4220,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownDictOperations: +class UnknownDictOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4396,7 +4396,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownArrayOperations: +class UnknownArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4572,7 +4572,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4750,7 +4750,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4926,7 +4926,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5102,7 +5102,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5282,7 +5282,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5465,7 +5465,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5645,7 +5645,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5826,7 +5826,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumValueOperations: +class UnionEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/aio/operations/_operations.py index dc4ac5d06455..acc1b65b7de2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/aio/operations/_operations.py @@ -53,7 +53,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -182,7 +182,7 @@ async def put(self, body: str, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -311,7 +311,7 @@ async def put(self, body: bool, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class UnknownOperations: +class UnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -440,7 +440,7 @@ async def put(self, body: Any, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class DecimalTypeOperations: +class DecimalTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -616,7 +616,7 @@ async def request_parameter(self, *, value: decimal.Decimal, **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class Decimal128TypeOperations: +class Decimal128TypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -792,7 +792,7 @@ async def request_parameter(self, *, value: decimal.Decimal, **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class DecimalVerifyOperations: +class DecimalVerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -918,7 +918,7 @@ async def verify(self, body: decimal.Decimal, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Decimal128VerifyOperations: +class Decimal128VerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/operations/_operations.py index 386fc76aa78e..8a5851d484d2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-scalar/typetest/scalar/operations/_operations.py @@ -255,7 +255,7 @@ def build_decimal128_verify_verify_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -384,7 +384,7 @@ def put(self, body: str, **kwargs: Any) -> None: # pylint: disable=inconsistent return cls(pipeline_response, None, {}) # type: ignore -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -513,7 +513,7 @@ def put(self, body: bool, **kwargs: Any) -> None: # pylint: disable=inconsisten return cls(pipeline_response, None, {}) # type: ignore -class UnknownOperations: +class UnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -642,7 +642,7 @@ def put(self, body: Any, **kwargs: Any) -> None: # pylint: disable=inconsistent return cls(pipeline_response, None, {}) # type: ignore -class DecimalTypeOperations: +class DecimalTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -822,7 +822,7 @@ def request_parameter( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Decimal128TypeOperations: +class Decimal128TypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1002,7 +1002,7 @@ def request_parameter( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DecimalVerifyOperations: +class DecimalVerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1128,7 +1128,7 @@ def verify(self, body: decimal.Decimal, **kwargs: Any) -> None: # pylint: disab return cls(pipeline_response, None, {}) # type: ignore -class Decimal128VerifyOperations: +class Decimal128VerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/aio/operations/_operations.py index 5b8ef3708208..aa821a27c7af 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/aio/operations/_operations.py @@ -60,7 +60,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringsOnlyOperations: +class StringsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -250,7 +250,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleOperations: +class StringExtensibleOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -438,7 +438,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleNamedOperations: +class StringExtensibleNamedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -630,7 +630,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class IntsOnlyOperations: +class IntsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -816,7 +816,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class FloatsOnlyOperations: +class FloatsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -998,7 +998,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class ModelsOnlyOperations: +class ModelsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1186,7 +1186,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class EnumsOnlyOperations: +class EnumsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1374,7 +1374,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class StringAndArrayOperations: +class StringAndArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1562,7 +1562,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class MixedLiteralsOperations: +class MixedLiteralsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1750,7 +1750,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class MixedTypesOperations: +class MixedTypesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/models/_models.py index bae8d4888d4c..74a02573256a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/models/_models.py @@ -20,6 +20,8 @@ class Cat(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -48,6 +50,8 @@ class Dog(_Model): :ivar bark: Required. :vartype bark: str + :keyword bark: Required. + :paramtype bark: str """ bark: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -80,6 +84,12 @@ class EnumsOnlyCases(_Model): :ivar ud: This should be receive/send the up variant. Required. Is either a Literal["up"] type or a Literal["down"] type. :vartype ud: str or str + :keyword lr: This should be receive/send the left variant. Required. Is one of the following + types: Literal["left"], Literal["right"], Literal["up"], Literal["down"] + :paramtype lr: str or str or str or str + :keyword ud: This should be receive/send the up variant. Required. Is either a Literal["up"] + type or a Literal["down"] type. + :paramtype ud: str or str """ lr: Literal["left", "right", "up", "down"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -113,6 +123,9 @@ class GetResponse(_Model): :ivar prop: Required. Is one of the following types: Literal["a"], Literal["b"], Literal["c"] :vartype prop: str or str or str + :keyword prop: Required. Is one of the following types: Literal["a"], Literal["b"], + Literal["c"] + :paramtype prop: str or str or str """ prop: Literal["a", "b", "c"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -141,6 +154,8 @@ class GetResponse1(_Model): :ivar prop: Required. Is one of the following types: Literal["b"], Literal["c"], str :vartype prop: str or str or str + :keyword prop: Required. Is one of the following types: Literal["b"], Literal["c"], str + :paramtype prop: str or str or str """ prop: Union[Literal["b"], Literal["c"], str] = rest_field( @@ -171,6 +186,8 @@ class GetResponse2(_Model): :ivar prop: Required. Known values are: "b" and "c". :vartype prop: str or ~typetest.union.models.StringExtensibleNamedUnion + :keyword prop: Required. Known values are: "b" and "c". + :paramtype prop: str or ~typetest.union.models.StringExtensibleNamedUnion """ prop: Union[str, "_models.StringExtensibleNamedUnion"] = rest_field( @@ -201,6 +218,8 @@ class GetResponse3(_Model): :ivar prop: Required. Is one of the following types: Literal[1], Literal[2], Literal[3] :vartype prop: int or int or int + :keyword prop: Required. Is one of the following types: Literal[1], Literal[2], Literal[3] + :paramtype prop: int or int or int """ prop: Literal[1, 2, 3] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -229,6 +248,8 @@ class GetResponse4(_Model): :ivar prop: Required. Is one of the following types: float :vartype prop: float or float or float + :keyword prop: Required. Is one of the following types: float + :paramtype prop: float or float or float """ prop: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -257,6 +278,8 @@ class GetResponse5(_Model): :ivar prop: Required. Is either a Cat type or a Dog type. :vartype prop: ~typetest.union.models.Cat or ~typetest.union.models.Dog + :keyword prop: Required. Is either a Cat type or a Dog type. + :paramtype prop: ~typetest.union.models.Cat or ~typetest.union.models.Dog """ prop: Union["_models.Cat", "_models.Dog"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -285,6 +308,8 @@ class GetResponse6(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.EnumsOnlyCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.EnumsOnlyCases """ prop: "_models.EnumsOnlyCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -313,6 +338,8 @@ class GetResponse7(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.StringAndArrayCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.StringAndArrayCases """ prop: "_models.StringAndArrayCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -341,6 +368,8 @@ class GetResponse8(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedLiteralsCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.MixedLiteralsCases """ prop: "_models.MixedLiteralsCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -369,6 +398,8 @@ class GetResponse9(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedTypesCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.MixedTypesCases """ prop: "_models.MixedTypesCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -407,6 +438,18 @@ class MixedLiteralsCases(_Model): :ivar boolean_literal: This should be receive/send the true variant. Required. Is one of the following types: Literal["a"], Literal[2], float, Literal[True] :vartype boolean_literal: str or int or float or bool + :keyword string_literal: This should be receive/send the "a" variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype string_literal: str or int or float or bool + :keyword int_literal: This should be receive/send the 2 variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype int_literal: str or int or float or bool + :keyword float_literal: This should be receive/send the 3.3 variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype float_literal: str or int or float or bool + :keyword boolean_literal: This should be receive/send the true variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype boolean_literal: str or int or float or bool """ string_literal: Literal["a", 2, True] = rest_field( @@ -468,6 +511,21 @@ class MixedTypesCases(_Model): :vartype boolean: ~typetest.union.models.Cat or str or int or bool :ivar array: This should be receive/send 4 element with Cat, "a", int, and boolean. Required. :vartype array: list[~typetest.union.models.Cat or str or int or bool] + :keyword model: This should be receive/send the Cat variant. Required. Is one of the following + types: Cat, Literal["a"], int, bool + :paramtype model: ~typetest.union.models.Cat or str or int or bool + :keyword literal: This should be receive/send the "a" variant. Required. Is one of the + following types: Cat, Literal["a"], int, bool + :paramtype literal: ~typetest.union.models.Cat or str or int or bool + :keyword int_property: This should be receive/send the int variant. Required. Is one of the + following types: Cat, Literal["a"], int, bool + :paramtype int_property: ~typetest.union.models.Cat or str or int or bool + :keyword boolean: This should be receive/send the boolean variant. Required. Is one of the + following types: Cat, Literal["a"], int, bool + :paramtype boolean: ~typetest.union.models.Cat or str or int or bool + :keyword array: This should be receive/send 4 element with Cat, "a", int, and boolean. + Required. + :paramtype array: list[~typetest.union.models.Cat or str or int or bool] """ model: Union["_models.Cat", Literal["a"], int, bool] = rest_field( @@ -526,6 +584,12 @@ class StringAndArrayCases(_Model): :ivar array: This should be receive/send the array variant. Required. Is either a str type or a [str] type. :vartype array: str or list[str] + :keyword string: This should be receive/send the string variant. Required. Is either a str type + or a [str] type. + :paramtype string: str or list[str] + :keyword array: This should be receive/send the array variant. Required. Is either a str type + or a [str] type. + :paramtype array: str or list[str] """ string: Union[str, list[str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/operations/_operations.py index 35ecb4df66ec..753772c4fdbb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/typetest-union/typetest/union/operations/_operations.py @@ -321,7 +321,7 @@ def build_mixed_types_send_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class StringsOnlyOperations: +class StringsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -509,7 +509,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleOperations: +class StringExtensibleOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -697,7 +697,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleNamedOperations: +class StringExtensibleNamedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -889,7 +889,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntsOnlyOperations: +class IntsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1075,7 +1075,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatsOnlyOperations: +class FloatsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1257,7 +1257,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelsOnlyOperations: +class ModelsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1445,7 +1445,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class EnumsOnlyOperations: +class EnumsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1631,7 +1631,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringAndArrayOperations: +class StringAndArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1817,7 +1817,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MixedLiteralsOperations: +class MixedLiteralsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2003,7 +2003,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MixedTypesOperations: +class MixedTypesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_client.py index f9efe3b76a85..9014a73c8dee 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_configuration.py index 65b6f24e96e1..8a63f0d61b5f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes +class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_client.py index 63a517a4d304..07e112f6bd67 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_configuration.py index 8ebe10d1a7f7..cf16cd00f99a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes +class AddedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/operations/_operations.py index 490a29de43c8..b49ca9d0d75c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/aio/operations/_operations.py @@ -43,7 +43,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/models/_models.py index 5b4d7ef0632a..b928e1a6531b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/models/_models.py @@ -24,6 +24,12 @@ class ModelV1(_Model): :vartype enum_prop: str or ~versioning.added.models.EnumV1 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2". + :paramtype enum_prop: str or ~versioning.added.models.EnumV1 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -66,6 +72,12 @@ class ModelV2(_Model): :vartype enum_prop: str or ~versioning.added.models.EnumV2 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. "enumMember" + :paramtype enum_prop: str or ~versioning.added.models.EnumV2 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/operations/_operations.py index d28a00fbe23c..2999521f15cb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-added/versioning/added/operations/_operations.py @@ -92,7 +92,7 @@ def build_added_v2_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_client.py index 379c25533564..f78f37c14cbd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class MadeOptionalClient(_MadeOptionalClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class MadeOptionalClient( + _MadeOptionalClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@madeOptional`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_configuration.py index 285bb6644ed2..a409ffbf8d23 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class MadeOptionalClientConfiguration: # pylint: disable=too-many-instance-attributes +class MadeOptionalClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for MadeOptionalClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_client.py index c22285756edd..cb4777897671 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class MadeOptionalClient(_MadeOptionalClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class MadeOptionalClient( + _MadeOptionalClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@madeOptional`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py index f65abe6f5fb2..cf66801c7d25 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class MadeOptionalClientConfiguration: # pylint: disable=too-many-instance-attributes +class MadeOptionalClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for MadeOptionalClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/models/_models.py index fc39c72cbaf9..b83fc105b0f9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-madeoptional/versioning/madeoptional/models/_models.py @@ -19,6 +19,10 @@ class TestModel(_Model): :vartype prop: str :ivar changed_prop: :vartype changed_prop: str + :keyword prop: Required. + :paramtype prop: str + :keyword changed_prop: + :paramtype changed_prop: str """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_client.py index 4a9769a93b74..a0621dab88d3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class RemovedClient(_RemovedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RemovedClient( + _RemovedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@removed`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_configuration.py index b47a554fa8ba..8a96df4b51fa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class RemovedClientConfiguration: # pylint: disable=too-many-instance-attributes +class RemovedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for RemovedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_client.py index a1fda175edd9..c5d57c7b32bf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class RemovedClient(_RemovedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RemovedClient( + _RemovedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@removed`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_configuration.py index c8433ce2f2e4..1c4ae39ecdc0 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class RemovedClientConfiguration: # pylint: disable=too-many-instance-attributes +class RemovedClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for RemovedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/models/_models.py index 81b0feab35a4..dc67b56be6c3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-removed/versioning/removed/models/_models.py @@ -24,6 +24,12 @@ class ModelV2(_Model): :vartype enum_prop: str or ~versioning.removed.models.EnumV2 :ivar union_prop: Required. Is either a str type or a float type. :vartype union_prop: str or float + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. "enumMemberV2" + :paramtype enum_prop: str or ~versioning.removed.models.EnumV2 + :keyword union_prop: Required. Is either a str type or a float type. + :paramtype union_prop: str or float """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -64,6 +70,10 @@ class ModelV3(_Model): :vartype id: str :ivar enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2Preview". :vartype enum_prop: str or ~versioning.removed.models.EnumV3 + :keyword id: Required. + :paramtype id: str + :keyword enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2Preview". + :paramtype enum_prop: str or ~versioning.removed.models.EnumV3 """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_client.py index 8df234c4bb51..6fd8d4b068db 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class RenamedFromClient(_RenamedFromClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RenamedFromClient( + _RenamedFromClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@renamedFrom`` decorator. :ivar new_interface: NewInterfaceOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_configuration.py index b99d1d3107c8..278dddaca2fb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class RenamedFromClientConfiguration: # pylint: disable=too-many-instance-attributes +class RenamedFromClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for RenamedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py index b27d2b402850..ba6a22e2ac2e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py @@ -24,7 +24,9 @@ from typing_extensions import Self # type: ignore -class RenamedFromClient(_RenamedFromClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RenamedFromClient( + _RenamedFromClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@renamedFrom`` decorator. :ivar new_interface: NewInterfaceOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py index 02252b48b1af..c4a7198e9f93 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class RenamedFromClientConfiguration: # pylint: disable=too-many-instance-attributes +class RenamedFromClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for RenamedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py index c8ea34a03881..f78b2c96dff5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py @@ -41,7 +41,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class NewInterfaceOperations: +class NewInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/models/_models.py index 700e605a90df..1f65cda25451 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/models/_models.py @@ -24,6 +24,12 @@ class NewModel(_Model): :vartype enum_prop: str or ~versioning.renamedfrom.models.NewEnum :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword new_prop: Required. + :paramtype new_prop: str + :keyword enum_prop: Required. "newEnumMember" + :paramtype enum_prop: str or ~versioning.renamedfrom.models.NewEnum + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ new_prop: str = rest_field(name="newProp", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py index e8778ec8a3a4..f8886f1f7c36 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py @@ -77,7 +77,7 @@ def build_renamed_from_new_op_request(*, new_query: str, **kwargs: Any) -> HttpR return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) -class NewInterfaceOperations: +class NewInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py index 517cc2fbf115..457e5b1cb9f2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py @@ -26,7 +26,7 @@ class ReturnTypeChangedFromClient( _ReturnTypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@returnTypeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py index f68b68302ed8..5d474e274bac 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class ReturnTypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes +class ReturnTypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ReturnTypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py index 67d0f8671196..79d4daf8bc84 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py @@ -26,7 +26,7 @@ class ReturnTypeChangedFromClient( _ReturnTypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@returnTypeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py index 572ccca1ea72..50bc71c45173 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class ReturnTypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes +class ReturnTypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for ReturnTypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_client.py index 557c79b46791..5b417105d163 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_client.py @@ -26,7 +26,7 @@ class TypeChangedFromClient( _TypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@typeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py index c8cdc9c823cb..d503a5c71a09 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from ._version import VERSION -class TypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes +class TypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for TypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py index 11cd7a6aea07..35d5fc024978 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py index 9357d9298239..5783974db8ac 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py @@ -26,7 +26,7 @@ class TypeChangedFromClient( _TypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@typeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py index 7658a2e5cded..a9b4484137b2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -13,7 +14,7 @@ from .._version import VERSION -class TypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes +class TypeChangedFromClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for TypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py index 888ce1ff6c18..1ebcd8b63287 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/azure/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py @@ -19,6 +19,10 @@ class TestModel(_Model): :vartype prop: str :ivar changed_prop: Required. :vartype changed_prop: str + :keyword prop: Required. + :paramtype prop: str + :keyword changed_prop: Required. + :paramtype changed_prop: str """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/models/_models.py index 74139dbef589..3021669e0f88 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-api-key/authentication/apikey/models/_models.py @@ -11,6 +11,8 @@ class InvalidAuth(_Model): :ivar error: Required. :vartype error: str + :keyword error: Required. + :paramtype error: str """ error: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/models/_models.py index 74139dbef589..3021669e0f88 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-http-custom/authentication/http/custom/models/_models.py @@ -11,6 +11,8 @@ class InvalidAuth(_Model): :ivar error: Required. :vartype error: str + :keyword error: Required. + :paramtype error: str """ error: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-noauth-union/authentication/noauth/union/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/models/_models.py index 74139dbef589..3021669e0f88 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-oauth2/authentication/oauth2/models/_models.py @@ -11,6 +11,8 @@ class InvalidAuth(_Model): :ivar error: Required. :vartype error: str + :keyword error: Required. + :paramtype error: str """ error: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/authentication-union/authentication/union/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/models/_models.py index 4d81add6e7e5..6905f6658827 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/models/_models.py @@ -14,6 +14,8 @@ class CommaDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="commaDelimited") @@ -42,6 +44,8 @@ class CommaDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -72,6 +76,8 @@ class CommaDelimitedExtensibleEnumArrayProperty(_Model): # pylint: disable=name :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( @@ -102,6 +108,8 @@ class NewlineDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="newlineDelimited") @@ -130,6 +138,8 @@ class NewlineDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -160,6 +170,8 @@ class NewlineDelimitedExtensibleEnumArrayProperty(_Model): # pylint: disable=na :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( @@ -190,6 +202,8 @@ class PipeDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="pipeDelimited") @@ -218,6 +232,8 @@ class PipeDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -248,6 +264,8 @@ class PipeDelimitedExtensibleEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( @@ -278,6 +296,8 @@ class SpaceDelimitedArrayProperty(_Model): :ivar value: Required. :vartype value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ value: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="spaceDelimited") @@ -306,6 +326,8 @@ class SpaceDelimitedEnumArrayProperty(_Model): :ivar value: Required. :vartype value: list[str or ~encode.array.models.Colors] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.Colors] """ value: list[Union[str, "_models.Colors"]] = rest_field( @@ -336,6 +358,8 @@ class SpaceDelimitedExtensibleEnumArrayProperty(_Model): # pylint: disable=name :ivar value: Required. :vartype value: list[str or ~encode.array.models.ColorsExtensibleEnum] + :keyword value: Required. + :paramtype value: list[str or ~encode.array.models.ColorsExtensibleEnum] """ value: list[Union[str, "_models.ColorsExtensibleEnum"]] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/aio/operations/_operations.py index 2edadd55dda6..ac0c9fea992e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/aio/operations/_operations.py @@ -43,7 +43,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/operations/_operations.py index 8b121b69d91e..e762643cbb89 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-array/encode/array/property/operations/_operations.py @@ -244,7 +244,7 @@ def build_property_extensible_enum_newline_delimited_request( # pylint: disable return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/aio/operations/_operations.py index d209b7467fb5..b6568ad5575e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/models/_models.py index b0f3f3d8535d..6cffe511d689 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/models/_models.py @@ -11,6 +11,8 @@ class BoolAsStringProperty(_Model): :ivar value: Required. :vartype value: bool + :keyword value: Required. + :paramtype value: bool """ value: bool = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/operations/_operations.py index 3451ed1b8c03..2f7635af1d8e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-boolean/encode/boolean/property/operations/_operations.py @@ -99,7 +99,7 @@ def build_property_false_mixed_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/aio/operations/_operations.py index aa813e6c7d4e..840e788f2ec8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/operations/_operations.py index 5be5ffd475c5..2cb9192172c5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/header/operations/_operations.py @@ -73,7 +73,7 @@ def build_header_base64_url_array_request(*, value: list[bytes], **kwargs: Any) return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/models/_models.py index 06f7fb5fb9e4..8476fe941c14 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/models/_models.py @@ -11,6 +11,8 @@ class Base64BytesProperty(_Model): :ivar value: Required. :vartype value: bytes + :keyword value: Required. + :paramtype value: bytes """ value: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") @@ -39,6 +41,8 @@ class Base64urlArrayBytesProperty(_Model): :ivar value: Required. :vartype value: list[bytes] + :keyword value: Required. + :paramtype value: list[bytes] """ value: list[bytes] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64url") @@ -67,6 +71,8 @@ class Base64urlBytesProperty(_Model): :ivar value: Required. :vartype value: bytes + :keyword value: Required. + :paramtype value: bytes """ value: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64url") @@ -95,6 +101,8 @@ class DefaultBytesProperty(_Model): :ivar value: Required. :vartype value: bytes + :keyword value: Required. + :paramtype value: bytes """ value: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/aio/operations/_operations.py index fc87fc94ffda..49f8ec979471 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/aio/operations/_operations.py @@ -34,7 +34,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/operations/_operations.py index 97c15482dfd3..ea5f027b61ab 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/property/operations/_operations.py @@ -99,7 +99,7 @@ def build_property_base64_url_array_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/aio/operations/_operations.py index 045569b2214d..483749b3d77c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/operations/_operations.py index ff22000d0537..f692f5b6bc87 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/query/operations/_operations.py @@ -73,7 +73,7 @@ def build_query_base64_url_array_request(*, value: list[bytes], **kwargs: Any) - return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py index 25994243742f..80ec8b71cb3d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py @@ -31,7 +31,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class RequestBodyOperations: +class RequestBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/operations/_operations.py index edb24cc61888..7707b438c9e8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/requestbody/operations/_operations.py @@ -95,7 +95,7 @@ def build_request_body_base64_url_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class RequestBodyOperations: +class RequestBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py index b8500ca9637d..9456f01a7599 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py @@ -31,7 +31,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ResponseBodyOperations: +class ResponseBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/operations/_operations.py index c6380caae191..ce7938519872 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-bytes/encode/bytes/responsebody/operations/_operations.py @@ -98,7 +98,7 @@ def build_response_body_base64_url_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class ResponseBodyOperations: +class ResponseBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/aio/operations/_operations.py index c0adab36b357..a4f26b6f50ff 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/operations/_operations.py index 783d3acf57f0..849bd9cb0260 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/header/operations/_operations.py @@ -88,7 +88,7 @@ def build_header_unix_timestamp_array_request( # pylint: disable=name-too-long return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/models/_models.py index bbc2518cba0e..3ed0c49ed5e8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/models/_models.py @@ -12,6 +12,8 @@ class DefaultDatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field(visibility=["read", "create", "update", "delete", "query"], format="rfc3339") @@ -40,6 +42,8 @@ class Rfc3339DatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field(visibility=["read", "create", "update", "delete", "query"], format="rfc3339") @@ -68,6 +72,8 @@ class Rfc7231DatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field(visibility=["read", "create", "update", "delete", "query"], format="rfc7231") @@ -96,6 +102,8 @@ class UnixTimestampArrayDatetimeProperty(_Model): :ivar value: Required. :vartype value: list[~datetime.datetime] + :keyword value: Required. + :paramtype value: list[~datetime.datetime] """ value: list[datetime.datetime] = rest_field( @@ -126,6 +134,8 @@ class UnixTimestampDatetimeProperty(_Model): :ivar value: Required. :vartype value: ~datetime.datetime + :keyword value: Required. + :paramtype value: ~datetime.datetime """ value: datetime.datetime = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/aio/operations/_operations.py index d8b1caa2411d..54ae71560cfd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/aio/operations/_operations.py @@ -35,7 +35,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/operations/_operations.py index d58aec549596..617835dd6578 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/property/operations/_operations.py @@ -116,7 +116,7 @@ def build_property_unix_timestamp_array_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/aio/operations/_operations.py index 90dfe49e132e..271f0570189d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/operations/_operations.py index 462533b46e38..0288ee1d4e96 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/query/operations/_operations.py @@ -86,7 +86,7 @@ def build_query_unix_timestamp_array_request(*, value: list[datetime.datetime], return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py index 9eaa3b2f01a7..1e92d568acf5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ResponseHeaderOperations: +class ResponseHeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/operations/_operations.py index f6b7419e8f96..fba1ec98d96a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-datetime/encode/datetime/responseheader/operations/_operations.py @@ -52,7 +52,7 @@ def build_response_header_unix_timestamp_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class ResponseHeaderOperations: +class ResponseHeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/aio/operations/_operations.py index 557dc90241f3..ed3cbd6a7099 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/aio/operations/_operations.py @@ -23,7 +23,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class LossyOperations: +class LossyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/aio/operations/_operations.py index 10780d132279..df748a908a6e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/operations/_operations.py index 72dc59bdf81e..7264c8bc3fc3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/header/operations/_operations.py @@ -206,7 +206,7 @@ def build_header_int32_milliseconds_array_request( # pylint: disable=name-too-l return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/operations/_operations.py index 45ed47698204..b5fd5c20627e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/operations/_operations.py @@ -50,7 +50,7 @@ def build_lossy_int_milliseconds_request(*, input: datetime.timedelta, **kwargs: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class LossyOperations: +class LossyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/aio/operations/_operations.py index 0a5bd482c6a8..1f4e1f9edf05 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/aio/operations/_operations.py @@ -45,7 +45,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/models/_models.py index 573a65ad422d..9ebde3443bd1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/models/_models.py @@ -12,6 +12,8 @@ class DefaultDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -40,6 +42,8 @@ class Float64MillisecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -70,6 +74,8 @@ class Float64SecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -100,6 +106,8 @@ class FloatMillisecondsDurationArrayProperty(_Model): :ivar value: Required. :vartype value: list[~datetime.timedelta] + :keyword value: Required. + :paramtype value: list[~datetime.timedelta] """ value: list[datetime.timedelta] = rest_field( @@ -130,6 +138,8 @@ class FloatMillisecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -160,6 +170,8 @@ class FloatMillisecondsLargerUnitDurationProperty(_Model): # pylint: disable=na :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -190,6 +202,8 @@ class FloatSecondsDurationArrayProperty(_Model): :ivar value: Required. :vartype value: list[~datetime.timedelta] + :keyword value: Required. + :paramtype value: list[~datetime.timedelta] """ value: list[datetime.timedelta] = rest_field( @@ -220,6 +234,8 @@ class FloatSecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -250,6 +266,8 @@ class FloatSecondsLargerUnitDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -280,6 +298,8 @@ class Int32MillisecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -310,6 +330,8 @@ class Int32MillisecondsLargerUnitDurationProperty(_Model): # pylint: disable=na :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -340,6 +362,8 @@ class Int32SecondsDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -370,6 +394,8 @@ class Int32SecondsLargerUnitDurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field( @@ -400,6 +426,8 @@ class ISO8601DurationProperty(_Model): :ivar value: Required. :vartype value: ~datetime.timedelta + :keyword value: Required. + :paramtype value: ~datetime.timedelta """ value: datetime.timedelta = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/operations/_operations.py index e63f91555cfe..bedc3d18d2b4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/property/operations/_operations.py @@ -274,7 +274,7 @@ def build_property_float_milliseconds_larger_unit_request( # pylint: disable=na return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/aio/operations/_operations.py index 19da344dde16..970a1238c4e1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/operations/_operations.py index fae63f4cbb7a..b4c6fd3ddd3d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-duration/encode/duration/query/operations/_operations.py @@ -204,7 +204,7 @@ def build_query_int32_milliseconds_array_request( # pylint: disable=name-too-lo return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/aio/operations/_operations.py index f5f239ffbef3..44525dedbb3d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/models/_models.py index 0e13e85ea1a1..394267578157 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/models/_models.py @@ -11,6 +11,8 @@ class SafeintAsStringProperty(_Model): :ivar value: Required. :vartype value: int + :keyword value: Required. + :paramtype value: int """ value: int = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") @@ -39,6 +41,8 @@ class Uint32AsStringProperty(_Model): :ivar value: :vartype value: int + :keyword value: + :paramtype value: int """ value: Optional[int] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") @@ -66,6 +70,8 @@ class Uint8AsStringProperty(_Model): :ivar value: Required. :vartype value: int + :keyword value: Required. + :paramtype value: int """ value: int = rest_field(visibility=["read", "create", "update", "delete", "query"], format="str") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/operations/_operations.py index 9e3ffa064b73..1f18f0f627b6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/encode-numeric/encode/numeric/property/operations/_operations.py @@ -82,7 +82,7 @@ def build_property_uint8_as_string_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/models/_models.py index 8584b79465a9..ffbe441e80dd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir/generation/subdir/_generated/models/_models.py @@ -14,6 +14,8 @@ class Element(_Model): :ivar extension: :vartype extension: list[~generation.subdir._generated.models.Extension] + :keyword extension: + :paramtype extension: list[~generation.subdir._generated.models.Extension] """ extension: Optional[list["_models.Extension"]] = rest_field( @@ -45,6 +47,10 @@ class Extension(Element): :vartype extension: list[~generation.subdir._generated.models.Extension] :ivar level: Required. :vartype level: int + :keyword level: Required. + :paramtype level: int + :keyword extension: + :paramtype extension: list[~generation.subdir._generated.models.Extension] """ level: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_client.py index 38439bb195a6..d9aa97ee663f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_configuration.py index ece2dfa538b5..b66e8ce5995c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class AddedClientConfiguration: +class AddedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_client.py index 815f8968306f..03fb5737733d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py index c8ac48847170..94d23f7177e2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class AddedClientConfiguration: +class AddedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py index 3e80652c6e86..a0d02ed71b30 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/aio/operations/_operations.py @@ -35,7 +35,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/models/_models.py index 171665c080fa..a7e8d65e860e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/models/_models.py @@ -18,6 +18,12 @@ class ModelV1(_Model): :vartype enum_prop: str or ~generation.subdir2.models.EnumV1 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2". + :paramtype enum_prop: str or ~generation.subdir2.models.EnumV1 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -60,6 +66,12 @@ class ModelV2(_Model): :vartype enum_prop: str or ~generation.subdir2.models.EnumV2 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. "enumMember" + :paramtype enum_prop: str or ~generation.subdir2.models.EnumV2 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/operations/_operations.py index c3bd99441518..2a034819e3e8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/generation-subdir2/generation/subdir2/_generated/operations/_operations.py @@ -85,7 +85,7 @@ def build_added_v2_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/models/_models.py index 70ba12046f1b..23b608fea365 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleanfalse/headasbooleanfalse/models/_models.py @@ -32,6 +32,12 @@ class VisibilityModel(_Model): :vartype update_prop: list[int] :ivar delete_prop: Required bool, illustrating a delete property. Required. :vartype delete_prop: bool + :keyword create_prop: Required string[], illustrating a create property. Required. + :paramtype create_prop: list[str] + :keyword update_prop: Required int32[], illustrating a update property. Required. + :paramtype update_prop: list[int] + :keyword delete_prop: Required bool, illustrating a delete property. Required. + :paramtype delete_prop: bool """ read_prop: str = rest_field(name="readProp", visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/models/_models.py index 70ba12046f1b..23b608fea365 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/headasbooleantrue/headasbooleantrue/models/_models.py @@ -32,6 +32,12 @@ class VisibilityModel(_Model): :vartype update_prop: list[int] :ivar delete_prop: Required bool, illustrating a delete property. Required. :vartype delete_prop: bool + :keyword create_prop: Required string[], illustrating a create property. Required. + :paramtype create_prop: list[str] + :keyword update_prop: Required int32[], illustrating a update property. Required. + :paramtype update_prop: list[int] + :keyword delete_prop: Required bool, illustrating a delete property. Required. + :paramtype delete_prop: bool """ read_prop: str = rest_field(name="readProp", visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py index d4da41ed0e03..34ef1ac3ee1d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ExplicitBodyOperations: +class ExplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/models/_models.py index 838255d521d5..bafe20f19852 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/models/_models.py @@ -11,6 +11,8 @@ class User(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/operations/_operations.py index f71f78ac57c4..0bc7bccd0ad5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/explicitbody/operations/_operations.py @@ -43,7 +43,7 @@ def build_explicit_body_simple_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ExplicitBodyOperations: +class ExplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/aio/operations/_operations.py index 05af2bef21a7..1f5cac96fc12 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ImplicitBodyOperations: +class ImplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/operations/_operations.py index 300942c2aa66..2f0a9b787c1f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-basic/parameters/basic/implicitbody/operations/_operations.py @@ -45,7 +45,7 @@ def build_implicit_body_simple_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ImplicitBodyOperations: +class ImplicitBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/models/_models.py index 9cdc33500e76..c563722ff17b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/models/_models.py @@ -11,6 +11,8 @@ class BodyModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py index 58b136360f84..8af0014da6a2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class OptionalExplicitOperations: +class OptionalExplicitOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py index 622f6ea4d651..9f5a1a1e0c38 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py @@ -57,7 +57,7 @@ def build_optional_explicit_omit_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class OptionalExplicitOperations: +class OptionalExplicitOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/models/_models.py index a1ab5e1772bc..2e2e7823416d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-body-root/parameters/bodyroot/models/_models.py @@ -18,6 +18,12 @@ class BodyRootModel(_Model): :vartype link_type: str :ivar was_successful: :vartype was_successful: bool + :keyword category: + :paramtype category: str + :keyword link_type: + :paramtype link_type: str + :keyword was_successful: + :paramtype was_successful: bool """ category: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -51,6 +57,8 @@ class NestedParameterBody(_Model): :ivar body_root_parameters: Required. :vartype body_root_parameters: ~parameters.bodyroot.models.BodyRootModel + :keyword body_root_parameters: Required. + :paramtype body_root_parameters: ~parameters.bodyroot.models.BodyRootModel """ body_root_parameters: "_models.BodyRootModel" = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py index fa8a7ee67bb8..17c8b65fd83a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py @@ -22,7 +22,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py index c4811553d4a7..2fc479c825fd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py @@ -37,7 +37,7 @@ def build_header_csv_request(*, colors: list[str], **kwargs: Any) -> HttpRequest return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class HeaderOperations: +class HeaderOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py index 2f3730542db9..4e32a875b956 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py index 6f348e8e6dde..04cca7444430 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py @@ -73,7 +73,7 @@ def build_query_csv_request(*, colors: list[str], **kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryOperations: +class QueryOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-path/parameters/path/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/aio/operations/_operations.py index 7e50b3f5b61e..362140792faa 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/aio/operations/_operations.py @@ -22,7 +22,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ConstantOperations: +class ConstantOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -83,7 +83,7 @@ async def post(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class SpecialCharOperations: +class SpecialCharOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/operations/_operations.py index 3be00ad4be76..ef6f7683fda4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-query/parameters/query/operations/_operations.py @@ -50,7 +50,7 @@ def build_special_char_dollar_sign_request(*, filter: str, **kwargs: Any) -> Htt return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class ConstantOperations: +class ConstantOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -111,7 +111,7 @@ def post(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-st return cls(pipeline_response, None, {}) # type: ignore -class SpecialCharOperations: +class SpecialCharOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/aio/operations/_operations.py index ecee0c8c7981..cc96311ebad7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class AliasOperations: +class AliasOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/operations/_operations.py index 9298b4b13b48..43bc19e541c5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/alias/operations/_operations.py @@ -134,7 +134,7 @@ def build_alias_spread_parameter_with_inner_alias_request( # pylint: disable=na return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class AliasOperations: +class AliasOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/aio/operations/_operations.py index 83725ec42575..1d974ecbe866 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/models/_models.py index fe299db67e33..81d93797d5e2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/models/_models.py @@ -11,6 +11,8 @@ class BodyParameter(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/operations/_operations.py index b493bbb1592f..076347b169e1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/parameters-spread/parameters/spread/model/operations/_operations.py @@ -125,7 +125,7 @@ def build_model_spread_composite_request_mix_request( # pylint: disable=name-to return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py index 337ee6a07742..0bc08bd4aadf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py @@ -30,7 +30,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class DifferentBodyOperations: +class DifferentBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py index 60eacb31f90e..d47d5b466516 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py @@ -11,6 +11,8 @@ class PngImageAsJson(_Model): :ivar content: Required. :vartype content: bytes + :keyword content: Required. + :paramtype content: bytes """ content: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py index 16f27bd3bdb6..5874652a142c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py @@ -55,7 +55,7 @@ def build_different_body_get_avatar_as_json_request(**kwargs: Any) -> HttpReques return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class DifferentBodyOperations: +class DifferentBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/aio/operations/_operations.py index 1d144fe29eed..b3ad57988d58 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/aio/operations/_operations.py @@ -28,7 +28,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class SameBodyOperations: +class SameBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/operations/_operations.py index 156ff41931e7..fdee174979bb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-content-negotiation/payload/contentnegotiation/samebody/operations/_operations.py @@ -53,7 +53,7 @@ def build_same_body_get_avatar_as_jpeg_request(**kwargs: Any) -> HttpRequest: # return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class SameBodyOperations: +class SameBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-head/payload/head/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py index e20182c1b31c..8ef316902c84 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py @@ -16,6 +16,10 @@ class InnerModel(_Model): :vartype name: str :ivar description: :vartype description: str + :keyword name: + :paramtype name: str + :keyword description: + :paramtype description: str """ name: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -59,6 +63,22 @@ class Resource(_Model): :vartype inner_model: ~payload.jsonmergepatch.models.InnerModel :ivar int_array: :vartype int_array: list[int] + :keyword name: Required. + :paramtype name: str + :keyword description: + :paramtype description: str + :keyword map: + :paramtype map: dict[str, ~payload.jsonmergepatch.models.InnerModel] + :keyword array: + :paramtype array: list[~payload.jsonmergepatch.models.InnerModel] + :keyword int_value: + :paramtype int_value: int + :keyword float_value: + :paramtype float_value: float + :keyword inner_model: + :paramtype inner_model: ~payload.jsonmergepatch.models.InnerModel + :keyword int_array: + :paramtype int_array: list[int] """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -121,6 +141,20 @@ class ResourcePatch(_Model): :vartype inner_model: ~payload.jsonmergepatch.models.InnerModel :ivar int_array: :vartype int_array: list[int] + :keyword description: + :paramtype description: str + :keyword map: + :paramtype map: dict[str, ~payload.jsonmergepatch.models.InnerModel] + :keyword array: + :paramtype array: list[~payload.jsonmergepatch.models.InnerModel] + :keyword int_value: + :paramtype int_value: int + :keyword float_value: + :paramtype float_value: float + :keyword inner_model: + :paramtype inner_model: ~payload.jsonmergepatch.models.InnerModel + :keyword int_array: + :paramtype int_array: list[int] """ description: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py index 2e279d3ab18d..fb908851b396 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py @@ -32,7 +32,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringBodyOperations: +class StringBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/operations/_operations.py index 0e2cdd0de817..9b7f6af7473a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-media-type/payload/mediatype/stringbody/operations/_operations.py @@ -83,7 +83,7 @@ def build_string_body_get_as_json_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class StringBodyOperations: +class StringBodyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py index 38d6fc1e5abc..d2a8cfd7ec57 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py @@ -38,7 +38,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FormDataOperations: +class FormDataOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/aio/operations/_operations.py index 51fc2475c904..707cbe7c50ec 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FormDataFileOperations: +class FormDataFileOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/models/_models.py index 84431c967f2c..8ffb32f6be75 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/models/_models.py @@ -12,6 +12,8 @@ class UploadFileArrayRequest(_Model): :ivar files: Required. :vartype files: list[~payload.multipart._utils.utils.FileType] + :keyword files: Required. + :paramtype files: list[~payload.multipart._utils.utils.FileType] """ files: list[FileType] = rest_field( @@ -42,6 +44,8 @@ class UploadFileRequiredFilenameRequest(_Model): :ivar file: Required. :vartype file: ~payload.multipart._utils.utils.FileType + :keyword file: Required. + :paramtype file: ~payload.multipart._utils.utils.FileType """ file: FileType = rest_field( @@ -72,6 +76,8 @@ class UploadFileSpecificContentTypeRequest(_Model): :ivar file: Required. :vartype file: ~payload.multipart._utils.utils.FileType + :keyword file: Required. + :paramtype file: ~payload.multipart._utils.utils.FileType """ file: FileType = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/operations/_operations.py index 594e7023a3c4..b0138283a147 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/file/operations/_operations.py @@ -59,7 +59,7 @@ def build_form_data_file_upload_file_array_request(**kwargs: Any) -> HttpRequest return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FormDataFileOperations: +class FormDataFileOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/aio/operations/_operations.py index 1236e0c622bf..d87390da1dd4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/aio/operations/_operations.py @@ -27,7 +27,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FormDataHttpPartsOperations: +class FormDataHttpPartsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/aio/operations/_operations.py index 94e9e09681dd..9f64572ab5dc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FormDataHttpPartsContentTypeOperations: +class FormDataHttpPartsContentTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/operations/_operations.py index 9b27ab493ef4..5e353d37428d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/contenttype/operations/_operations.py @@ -61,7 +61,7 @@ def build_form_data_http_parts_content_type_optional_content_type_request( # py return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FormDataHttpPartsContentTypeOperations: +class FormDataHttpPartsContentTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py index cbbe9686b4f8..1b8c08ae8c64 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py @@ -25,7 +25,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class FormDataHttpPartsNonStringOperations: +class FormDataHttpPartsNonStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py index 710fc8be59e1..5989768cc596 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py @@ -11,6 +11,8 @@ class FloatRequest(_Model): :ivar temperature: Required. :vartype temperature: float + :keyword temperature: Required. + :paramtype temperature: float """ temperature: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py index 981e3d46cfa0..5c331c877e4e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py @@ -37,7 +37,7 @@ def build_form_data_http_parts_non_string_float_request(**kwargs: Any) -> HttpRe return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FormDataHttpPartsNonStringOperations: +class FormDataHttpPartsNonStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/operations/_operations.py index ef7011b676be..9ef4bca4703c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/httpparts/operations/_operations.py @@ -41,7 +41,7 @@ def build_form_data_http_parts_json_array_and_file_array_request( # pylint: dis return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FormDataHttpPartsOperations: +class FormDataHttpPartsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/models/_models.py index a0f568bf5014..9f15273e5536 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/models/_models.py @@ -12,6 +12,8 @@ class AnonymousModelRequest(_Model): :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/operations/_operations.py index 653523cd5d29..1b59085dc943 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/formdata/operations/_operations.py @@ -114,7 +114,7 @@ def build_form_data_anonymous_model_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class FormDataOperations: +class FormDataOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/models/_models.py index b20a2ec2d2c2..39367ded5294 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-multipart/payload/multipart/models/_models.py @@ -15,6 +15,8 @@ class Address(_Model): :ivar city: Required. :vartype city: str + :keyword city: Required. + :paramtype city: str """ city: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -45,6 +47,10 @@ class BinaryArrayPartsRequest(_Model): :vartype id: str :ivar pictures: Required. :vartype pictures: list[~payload.multipart._utils.utils.FileType] + :keyword id: Required. + :paramtype id: str + :keyword pictures: Required. + :paramtype pictures: list[~payload.multipart._utils.utils.FileType] """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -86,6 +92,16 @@ class ComplexHttpPartsModelRequest(_Model): :vartype previous_addresses: list[~payload.multipart.models.Address] :ivar pictures: Required. :vartype pictures: list[~payload.multipart._utils.utils.FileType] + :keyword id: Required. + :paramtype id: str + :keyword address: Required. + :paramtype address: ~payload.multipart.models.Address + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType + :keyword previous_addresses: Required. + :paramtype previous_addresses: list[~payload.multipart.models.Address] + :keyword pictures: Required. + :paramtype pictures: list[~payload.multipart._utils.utils.FileType] """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -138,6 +154,14 @@ class ComplexPartsRequest(_Model): :vartype profile_image: ~payload.multipart._utils.utils.FileType :ivar pictures: Required. :vartype pictures: list[~payload.multipart._utils.utils.FileType] + :keyword id: Required. + :paramtype id: str + :keyword address: Required. + :paramtype address: ~payload.multipart.models.Address + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType + :keyword pictures: Required. + :paramtype pictures: list[~payload.multipart._utils.utils.FileType] """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -179,6 +203,8 @@ class FileWithHttpPartOptionalContentTypeRequest(_Model): # pylint: disable=nam :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -209,6 +235,8 @@ class FileWithHttpPartRequiredContentTypeRequest(_Model): # pylint: disable=nam :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -239,6 +267,8 @@ class FileWithHttpPartSpecificContentTypeRequest(_Model): # pylint: disable=nam :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -271,6 +301,10 @@ class JsonPartRequest(_Model): :vartype address: ~payload.multipart.models.Address :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword address: Required. + :paramtype address: ~payload.multipart.models.Address + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ address: "_models.Address" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -306,6 +340,10 @@ class MultiBinaryPartsRequest(_Model): :vartype profile_image: ~payload.multipart._utils.utils.FileType :ivar picture: :vartype picture: ~payload.multipart._utils.utils.FileType + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType + :keyword picture: + :paramtype picture: ~payload.multipart._utils.utils.FileType """ profile_image: FileType = rest_field( @@ -342,6 +380,10 @@ class MultiPartOptionalRequest(_Model): :vartype id: str :ivar profile_image: :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword id: + :paramtype id: str + :keyword profile_image: + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ id: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -375,6 +417,10 @@ class MultiPartRequest(_Model): :vartype id: str :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._utils.utils.FileType + :keyword id: Required. + :paramtype id: str + :keyword profile_image: Required. + :paramtype profile_image: ~payload.multipart._utils.utils.FileType """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -410,6 +456,10 @@ class MultiPartRequestWithWireName(_Model): :vartype identifier: str :ivar image: Required. :vartype image: ~payload.multipart._utils.utils.FileType + :keyword identifier: Required. + :paramtype identifier: str + :keyword image: Required. + :paramtype image: ~payload.multipart._utils.utils.FileType """ identifier: str = rest_field(name="id", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/models/_models.py index 31d78047c4a1..b59afc05bbb5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/models/_models.py @@ -13,6 +13,10 @@ class Pet(_Model): :vartype id: str :ivar name: Required. :vartype name: str + :keyword id: Required. + :paramtype id: str + :keyword name: Required. + :paramtype name: str """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -46,6 +50,10 @@ class XmlPet(_Model): :vartype id: str :ivar name: Required. :vartype name: str + :keyword id: Required. + :paramtype id: str + :keyword name: Required. + :paramtype name: str """ id: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py index d35c74fe7393..68caa77ba21d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/aio/operations/_operations.py @@ -28,7 +28,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PageSizeOperations: +class PageSizeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/operations/_operations.py index b0dab2abbdd8..e31be86f9d01 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/pagesize/operations/_operations.py @@ -63,7 +63,7 @@ def build_page_size_list_with_page_size_request( # pylint: disable=name-too-lon return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class PageSizeOperations: +class PageSizeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py index 3558fb477e14..e21bb6c4a92d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py @@ -31,7 +31,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ServerDrivenPaginationOperations: +class ServerDrivenPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py index 738302f6d0ac..f1302758b6bb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py index 7f85e2ae0131..0965f4ded37d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/models/_models.py @@ -11,6 +11,8 @@ class Filter(_Model): :ivar filter: Required. :vartype filter: str + :keyword filter: Required. + :paramtype filter: str """ filter: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py index d499dca2e77e..fa72402f9822 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/alternateinitialverb/operations/_operations.py @@ -50,7 +50,7 @@ def build_server_driven_pagination_alternate_initial_verb_post_request( # pylin return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationAlternateInitialVerbOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py index 26842f49621c..7f63ea682028 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py @@ -32,7 +32,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py index 0394f1f4a258..0d8814565526 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/_models.py @@ -14,6 +14,8 @@ class RequestHeaderNestedResponseBodyResponseNestedItems(_Model): # pylint: dis :ivar pets: Required. :vartype pets: list[~payload.pageable.models.Pet] + :keyword pets: Required. + :paramtype pets: list[~payload.pageable.models.Pet] """ pets: list["_models3.Pet"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -42,6 +44,8 @@ class RequestHeaderNestedResponseBodyResponseNestedNext(_Model): # pylint: disa :ivar next_token: :vartype next_token: str + :keyword next_token: + :paramtype next_token: str """ next_token: Optional[str] = rest_field(name="nextToken", visibility=["read", "create", "update", "delete", "query"]) @@ -69,6 +73,8 @@ class RequestQueryNestedResponseBodyResponseNestedItems(_Model): # pylint: disa :ivar pets: Required. :vartype pets: list[~payload.pageable.models.Pet] + :keyword pets: Required. + :paramtype pets: list[~payload.pageable.models.Pet] """ pets: list["_models3.Pet"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -97,6 +103,8 @@ class RequestQueryNestedResponseBodyResponseNestedNext(_Model): # pylint: disab :ivar next_token: :vartype next_token: str + :keyword next_token: + :paramtype next_token: str """ next_token: Optional[str] = rest_field(name="nextToken", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py index 809117db1abe..7c2ae4013e55 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py @@ -179,7 +179,7 @@ def build_server_driven_pagination_continuation_token_request_header_nested_resp return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py index 41a779056b57..5da51de05609 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/models/_models.py @@ -14,6 +14,8 @@ class NestedLinkResponseNestedItems(_Model): :ivar pets: Required. :vartype pets: list[~payload.pageable.models.Pet] + :keyword pets: Required. + :paramtype pets: list[~payload.pageable.models.Pet] """ pets: list["_models2.Pet"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -42,6 +44,8 @@ class NestedLinkResponseNestedNext(_Model): :ivar next: :vartype next: str + :keyword next: + :paramtype next: str """ next: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py index e875452d7d14..672c7279a6b4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py @@ -72,7 +72,7 @@ def build_server_driven_pagination_nested_link_request(**kwargs: Any) -> HttpReq return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class ServerDrivenPaginationOperations: +class ServerDrivenPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py index a13e9ab261e7..c4ef84571733 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class XmlPaginationOperations: +class XmlPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py index 1ffab762984e..e331ed056a6d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-pageable/payload/pageable/xmlpagination/operations/_operations.py @@ -64,7 +64,7 @@ def build_xml_pagination_list_with_next_link_request(**kwargs: Any) -> HttpReque return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class XmlPaginationOperations: +class XmlPaginationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/model_base.py index 8aaee18d7435..33fbc5ff9da9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/aio/operations/_operations.py index e7ae6502fd0b..98f51aa8145f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/aio/operations/_operations.py @@ -80,7 +80,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class SimpleModelValueOperations: +class SimpleModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -203,7 +203,7 @@ async def put(self, input: _models.SimpleModel, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedPropertyValueOperations: +class ModelWithRenamedPropertyValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -327,7 +327,7 @@ async def put(self, input: _models.ModelWithRenamedProperty, **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedFieldsValueOperations: +class ModelWithRenamedFieldsValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -450,7 +450,7 @@ async def put(self, input: _models.ModelWithRenamedFields, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNestedModelValueOperations: +class ModelWithNestedModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -573,7 +573,7 @@ async def put(self, input: _models.ModelWithNestedModel, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedNestedModelValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedNestedModelValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -697,7 +697,7 @@ async def put(self, input: _models.ModelWithRenamedNestedModel, **kwargs: Any) - return cls(pipeline_response, None, {}) # type: ignore -class ModelWithSimpleArraysValueOperations: +class ModelWithSimpleArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -820,7 +820,7 @@ async def put(self, input: _models.ModelWithSimpleArrays, **kwargs: Any) -> None return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedArrayValueOperations: +class ModelWithUnwrappedArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -943,7 +943,7 @@ async def put(self, input: _models.ModelWithUnwrappedArray, **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedArraysValueOperations: +class ModelWithRenamedArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1066,7 +1066,7 @@ async def put(self, input: _models.ModelWithRenamedArrays, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=name-too-long +class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1190,7 +1190,7 @@ async def put(self, input: _models.ModelWithWrappedPrimitiveCustomItemNames, **k return cls(pipeline_response, None, {}) # type: ignore -class ModelWithArrayOfModelValueOperations: +class ModelWithArrayOfModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1313,7 +1313,7 @@ async def put(self, input: _models.ModelWithArrayOfModel, **kwargs: Any) -> None return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1437,7 +1437,7 @@ async def put(self, input: _models.ModelWithUnwrappedModelArray, **kwargs: Any) return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1561,7 +1561,7 @@ async def put(self, input: _models.ModelWithRenamedWrappedModelArray, **kwargs: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1685,7 +1685,7 @@ async def put(self, input: _models.ModelWithRenamedUnwrappedModelArray, **kwargs return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1809,7 +1809,7 @@ async def put(self, input: _models.ModelWithRenamedWrappedAndItemModelArray, **k return cls(pipeline_response, None, {}) # type: ignore -class ModelWithAttributesValueOperations: +class ModelWithAttributesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1932,7 +1932,7 @@ async def put(self, input: _models.ModelWithAttributes, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedAttributeValueOperations: +class ModelWithRenamedAttributeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2056,7 +2056,7 @@ async def put(self, input: _models.ModelWithRenamedAttribute, **kwargs: Any) -> return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceValueOperations: +class ModelWithNamespaceValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2179,7 +2179,7 @@ async def put(self, input: _models.ModelWithNamespace, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=name-too-long +class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2303,7 +2303,7 @@ async def put(self, input: _models.ModelWithNamespaceOnProperties, **kwargs: Any return cls(pipeline_response, None, {}) # type: ignore -class ModelWithTextValueOperations: +class ModelWithTextValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2426,7 +2426,7 @@ async def put(self, input: _models.ModelWithText, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithOptionalFieldValueOperations: +class ModelWithOptionalFieldValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2549,7 +2549,7 @@ async def put(self, input: _models.ModelWithOptionalField, **kwargs: Any) -> Non return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEmptyArrayValueOperations: +class ModelWithEmptyArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2672,7 +2672,7 @@ async def put(self, input: _models.ModelWithEmptyArray, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDictionaryValueOperations: +class ModelWithDictionaryValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2795,7 +2795,7 @@ async def put(self, input: _models.ModelWithDictionary, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEncodedNamesValueOperations: +class ModelWithEncodedNamesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2918,7 +2918,7 @@ async def put(self, input: _models.ModelWithEncodedNames, **kwargs: Any) -> None return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEnumValueOperations: +class ModelWithEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3041,7 +3041,7 @@ async def put(self, input: _models.ModelWithEnum, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDatetimeValueOperations: +class ModelWithDatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3164,7 +3164,7 @@ async def put(self, input: _models.ModelWithDatetime, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class XmlErrorValueOperations: +class XmlErrorValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/models/_models.py index e4c63fdd83b3..4f4a6916ef41 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/models/_models.py @@ -27,6 +27,8 @@ class Author(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field( @@ -61,6 +63,8 @@ class Book(_Model): :ivar title: Required. :vartype title: str + :keyword title: Required. + :paramtype title: str """ title: str = rest_field( @@ -95,6 +99,8 @@ class ModelWithArrayOfModel(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -134,6 +140,12 @@ class ModelWithAttributes(_Model): :vartype id2: str :ivar enabled: Required. :vartype enabled: bool + :keyword id1: Required. + :paramtype id1: int + :keyword id2: Required. + :paramtype id2: str + :keyword enabled: Required. + :paramtype enabled: bool """ id1: int = rest_field( @@ -184,6 +196,10 @@ class ModelWithDatetime(_Model): :vartype rfc3339: ~datetime.datetime :ivar rfc7231: DateTime value with rfc7231 encoding. Required. :vartype rfc7231: ~datetime.datetime + :keyword rfc3339: DateTime value with rfc3339 encoding. Required. + :paramtype rfc3339: ~datetime.datetime + :keyword rfc7231: DateTime value with rfc7231 encoding. Required. + :paramtype rfc7231: ~datetime.datetime """ rfc3339: datetime.datetime = rest_field( @@ -227,6 +243,8 @@ class ModelWithDictionary(_Model): :ivar metadata: Required. :vartype metadata: dict[str, str] + :keyword metadata: Required. + :paramtype metadata: dict[str, str] """ metadata: dict[str, str] = rest_field( @@ -260,6 +278,8 @@ class ModelWithEmptyArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -297,6 +317,10 @@ class ModelWithEncodedNames(_Model): :vartype model_data: ~payload.xml.models.SimpleModel :ivar colors: Required. :vartype colors: list[str] + :keyword model_data: Required. + :paramtype model_data: ~payload.xml.models.SimpleModel + :keyword colors: Required. + :paramtype colors: list[str] """ model_data: "_models.SimpleModel" = rest_field( @@ -337,6 +361,8 @@ class ModelWithEnum(_Model): :ivar status: Required. Known values are: "pending", "success", and "error". :vartype status: str or ~payload.xml.models.Status + :keyword status: Required. Known values are: "pending", "success", and "error". + :paramtype status: str or ~payload.xml.models.Status """ status: Union[str, "_models.Status"] = rest_field( @@ -373,6 +399,10 @@ class ModelWithNamespace(_Model): :vartype id: int :ivar title: Required. :vartype title: str + :keyword id: Required. + :paramtype id: int + :keyword title: Required. + :paramtype title: str """ id: int = rest_field( @@ -425,6 +455,12 @@ class ModelWithNamespaceOnProperties(_Model): :vartype title: str :ivar author: Required. :vartype author: str + :keyword id: Required. + :paramtype id: int + :keyword title: Required. + :paramtype title: str + :keyword author: Required. + :paramtype author: str """ id: int = rest_field( @@ -494,6 +530,8 @@ class ModelWithNestedModel(_Model): :ivar nested: Required. :vartype nested: ~payload.xml.models.SimpleModel + :keyword nested: Required. + :paramtype nested: ~payload.xml.models.SimpleModel """ nested: "_models.SimpleModel" = rest_field( @@ -529,6 +567,10 @@ class ModelWithOptionalField(_Model): :vartype item: str :ivar value: :vartype value: int + :keyword item: Required. + :paramtype item: str + :keyword value: + :paramtype value: int """ item: str = rest_field( @@ -572,6 +614,10 @@ class ModelWithRenamedArrays(_Model): :vartype colors: list[str] :ivar counts: Required. :vartype counts: list[int] + :keyword colors: Required. + :paramtype colors: list[str] + :keyword counts: Required. + :paramtype counts: list[int] """ colors: list[str] = rest_field( @@ -615,6 +661,12 @@ class ModelWithRenamedAttribute(_Model): :vartype title: str :ivar author: Required. :vartype author: str + :keyword id: Required. + :paramtype id: int + :keyword title: Required. + :paramtype title: str + :keyword author: Required. + :paramtype author: str """ id: int = rest_field( @@ -665,6 +717,10 @@ class ModelWithRenamedFields(_Model): :vartype input_data: ~payload.xml.models.SimpleModel :ivar output_data: Required. :vartype output_data: ~payload.xml.models.SimpleModel + :keyword input_data: Required. + :paramtype input_data: ~payload.xml.models.SimpleModel + :keyword output_data: Required. + :paramtype output_data: ~payload.xml.models.SimpleModel """ input_data: "_models.SimpleModel" = rest_field( @@ -706,6 +762,8 @@ class ModelWithRenamedNestedModel(_Model): :ivar author: Required. :vartype author: ~payload.xml.models.Author + :keyword author: Required. + :paramtype author: ~payload.xml.models.Author """ author: "_models.Author" = rest_field( @@ -741,6 +799,10 @@ class ModelWithRenamedProperty(_Model): :vartype title: str :ivar author: Required. :vartype author: str + :keyword title: Required. + :paramtype title: str + :keyword author: Required. + :paramtype author: str """ title: str = rest_field( @@ -782,6 +844,8 @@ class ModelWithRenamedUnwrappedModelArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -817,6 +881,8 @@ class ModelWithRenamedWrappedAndItemModelArray(_Model): :ivar books: Required. :vartype books: ~payload.xml.models.Book + :keyword books: Required. + :paramtype books: ~payload.xml.models.Book """ books: list["_models.Book"] = rest_field( @@ -850,6 +916,8 @@ class ModelWithRenamedWrappedModelArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -887,6 +955,10 @@ class ModelWithSimpleArrays(_Model): :vartype colors: list[str] :ivar counts: Required. :vartype counts: list[int] + :keyword colors: Required. + :paramtype colors: list[str] + :keyword counts: Required. + :paramtype counts: list[int] """ colors: list[str] = rest_field( @@ -928,6 +1000,10 @@ class ModelWithText(_Model): :vartype language: str :ivar content: Required. :vartype content: str + :keyword language: Required. + :paramtype language: str + :keyword content: Required. + :paramtype content: str """ language: str = rest_field( @@ -971,6 +1047,10 @@ class ModelWithUnwrappedArray(_Model): :vartype colors: list[str] :ivar counts: Required. :vartype counts: list[int] + :keyword colors: Required. + :paramtype colors: list[str] + :keyword counts: Required. + :paramtype counts: list[int] """ colors: list[str] = rest_field( @@ -1010,6 +1090,8 @@ class ModelWithUnwrappedModelArray(_Model): :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel + :keyword items_property: Required. + :paramtype items_property: ~payload.xml.models.SimpleModel """ items_property: list["_models.SimpleModel"] = rest_field( @@ -1045,6 +1127,8 @@ class ModelWithWrappedPrimitiveCustomItemNames(_Model): :ivar tags: Required. :vartype tags: list[str] + :keyword tags: Required. + :paramtype tags: list[str] """ tags: list[str] = rest_field( @@ -1080,6 +1164,10 @@ class SimpleModel(_Model): :vartype name: str :ivar age: Required. :vartype age: int + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int """ name: str = rest_field( @@ -1123,6 +1211,10 @@ class XmlErrorBody(_Model): :vartype message: str :ivar code: Required. :vartype code: int + :keyword message: Required. + :paramtype message: str + :keyword code: Required. + :paramtype code: int """ message: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/operations/_operations.py index 9b6ba0296c05..18c7bb769078 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/payload-xml/payload/xml/operations/_operations.py @@ -747,7 +747,7 @@ def build_xml_error_value_get_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class SimpleModelValueOperations: +class SimpleModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -870,7 +870,7 @@ def put(self, input: _models.SimpleModel, **kwargs: Any) -> None: # pylint: dis return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedPropertyValueOperations: +class ModelWithRenamedPropertyValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -996,7 +996,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedFieldsValueOperations: +class ModelWithRenamedFieldsValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1121,7 +1121,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNestedModelValueOperations: +class ModelWithNestedModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1246,7 +1246,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedNestedModelValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedNestedModelValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1372,7 +1372,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithSimpleArraysValueOperations: +class ModelWithSimpleArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1497,7 +1497,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedArrayValueOperations: +class ModelWithUnwrappedArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1622,7 +1622,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedArraysValueOperations: +class ModelWithRenamedArraysValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1747,7 +1747,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=name-too-long +class ModelWithWrappedPrimitiveCustomItemNamesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -1873,7 +1873,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithArrayOfModelValueOperations: +class ModelWithArrayOfModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1998,7 +1998,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2124,7 +2124,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2250,7 +2250,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedUnwrappedModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2376,7 +2376,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=name-too-long +class ModelWithRenamedWrappedAndItemModelArrayValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -2502,7 +2502,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithAttributesValueOperations: +class ModelWithAttributesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2627,7 +2627,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithRenamedAttributeValueOperations: +class ModelWithRenamedAttributeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2753,7 +2753,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceValueOperations: +class ModelWithNamespaceValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2878,7 +2878,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=name-too-long +class ModelWithNamespaceOnPropertiesValueOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -3004,7 +3004,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithTextValueOperations: +class ModelWithTextValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3129,7 +3129,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithOptionalFieldValueOperations: +class ModelWithOptionalFieldValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3254,7 +3254,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEmptyArrayValueOperations: +class ModelWithEmptyArrayValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3379,7 +3379,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDictionaryValueOperations: +class ModelWithDictionaryValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3504,7 +3504,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEncodedNamesValueOperations: +class ModelWithEncodedNamesValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3629,7 +3629,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithEnumValueOperations: +class ModelWithEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3754,7 +3754,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelWithDatetimeValueOperations: +class ModelWithDatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3879,7 +3879,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class XmlErrorValueOperations: +class XmlErrorValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/models/_models.py index a22cd5571b8c..ee2fef6e7586 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/response-status-code-range/response/statuscoderange/models/_models.py @@ -11,6 +11,8 @@ class DefaultError(_Model): :ivar code: Required. :vartype code: str + :keyword code: Required. + :paramtype code: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -41,6 +43,10 @@ class ErrorInRange(_Model): :vartype code: str :ivar message: Required. :vartype message: str + :keyword code: Required. + :paramtype code: str + :keyword message: Required. + :paramtype message: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -74,6 +80,10 @@ class NotFoundError(_Model): :vartype code: str :ivar resource_id: Required. :vartype resource_id: str + :keyword code: Required. + :paramtype code: str + :keyword resource_id: Required. + :paramtype resource_id: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -105,6 +115,8 @@ class Standard4XXError(_Model): :ivar code: Required. :vartype code: str + :keyword code: Required. + :paramtype code: str """ code: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/aio/operations/_operations.py index 3c78d5fc8a60..9e43dbc1ae1d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/aio/operations/_operations.py @@ -23,7 +23,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class InInterfaceOperations: +class InInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/models/_models.py index 5603b1c6853d..f54327eb924f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/models/_models.py @@ -13,6 +13,10 @@ class ExpandParameters(_Model): :vartype field: str :ivar value: Required. :vartype value: str + :keyword field: Required. + :paramtype field: str + :keyword value: Required. + :paramtype value: str """ field: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/operations/_operations.py index 10d486f68be7..b10606e8e430 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/operations/_operations.py @@ -39,7 +39,7 @@ def build_routes_fixed_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class InInterfaceOperations: +class InInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/aio/operations/_operations.py index 5f5a7e97db77..a47ff417c1db 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/aio/operations/_operations.py @@ -31,7 +31,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersOperations: +class PathParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py index 414761612783..777d1527a06a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py @@ -7,7 +7,7 @@ from ...standard.aio.operations._operations import PathParametersLabelExpansionStandardOperations -class PathParametersLabelExpansionOperations: +class PathParametersLabelExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py index fb0c7d33b926..f4eaf13495b7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersLabelExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py index cf5e7346fd97..a1192195fb12 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_label_expansion_explode_record_request( # pylint: dis return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersLabelExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/operations/_operations.py index 67a2fec60f34..16020e44e7e9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/operations/_operations.py @@ -7,7 +7,7 @@ from ..standard.operations._operations import PathParametersLabelExpansionStandardOperations -class PathParametersLabelExpansionOperations: +class PathParametersLabelExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py index 4f2959d53e96..bf718c1fd5d6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersLabelExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py index 0334197d1019..b04d8d9b8863 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_label_expansion_standard_record_request( # pylint: di return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersLabelExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersLabelExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py index 0380245802e9..4b0e173970b6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py @@ -7,7 +7,7 @@ from ...standard.aio.operations._operations import PathParametersMatrixExpansionStandardOperations -class PathParametersMatrixExpansionOperations: +class PathParametersMatrixExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py index 7425b7f5b144..727d52e5daec 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py index 00a64fb51efc..e80e8d6d8cd3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_matrix_expansion_explode_record_request( # pylint: di return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/operations/_operations.py index 4aad0971a3a7..79d14979eefd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/operations/_operations.py @@ -7,7 +7,7 @@ from ..standard.operations._operations import PathParametersMatrixExpansionStandardOperations -class PathParametersMatrixExpansionOperations: +class PathParametersMatrixExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py index 8de8bf2e3f0b..dd0c03ece5c5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersMatrixExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py index 13b8a0e4cfbb..2348e7b5a2e5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_matrix_expansion_standard_record_request( # pylint: d return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersMatrixExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersMatrixExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/operations/_operations.py index 885ca262c125..3230537da784 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/operations/_operations.py @@ -69,7 +69,7 @@ def build_path_parameters_annotation_only_request( # pylint: disable=name-too-l return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersOperations: +class PathParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py index 7c690d3e428b..382a81f27222 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py @@ -7,7 +7,7 @@ from ...standard.aio.operations._operations import PathParametersPathExpansionStandardOperations -class PathParametersPathExpansionOperations: +class PathParametersPathExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py index 878d397b1a93..3311a9dd2d97 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersPathExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py index 484eb95415fc..a3359342d841 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_path_expansion_explode_record_request( # pylint: disa return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersPathExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/operations/_operations.py index 92f71f21de10..5d7d9e4aff83 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/operations/_operations.py @@ -7,7 +7,7 @@ from ..standard.operations._operations import PathParametersPathExpansionStandardOperations -class PathParametersPathExpansionOperations: +class PathParametersPathExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py index 4194a2951f90..26878702b09d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersPathExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py index 6ed5fbf9f8f2..3d7a59d5f207 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_path_expansion_standard_record_request( # pylint: dis return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersPathExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersPathExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py index d1f3a2f72e22..6f1c52571f42 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py @@ -25,7 +25,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersReservedExpansionOperations: # pylint: disable=name-too-long +class PathParametersReservedExpansionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/operations/_operations.py index 9da31dcbd173..b93a31705713 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/reservedexpansion/operations/_operations.py @@ -52,7 +52,7 @@ def build_path_parameters_reserved_expansion_annotation_request( # pylint: disa return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersReservedExpansionOperations: # pylint: disable=name-too-long +class PathParametersReservedExpansionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py index db0a1145ef17..d3284caebf5e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py @@ -7,7 +7,7 @@ from ...standard.aio.operations._operations import PathParametersSimpleExpansionStandardOperations -class PathParametersSimpleExpansionOperations: +class PathParametersSimpleExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py index 650b1261b40a..8a1e5fa56fe6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py index 4b0638dac8c9..30a68f6d80ff 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_simple_expansion_explode_record_request( # pylint: di return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/operations/_operations.py index 837861f0e6c1..c9875e03bb32 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/operations/_operations.py @@ -7,7 +7,7 @@ from ..standard.operations._operations import PathParametersSimpleExpansionStandardOperations -class PathParametersSimpleExpansionOperations: +class PathParametersSimpleExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py index cd35c6e7686c..e369b5d20397 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PathParametersSimpleExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py index c38726b4107e..0b159e8998c9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py @@ -66,7 +66,7 @@ def build_path_parameters_simple_expansion_standard_record_request( # pylint: d return HttpRequest(method="GET", url=_url, **kwargs) -class PathParametersSimpleExpansionStandardOperations: # pylint: disable=name-too-long +class PathParametersSimpleExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/aio/operations/_operations.py index 46f731ef644b..4e2b54047450 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/aio/operations/_operations.py @@ -28,7 +28,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersOperations: +class QueryParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/operations/_operations.py index 2023ce6e0fe0..f277f03442ad 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/operations/_operations.py @@ -67,7 +67,7 @@ def build_query_parameters_annotation_only_request( # pylint: disable=name-too- return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersOperations: +class QueryParametersOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py index 8340e017a493..c2bc5d80a5f6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py @@ -7,7 +7,7 @@ from ...standard.aio.operations._operations import QueryParametersQueryContinuationStandardOperations -class QueryParametersQueryContinuationOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py index c5656863da30..7092a2846fe3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py index f1944af0312e..df0ef56d7669 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py @@ -67,7 +67,7 @@ def build_query_parameters_query_continuation_explode_record_request( # pylint: return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/operations/_operations.py index 11996d92872d..55233789422c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/operations/_operations.py @@ -7,7 +7,7 @@ from ..standard.operations._operations import QueryParametersQueryContinuationStandardOperations -class QueryParametersQueryContinuationOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py index 9108de6edb14..e02178ffc07b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryContinuationStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py index a3374e11938d..f7a43d89db92 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py @@ -67,7 +67,7 @@ def build_query_parameters_query_continuation_standard_record_request( # pylint return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryContinuationStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryContinuationStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py index 9bad903379fe..6111b31dcd99 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py @@ -7,7 +7,7 @@ from ...standard.aio.operations._operations import QueryParametersQueryExpansionStandardOperations -class QueryParametersQueryExpansionOperations: +class QueryParametersQueryExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py index 4c7628c392eb..9e34702f199b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py @@ -28,7 +28,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py index 5ac31ba15bab..86517a0946a5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py @@ -82,7 +82,7 @@ def build_query_parameters_query_expansion_explode_model_request( # pylint: dis return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionExplodeOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/operations/_operations.py index 2a6a86e95cb2..99a8ffa284d8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/operations/_operations.py @@ -7,7 +7,7 @@ from ..standard.operations._operations import QueryParametersQueryExpansionStandardOperations -class QueryParametersQueryExpansionOperations: +class QueryParametersQueryExpansionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py index 1bddfbedfd4c..01103314bd3b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py @@ -26,7 +26,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class QueryParametersQueryExpansionStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py index c9cd90b113c9..dd103f2993b7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py @@ -67,7 +67,7 @@ def build_query_parameters_query_expansion_standard_record_request( # pylint: d return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class QueryParametersQueryExpansionStandardOperations: # pylint: disable=name-too-long +class QueryParametersQueryExpansionStandardOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py index 7c67cbc06186..853d20781da3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py index cf340fcb4908..e9c936d5eda5 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py @@ -11,6 +11,8 @@ class JsonEncodedNameModel(_Model): :ivar default_name: Pass in true. Required. :vartype default_name: bool + :keyword default_name: Pass in true. Required. + :paramtype default_name: bool """ default_name: bool = rest_field(name="wireName", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py index b2fdcbaf72ae..96a74a30328f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py @@ -59,7 +59,7 @@ def build_property_get_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class PropertyOperations: +class PropertyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-endpoint-not-defined/server/endpoint/notdefined/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_client.py index 9a4f8c6fa86e..5e4cf5aefd07 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_client.py @@ -17,7 +17,7 @@ from typing_extensions import Self # type: ignore -class MultipleClient(_MultipleClientOperationsMixin): +class MultipleClient(_MultipleClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """MultipleClient. :param endpoint: Pass in `http://localhost:3000 `_ for endpoint. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_configuration.py index 41ea4c4b0441..60494ad7ef77 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class MultipleClientConfiguration: +class MultipleClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for MultipleClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_client.py index f55f6d00e75e..418d691a6d2a 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_client.py @@ -17,7 +17,7 @@ from typing_extensions import Self # type: ignore -class MultipleClient(_MultipleClientOperationsMixin): +class MultipleClient(_MultipleClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """MultipleClient. :param endpoint: Pass in `http://localhost:3000 `_ for endpoint. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_configuration.py index 43f69b543c80..3cf8adbd7959 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-multiple/server/path/multiple/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class MultipleClientConfiguration: +class MultipleClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for MultipleClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-path-single/server/path/single/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-not-versioned/server/versions/notversioned/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_client.py index d138215c41c0..b5d1e6bdadcc 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_client.py @@ -17,7 +17,7 @@ from typing_extensions import Self # type: ignore -class VersionedClient(_VersionedClientOperationsMixin): +class VersionedClient(_VersionedClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates versioned server. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_configuration.py index a37c4114f950..9f948ef2b039 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class VersionedClientConfiguration: +class VersionedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for VersionedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_client.py index 43ee6a3949f6..efd926604ba3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_client.py @@ -17,7 +17,7 @@ from typing_extensions import Self # type: ignore -class VersionedClient(_VersionedClientOperationsMixin): +class VersionedClient(_VersionedClientOperationsMixin): # pylint: disable=docstring-keyword-should-match-keyword-only """Illustrates versioned server. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_configuration.py index fb66606aa99d..55bf9257b15d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/server-versions-versioned/server/versions/versioned/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class VersionedClientConfiguration: +class VersionedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for VersionedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/setuppy-authentication-union/setuppy/authentication/union/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-headers-repeatability/specialheaders/repeatability/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/model_base.py index 8aaee18d7435..33fbc5ff9da9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/aio/operations/_operations.py index 67e0c125f83b..8d3b8d09e93b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/aio/operations/_operations.py @@ -91,7 +91,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Operations: # pylint: disable=too-many-public-methods +class Operations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -1462,7 +1462,7 @@ async def yield_method(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ParametersOperations: # pylint: disable=too-many-public-methods +class ParametersOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/aio/operations/_operations.py index 449d6b856844..81f6ae1407a4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/aio/operations/_operations.py @@ -28,7 +28,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ExtensibleStringsOperations: +class ExtensibleStringsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/operations/_operations.py index 5d1bb004e815..32bb63094d6f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/extensiblestrings/operations/_operations.py @@ -48,7 +48,7 @@ def build_extensible_strings_put_extensible_string_value_request( # pylint: dis return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ExtensibleStringsOperations: +class ExtensibleStringsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/aio/operations/_operations.py index 59f7f6df0d54..21aad3c7f5cf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/aio/operations/_operations.py @@ -31,7 +31,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ModelPropertiesOperations: +class ModelPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/models/_models.py index 1d77eb3ce51d..f33d951694d3 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/models/_models.py @@ -31,6 +31,26 @@ class DictMethods(_Model): :vartype get_property: str :ivar copy_property: Required. :vartype copy_property: str + :keyword keys_property: Required. + :paramtype keys_property: str + :keyword items_property: Required. + :paramtype items_property: str + :keyword values_property: Required. + :paramtype values_property: str + :keyword popitem_property: Required. + :paramtype popitem_property: str + :keyword clear_property: Required. + :paramtype clear_property: str + :keyword update_property: Required. + :paramtype update_property: str + :keyword setdefault_property: Required. + :paramtype setdefault_property: str + :keyword pop_property: Required. + :paramtype pop_property: str + :keyword get_property: Required. + :paramtype get_property: str + :keyword copy_property: Required. + :paramtype copy_property: str """ keys_property: str = rest_field( @@ -106,6 +126,8 @@ class ModelWithList(_Model): :ivar list: Required. :vartype list: str + :keyword list: Required. + :paramtype list: str """ list: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -134,6 +156,8 @@ class SameAsModel(_Model): :ivar same_as_model: Required. :vartype same_as_model: str + :keyword same_as_model: Required. + :paramtype same_as_model: str """ same_as_model: str = rest_field(name="SameAsModel", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/operations/_operations.py index 26afe4c42651..3e654f4ab90d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/modelproperties/operations/_operations.py @@ -71,7 +71,7 @@ def build_model_properties_with_list_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ModelPropertiesOperations: +class ModelPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/aio/operations/_operations.py index 3efc18864c1c..2576013b9764 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/aio/operations/_operations.py @@ -62,7 +62,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ModelsOperations: # pylint: disable=too-many-public-methods +class ModelsOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/models/_models.py index 9181bebe4d7b..5741fe174307 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/models/_models.py @@ -13,6 +13,8 @@ class AndModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -41,6 +43,8 @@ class AsModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -69,6 +73,8 @@ class AssertModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -97,6 +103,8 @@ class AsyncModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -125,6 +133,8 @@ class AwaitModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -153,6 +163,8 @@ class BreakModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -181,6 +193,8 @@ class ClassModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -209,6 +223,8 @@ class Constructor(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -237,6 +253,8 @@ class ContinueModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -265,6 +283,8 @@ class DefModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -293,6 +313,8 @@ class DelModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -321,6 +343,8 @@ class ElifModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -349,6 +373,8 @@ class ElseModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -377,6 +403,8 @@ class ExceptModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -405,6 +433,8 @@ class ExecModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -433,6 +463,8 @@ class FinallyModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -461,6 +493,8 @@ class ForModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -489,6 +523,8 @@ class FromModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -517,6 +553,8 @@ class GlobalModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -545,6 +583,8 @@ class IfModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -573,6 +613,8 @@ class ImportModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -601,6 +643,8 @@ class InModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -629,6 +673,8 @@ class IsModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -657,6 +703,8 @@ class LambdaModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -685,6 +733,8 @@ class NotModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -713,6 +763,8 @@ class OrModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -741,6 +793,8 @@ class PassModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -769,6 +823,8 @@ class RaiseModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -797,6 +853,8 @@ class ReturnModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -825,6 +883,8 @@ class TryModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -853,6 +913,8 @@ class WhileModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -881,6 +943,8 @@ class WithModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -909,6 +973,8 @@ class YieldModel(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/operations/_operations.py index 811c7d424599..9a8fd5c14b7e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/models/operations/_operations.py @@ -492,7 +492,7 @@ def build_models_with_yield_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ModelsOperations: # pylint: disable=too-many-public-methods +class ModelsOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/operations/_operations.py index 234949807cad..0c2e61d531d4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/operations/_operations.py @@ -669,7 +669,7 @@ def build_parameters_with_cancellation_token_request( # pylint: disable=name-to return HttpRequest(method="GET", url=_url, params=_params, **kwargs) -class Operations: # pylint: disable=too-many-public-methods +class Operations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -2040,7 +2040,7 @@ def yield_method(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-r return cls(pipeline_response, None, {}) # type: ignore -class ParametersOperations: # pylint: disable=too-many-public-methods +class ParametersOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/_operations.py index 72aaa2a2d614..c8028177b21c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/_operations.py @@ -29,7 +29,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ReservedOperationBodyParamsOperations: +class ReservedOperationBodyParamsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/_operations.py index 4ec6ab5cc4e4..f85783f9e252 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/_operations.py @@ -47,7 +47,7 @@ def build_reserved_operation_body_params_with_items_request( # pylint: disable= return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class ReservedOperationBodyParamsOperations: +class ReservedOperationBodyParamsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/aio/operations/_operations.py index 93f038b6e262..4853e9ea68e6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/aio/operations/_operations.py @@ -36,7 +36,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ListsOperations: +class ListsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -271,7 +271,7 @@ async def numbered(self, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class TextFormattingOperations: +class TextFormattingOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/models/_models.py index 19d2a33c5b5b..d3f20378d3d7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/models/_models.py @@ -43,6 +43,21 @@ class BulletPointsModel(_Model): * **Bold bullet point** * *Italic bullet point*. Required. Known values are: "Simple", "Bold", and "Italic". :vartype prop: str or ~specs.documentation.models.BulletPointsEnum + :keyword prop: This property uses an enum with bullet point documentation. The enum + documentation includes various formatting styles to test rendering. The styles are: + + * Simple bullet point. This bullet point is going to be very long to test how text + wrapping is handled in bullet points within documentation comments. It should properly indent + the wrapped lines. + * Bullet point with **bold text**. This bullet point is also intentionally long to see how + the formatting is preserved when the text wraps onto multiple + * Bullet point with *italic text*. Similar to the previous points, this one is extended to + ensure that the wrapping and formatting are correctly applied in the output. + * Complex bullet point with **bold** and *italic* combined. This bullet point combines + both bold and italic formatting and is long enough to test the wrapping behavior in such cases. + * **Bold bullet point** + * *Italic bullet point*. Required. Known values are: "Simple", "Bold", and "Italic". + :paramtype prop: str or ~specs.documentation.models.BulletPointsEnum """ prop: Union[str, "_models.BulletPointsEnum"] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/operations/_operations.py index 7a7268bd739e..0f43b287378f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/specs-documentation/specs/documentation/operations/_operations.py @@ -80,7 +80,7 @@ def build_text_formatting_combined_formatting_request(**kwargs: Any) -> HttpRequ return HttpRequest(method="GET", url=_url, **kwargs) -class ListsOperations: +class ListsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -313,7 +313,7 @@ def numbered(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-retur return cls(pipeline_response, None, {}) # type: ignore -class TextFormattingOperations: +class TextFormattingOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py index f6b33e1b91d8..d205918a7f68 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py @@ -25,7 +25,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class BasicOperations: +class BasicOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/models/_models.py index c0b691ea0a99..ec412080df83 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/models/_models.py @@ -11,6 +11,8 @@ class Info(_Model): :ivar desc: Required. :vartype desc: str + :keyword desc: Required. + :paramtype desc: str """ desc: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py index ad45bcd8059a..0894a2b73a69 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py @@ -55,7 +55,7 @@ def build_basic_receive_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) -class BasicOperations: +class BasicOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/aio/operations/_operations.py index 3ad3be2cfca7..338f63bc2df6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/aio/operations/_operations.py @@ -60,7 +60,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -213,7 +213,7 @@ async def put(self, body: Union[list[int], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -366,7 +366,7 @@ async def put(self, body: Union[list[int], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -519,7 +519,7 @@ async def put(self, body: Union[list[bool], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -672,7 +672,7 @@ async def put(self, body: Union[list[str], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -825,7 +825,7 @@ async def put(self, body: Union[list[float], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -980,7 +980,7 @@ async def put(self, body: Union[list[datetime.datetime], IO[bytes]], **kwargs: A return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1135,7 +1135,7 @@ async def put(self, body: Union[list[datetime.timedelta], IO[bytes]], **kwargs: return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1288,7 +1288,7 @@ async def put(self, body: Union[list[Any], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1462,7 +1462,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1615,7 +1615,7 @@ async def put(self, body: Union[list[float], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableInt32ValueOperations: +class NullableInt32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1768,7 +1768,7 @@ async def put(self, body: Union[list[int], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableBooleanValueOperations: +class NullableBooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1921,7 +1921,7 @@ async def put(self, body: Union[list[bool], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableStringValueOperations: +class NullableStringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2074,7 +2074,7 @@ async def put(self, body: Union[list[str], IO[bytes]], **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class NullableModelValueOperations: +class NullableModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/models/_models.py index 838efd840ac5..d75c913febd7 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/models/_models.py @@ -16,6 +16,10 @@ class InnerModel(_Model): :vartype property: str :ivar children: :vartype children: list[~typetest.array.models.InnerModel] + :keyword property: Required string property. Required. + :paramtype property: str + :keyword children: + :paramtype children: list[~typetest.array.models.InnerModel] """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/operations/_operations.py index 33765ea35d43..36323ba64a7d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-array/typetest/array/operations/_operations.py @@ -425,7 +425,7 @@ def build_nullable_model_value_put_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -580,7 +580,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -735,7 +735,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -890,7 +890,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1045,7 +1045,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1200,7 +1200,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1355,7 +1355,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1510,7 +1510,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1665,7 +1665,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1835,7 +1835,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1990,7 +1990,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableInt32ValueOperations: +class NullableInt32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2145,7 +2145,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableBooleanValueOperations: +class NullableBooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2300,7 +2300,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableStringValueOperations: +class NullableStringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2455,7 +2455,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableModelValueOperations: +class NullableModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py index 061bd09e735d..ad0048905a3c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py @@ -54,7 +54,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -207,7 +207,7 @@ async def put(self, body: Union[dict[str, int], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -360,7 +360,7 @@ async def put(self, body: Union[dict[str, int], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -513,7 +513,7 @@ async def put(self, body: Union[dict[str, bool], IO[bytes]], **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -666,7 +666,7 @@ async def put(self, body: Union[dict[str, str], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -819,7 +819,7 @@ async def put(self, body: Union[dict[str, float], IO[bytes]], **kwargs: Any) -> return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -974,7 +974,7 @@ async def put(self, body: Union[dict[str, datetime.datetime], IO[bytes]], **kwar return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1129,7 +1129,7 @@ async def put(self, body: Union[dict[str, datetime.timedelta], IO[bytes]], **kwa return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1282,7 +1282,7 @@ async def put(self, body: Union[dict[str, Any], IO[bytes]], **kwargs: Any) -> No return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1456,7 +1456,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class RecursiveModelValueOperations: +class RecursiveModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1630,7 +1630,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/models/_models.py index a53f1d98b01b..6b5ffd79a3ba 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/models/_models.py @@ -16,6 +16,10 @@ class InnerModel(_Model): :vartype property: str :ivar children: :vartype children: dict[str, ~typetest.dictionary.models.InnerModel] + :keyword property: Required string property. Required. + :paramtype property: str + :keyword children: + :paramtype children: dict[str, ~typetest.dictionary.models.InnerModel] """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/operations/_operations.py index e9978c3c4305..817b244f3614 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-dictionary/typetest/dictionary/operations/_operations.py @@ -341,7 +341,7 @@ def build_nullable_float_value_put_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class Int32ValueOperations: +class Int32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -496,7 +496,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Int64ValueOperations: +class Int64ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -651,7 +651,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanValueOperations: +class BooleanValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -806,7 +806,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringValueOperations: +class StringValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -961,7 +961,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Float32ValueOperations: +class Float32ValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1116,7 +1116,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeValueOperations: +class DatetimeValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1271,7 +1271,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationValueOperations: +class DurationValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1428,7 +1428,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownValueOperations: +class UnknownValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1583,7 +1583,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelValueOperations: +class ModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1755,7 +1755,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class RecursiveModelValueOperations: +class RecursiveModelValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1927,7 +1927,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NullableFloatValueOperations: +class NullableFloatValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py index c6424e1dd8d6..0beb87c7f108 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/aio/operations/_operations.py @@ -39,7 +39,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class EnvelopeOperations: +class EnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -59,7 +59,7 @@ def __init__(self, *args, **kwargs) -> None: self.object = EnvelopeObjectOperations(self._client, self._config, self._serialize, self._deserialize) -class NoEnvelopeOperations: +class NoEnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -82,7 +82,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class EnvelopeObjectOperations: +class EnvelopeObjectOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -105,7 +105,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class NoEnvelopeDefaultOperations: +class NoEnvelopeDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -274,7 +274,7 @@ async def put(self, input: "_unions.PetInline", **kwargs: Any) -> "_unions.PetIn return deserialized # type: ignore -class NoEnvelopeCustomDiscriminatorOperations: +class NoEnvelopeCustomDiscriminatorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -445,7 +445,7 @@ async def put( return deserialized # type: ignore -class EnvelopeObjectDefaultOperations: +class EnvelopeObjectDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -614,7 +614,7 @@ async def put(self, input: "_unions.PetWithEnvelope", **kwargs: Any) -> "_unions return deserialized # type: ignore -class EnvelopeObjectCustomPropertiesOperations: +class EnvelopeObjectCustomPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py index f2af47f6c785..3cdd08f02a42 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/models/_models.py @@ -13,6 +13,10 @@ class Cat(_Model): :vartype name: str :ivar meow: Required. :vartype meow: bool + :keyword name: Required. + :paramtype name: str + :keyword meow: Required. + :paramtype meow: bool """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -46,6 +50,10 @@ class Dog(_Model): :vartype name: str :ivar bark: Required. :vartype bark: bool + :keyword name: Required. + :paramtype name: str + :keyword bark: Required. + :paramtype bark: bool """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py index 69a5350ce796..30a9c63ccee1 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-discriminatedunion/typetest/discriminatedunion/operations/_operations.py @@ -182,7 +182,7 @@ def build_envelope_object_custom_properties_put_request(**kwargs: Any) -> HttpRe return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class EnvelopeOperations: +class EnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -202,7 +202,7 @@ def __init__(self, *args, **kwargs) -> None: self.object = EnvelopeObjectOperations(self._client, self._config, self._serialize, self._deserialize) -class NoEnvelopeOperations: +class NoEnvelopeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -225,7 +225,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class EnvelopeObjectOperations: +class EnvelopeObjectOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -248,7 +248,7 @@ def __init__(self, *args, **kwargs) -> None: ) -class NoEnvelopeDefaultOperations: +class NoEnvelopeDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -413,7 +413,7 @@ def put(self, input: "_unions.PetInline", **kwargs: Any) -> "_unions.PetInline": return deserialized # type: ignore -class NoEnvelopeCustomDiscriminatorOperations: +class NoEnvelopeCustomDiscriminatorOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -584,7 +584,7 @@ def put( return deserialized # type: ignore -class EnvelopeObjectDefaultOperations: +class EnvelopeObjectDefaultOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -753,7 +753,7 @@ def put(self, input: "_unions.PetWithEnvelope", **kwargs: Any) -> "_unions.PetWi return deserialized # type: ignore -class EnvelopeObjectCustomPropertiesOperations: +class EnvelopeObjectCustomPropertiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py index b31b06d7ac75..25866f2835df 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py index 6642e22a3e70..075f3044225e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py @@ -84,7 +84,7 @@ def build_string_put_unknown_value_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py index 27abad8f4a2a..6be80288aa48 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py @@ -32,7 +32,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py index 5e8633f7ccc2..cc20ec39d438 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py @@ -70,7 +70,7 @@ def build_string_put_unknown_value_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-empty/typetest/model/empty/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py index b7530a23b299..9a166d64d85e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py @@ -18,6 +18,10 @@ class Snake(_Model): :vartype kind: str or ~typetest.model.enumdiscriminator.models.SnakeKind :ivar length: Length of the snake. Required. :vartype length: int + :keyword kind: discriminator property. Required. "cobra" + :paramtype kind: str or ~typetest.model.enumdiscriminator.models.SnakeKind + :keyword length: Length of the snake. Required. + :paramtype length: int """ __mapping__: dict[str, _Model] = {} @@ -52,6 +56,8 @@ class Cobra(Snake, discriminator="cobra"): :vartype length: int :ivar kind: discriminator property. Required. Species cobra. :vartype kind: str or ~typetest.model.enumdiscriminator.models.COBRA + :keyword length: Length of the snake. Required. + :paramtype length: int """ kind: Literal[SnakeKind.COBRA] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -86,6 +92,10 @@ class Dog(_Model): :vartype kind: str or ~typetest.model.enumdiscriminator.models.DogKind :ivar weight: Weight of the dog. Required. :vartype weight: int + :keyword kind: discriminator property. Required. "golden" + :paramtype kind: str or ~typetest.model.enumdiscriminator.models.DogKind + :keyword weight: Weight of the dog. Required. + :paramtype weight: int """ __mapping__: dict[str, _Model] = {} @@ -120,6 +130,8 @@ class Golden(Dog, discriminator="golden"): :vartype weight: int :ivar kind: discriminator property. Required. Species golden. :vartype kind: str or ~typetest.model.enumdiscriminator.models.GOLDEN + :keyword weight: Weight of the dog. Required. + :paramtype weight: int """ kind: Literal[DogKind.GOLDEN] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py index d38b44fcb132..797f7c74e83d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py @@ -20,6 +20,10 @@ class Fish(_Model): :vartype kind: str :ivar age: Required. :vartype age: int + :keyword kind: Discriminator property for Fish. Required. Default value is None. + :paramtype kind: str + :keyword age: Required. + :paramtype age: int """ __mapping__: dict[str, _Model] = {} @@ -60,6 +64,10 @@ class Shark(Fish, discriminator="shark"): :vartype kind: str :ivar sharktype: Required. Default value is None. :vartype sharktype: str + :keyword age: Required. + :paramtype age: int + :keyword sharktype: Required. Default value is None. + :paramtype sharktype: str """ __mapping__: dict[str, _Model] = {} @@ -97,6 +105,8 @@ class GoblinShark(Shark, discriminator="goblin"): :vartype kind: str :ivar sharktype: Required. Default value is "goblin". :vartype sharktype: str + :keyword age: Required. + :paramtype age: int """ __mapping__: dict[str, _Model] = {} @@ -136,6 +146,14 @@ class Salmon(Fish, discriminator="salmon"): :vartype hate: dict[str, ~typetest.model.nesteddiscriminator.models.Fish] :ivar partner: :vartype partner: ~typetest.model.nesteddiscriminator.models.Fish + :keyword age: Required. + :paramtype age: int + :keyword friends: + :paramtype friends: list[~typetest.model.nesteddiscriminator.models.Fish] + :keyword hate: + :paramtype hate: dict[str, ~typetest.model.nesteddiscriminator.models.Fish] + :keyword partner: + :paramtype partner: ~typetest.model.nesteddiscriminator.models.Fish """ kind: Literal["salmon"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -175,6 +193,8 @@ class SawShark(Shark, discriminator="saw"): :vartype kind: str :ivar sharktype: Required. Default value is "saw". :vartype sharktype: str + :keyword age: Required. + :paramtype age: int """ __mapping__: dict[str, _Model] = {} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py index 838cd399fb66..f84a40c612a8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated-typeddict/typetest/model/notdiscriminated/typeddict/models/_models.py @@ -11,6 +11,8 @@ class Pet(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -41,6 +43,10 @@ class Cat(Pet): :vartype name: str :ivar age: Required. :vartype age: int + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int """ age: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -74,6 +80,12 @@ class Siamese(Cat): :vartype age: int :ivar smart: Required. :vartype smart: bool + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int + :keyword smart: Required. + :paramtype smart: bool """ smart: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py index 838cd399fb66..f84a40c612a8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py @@ -11,6 +11,8 @@ class Pet(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -41,6 +43,10 @@ class Cat(Pet): :vartype name: str :ivar age: Required. :vartype age: int + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int """ age: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -74,6 +80,12 @@ class Siamese(Cat): :vartype age: int :ivar smart: Required. :vartype smart: bool + :keyword name: Required. + :paramtype name: str + :keyword age: Required. + :paramtype age: int + :keyword smart: Required. + :paramtype smart: bool """ smart: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/models/_models.py index 082407ef2364..b3b912472b2e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-recursive/typetest/model/recursive/models/_models.py @@ -14,6 +14,8 @@ class Element(_Model): :ivar extension: :vartype extension: list[~typetest.model.recursive.models.Extension] + :keyword extension: + :paramtype extension: list[~typetest.model.recursive.models.Extension] """ extension: Optional[list["_models.Extension"]] = rest_field( @@ -45,6 +47,10 @@ class Extension(Element): :vartype extension: list[~typetest.model.recursive.models.Extension] :ivar level: Required. :vartype level: int + :keyword level: Required. + :paramtype level: int + :keyword extension: + :paramtype extension: list[~typetest.model.recursive.models.Extension] """ level: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py index 7b4553c02cc7..635468c62e76 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator-typeddict/typetest/model/singlediscriminator/typeddict/models/_models.py @@ -20,6 +20,10 @@ class Bird(_Model): :vartype kind: str :ivar wingspan: Required. :vartype wingspan: int + :keyword kind: Required. Default value is None. + :paramtype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ __mapping__: dict[str, _Model] = {} @@ -58,6 +62,10 @@ class Dinosaur(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword kind: Discriminator property for Dinosaur. Required. Default value is None. + :paramtype kind: str + :keyword size: Required. + :paramtype size: int """ __mapping__: dict[str, _Model] = {} @@ -99,6 +107,14 @@ class Eagle(Bird, discriminator="eagle"): :vartype hate: dict[str, ~typetest.model.singlediscriminator.typeddict.models.Bird] :ivar partner: :vartype partner: ~typetest.model.singlediscriminator.typeddict.models.Bird + :keyword wingspan: Required. + :paramtype wingspan: int + :keyword friends: + :paramtype friends: list[~typetest.model.singlediscriminator.typeddict.models.Bird] + :keyword hate: + :paramtype hate: dict[str, ~typetest.model.singlediscriminator.typeddict.models.Bird] + :keyword partner: + :paramtype partner: ~typetest.model.singlediscriminator.typeddict.models.Bird """ kind: Literal["eagle"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -137,6 +153,8 @@ class Fish(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword size: Required. + :paramtype size: int """ kind: str = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) @@ -169,6 +187,8 @@ class Goose(Bird, discriminator="goose"): :vartype wingspan: int :ivar kind: Required. Default value is "goose". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["goose"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -200,6 +220,8 @@ class SeaGull(Bird, discriminator="seagull"): :vartype wingspan: int :ivar kind: Required. Default value is "seagull". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["seagull"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -231,6 +253,8 @@ class Sparrow(Bird, discriminator="sparrow"): :vartype wingspan: int :ivar kind: Required. Default value is "sparrow". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["sparrow"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -262,6 +286,8 @@ class TRex(Dinosaur, discriminator="t-rex"): :vartype size: int :ivar kind: Required. Default value is "t-rex". :vartype kind: str + :keyword size: Required. + :paramtype size: int """ kind: Literal["t-rex"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py index 5b2301b58c83..7c89ffed41c4 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py @@ -20,6 +20,10 @@ class Bird(_Model): :vartype kind: str :ivar wingspan: Required. :vartype wingspan: int + :keyword kind: Required. Default value is None. + :paramtype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ __mapping__: dict[str, _Model] = {} @@ -58,6 +62,10 @@ class Dinosaur(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword kind: Discriminator property for Dinosaur. Required. Default value is None. + :paramtype kind: str + :keyword size: Required. + :paramtype size: int """ __mapping__: dict[str, _Model] = {} @@ -99,6 +107,14 @@ class Eagle(Bird, discriminator="eagle"): :vartype hate: dict[str, ~typetest.model.singlediscriminator.models.Bird] :ivar partner: :vartype partner: ~typetest.model.singlediscriminator.models.Bird + :keyword wingspan: Required. + :paramtype wingspan: int + :keyword friends: + :paramtype friends: list[~typetest.model.singlediscriminator.models.Bird] + :keyword hate: + :paramtype hate: dict[str, ~typetest.model.singlediscriminator.models.Bird] + :keyword partner: + :paramtype partner: ~typetest.model.singlediscriminator.models.Bird """ kind: Literal["eagle"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -137,6 +153,8 @@ class Fish(_Model): :vartype kind: str :ivar size: Required. :vartype size: int + :keyword size: Required. + :paramtype size: int """ kind: str = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) @@ -169,6 +187,8 @@ class Goose(Bird, discriminator="goose"): :vartype wingspan: int :ivar kind: Required. Default value is "goose". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["goose"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -200,6 +220,8 @@ class SeaGull(Bird, discriminator="seagull"): :vartype wingspan: int :ivar kind: Required. Default value is "seagull". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["seagull"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -231,6 +253,8 @@ class Sparrow(Bird, discriminator="sparrow"): :vartype wingspan: int :ivar kind: Required. Default value is "sparrow". :vartype kind: str + :keyword wingspan: Required. + :paramtype wingspan: int """ kind: Literal["sparrow"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -262,6 +286,8 @@ class TRex(Dinosaur, discriminator="t-rex"): :vartype size: int :ivar kind: Required. Default value is "t-rex". :vartype kind: str + :keyword size: Required. + :paramtype size: int """ kind: Literal["t-rex"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage-typeddictonly/typetest/model/usage/typeddictonly/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/models/_models.py index f4d65176bb53..80c22f49d201 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-usage/typetest/model/usage/models/_models.py @@ -11,6 +11,8 @@ class InputOutputRecord(_Model): :ivar required_prop: Required. :vartype required_prop: str + :keyword required_prop: Required. + :paramtype required_prop: str """ required_prop: str = rest_field(name="requiredProp", visibility=["read", "create", "update", "delete", "query"]) @@ -39,6 +41,8 @@ class InputRecord(_Model): :ivar required_prop: Required. :vartype required_prop: str + :keyword required_prop: Required. + :paramtype required_prop: str """ required_prop: str = rest_field(name="requiredProp", visibility=["read", "create", "update", "delete", "query"]) @@ -67,6 +71,8 @@ class OutputRecord(_Model): :ivar required_prop: Required. :vartype required_prop: str + :keyword required_prop: Required. + :paramtype required_prop: str """ required_prop: str = rest_field(name="requiredProp", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/models/_models.py index 70ba12046f1b..23b608fea365 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-model-visibility/typetest/model/visibility/models/_models.py @@ -32,6 +32,12 @@ class VisibilityModel(_Model): :vartype update_prop: list[int] :ivar delete_prop: Required bool, illustrating a delete property. Required. :vartype delete_prop: bool + :keyword create_prop: Required string[], illustrating a create property. Required. + :paramtype create_prop: list[str] + :keyword update_prop: Required int32[], illustrating a update property. Required. + :paramtype update_prop: list[int] + :keyword delete_prop: Required bool, illustrating a delete property. Required. + :paramtype delete_prop: bool """ read_prop: str = rest_field(name="readProp", visibility=["read"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py index 5f47ea903989..1800e4ac6553 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py @@ -93,7 +93,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class ExtendsUnknownOperations: +class ExtendsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -274,7 +274,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDerivedOperations: +class ExtendsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -471,7 +471,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDiscriminatedOperations: +class ExtendsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -669,7 +669,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownOperations: +class IsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -849,7 +849,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDerivedOperations: +class IsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1040,7 +1040,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDiscriminatedOperations: +class IsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1237,7 +1237,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsStringOperations: +class ExtendsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1417,7 +1417,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsStringOperations: +class IsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1596,7 +1596,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadStringOperations: +class SpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1772,7 +1772,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsFloatOperations: +class ExtendsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1952,7 +1952,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsFloatOperations: +class IsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2131,7 +2131,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadFloatOperations: +class SpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2307,7 +2307,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelOperations: +class ExtendsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2487,7 +2487,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsModelOperations: +class IsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2666,7 +2666,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelOperations: +class SpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2842,7 +2842,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelArrayOperations: +class ExtendsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3035,7 +3035,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IsModelArrayOperations: +class IsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3215,7 +3215,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelArrayOperations: +class SpreadModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3391,7 +3391,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentStringOperations: +class SpreadDifferentStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3570,7 +3570,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentFloatOperations: +class SpreadDifferentFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3749,7 +3749,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelOperations: +class SpreadDifferentModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3928,7 +3928,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelArrayOperations: +class SpreadDifferentModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4108,7 +4108,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadStringOperations: +class ExtendsDifferentSpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4287,7 +4287,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadFloatOperations: +class ExtendsDifferentSpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4466,7 +4466,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelOperations: +class ExtendsDifferentSpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4645,7 +4645,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=name-too-long +class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -4825,7 +4825,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class MultipleSpreadOperations: +class MultipleSpreadOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5001,7 +5001,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordUnionOperations: +class SpreadRecordUnionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5177,7 +5177,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -5368,7 +5368,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -5561,7 +5561,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py index 046a32615404..d3f114811fa8 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py @@ -16,6 +16,8 @@ class DifferentSpreadFloatRecord(_Model): :ivar name: The id property. Required. :vartype name: str + :keyword name: The id property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -47,6 +49,10 @@ class DifferentSpreadFloatDerived(DifferentSpreadFloatRecord): :vartype name: str :ivar derived_prop: The index property. Required. :vartype derived_prop: float + :keyword name: The id property. Required. + :paramtype name: str + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: float """ derived_prop: float = rest_field(name="derivedProp", visibility=["read", "create", "update", "delete", "query"]) @@ -76,6 +82,8 @@ class DifferentSpreadModelArrayRecord(_Model): :ivar known_prop: Required. :vartype known_prop: str + :keyword known_prop: Required. + :paramtype known_prop: str """ known_prop: str = rest_field(name="knownProp", visibility=["read", "create", "update", "delete", "query"]) @@ -107,6 +115,10 @@ class DifferentSpreadModelArrayDerived(DifferentSpreadModelArrayRecord): :vartype known_prop: str :ivar derived_prop: The index property. Required. :vartype derived_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: str + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ derived_prop: list["_models.ModelForRecord"] = rest_field( @@ -138,6 +150,8 @@ class DifferentSpreadModelRecord(_Model): :ivar known_prop: Required. :vartype known_prop: str + :keyword known_prop: Required. + :paramtype known_prop: str """ known_prop: str = rest_field(name="knownProp", visibility=["read", "create", "update", "delete", "query"]) @@ -169,6 +183,10 @@ class DifferentSpreadModelDerived(DifferentSpreadModelRecord): :vartype known_prop: str :ivar derived_prop: The index property. Required. :vartype derived_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: str + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ derived_prop: "_models.ModelForRecord" = rest_field( @@ -200,6 +218,8 @@ class DifferentSpreadStringRecord(_Model): :ivar id: The name property. Required. :vartype id: float + :keyword id: The name property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -231,6 +251,10 @@ class DifferentSpreadStringDerived(DifferentSpreadStringRecord): :vartype id: float :ivar derived_prop: The index property. Required. :vartype derived_prop: str + :keyword id: The name property. Required. + :paramtype id: float + :keyword derived_prop: The index property. Required. + :paramtype derived_prop: str """ derived_prop: str = rest_field(name="derivedProp", visibility=["read", "create", "update", "delete", "query"]) @@ -260,6 +284,8 @@ class ExtendsFloatAdditionalProperties(_Model): :ivar id: The id property. Required. :vartype id: float + :keyword id: The id property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -288,6 +314,8 @@ class ExtendsModelAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ known_prop: "_models.ModelForRecord" = rest_field( @@ -318,6 +346,8 @@ class ExtendsModelArrayAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ known_prop: list["_models.ModelForRecord"] = rest_field( @@ -348,6 +378,8 @@ class ExtendsStringAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -376,6 +408,8 @@ class ExtendsUnknownAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -408,6 +442,12 @@ class ExtendsUnknownAdditionalPropertiesDerived(ExtendsUnknownAdditionalProperti :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ index: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -445,6 +485,10 @@ class ExtendsUnknownAdditionalPropertiesDiscriminated(_Model): # pylint: disabl :vartype name: str :ivar kind: The discriminator. Required. Default value is None. :vartype kind: str + :keyword name: The name property. Required. + :paramtype name: str + :keyword kind: The discriminator. Required. Default value is None. + :paramtype kind: str """ __mapping__: dict[str, _Model] = {} @@ -485,6 +529,12 @@ class ExtendsUnknownAdditionalPropertiesDiscriminatedDerived( :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ kind: Literal["derived"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -520,6 +570,8 @@ class IsFloatAdditionalProperties(_Model): :ivar id: The id property. Required. :vartype id: float + :keyword id: The id property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -548,6 +600,8 @@ class IsModelAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ known_prop: "_models.ModelForRecord" = rest_field( @@ -578,6 +632,8 @@ class IsModelArrayAdditionalProperties(_Model): :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ known_prop: list["_models.ModelForRecord"] = rest_field( @@ -608,6 +664,8 @@ class IsStringAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -636,6 +694,8 @@ class IsUnknownAdditionalProperties(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -668,6 +728,12 @@ class IsUnknownAdditionalPropertiesDerived(IsUnknownAdditionalProperties): :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ index: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -705,6 +771,10 @@ class IsUnknownAdditionalPropertiesDiscriminated(_Model): # pylint: disable=nam :vartype name: str :ivar kind: The discriminator. Required. Default value is None. :vartype kind: str + :keyword name: The name property. Required. + :paramtype name: str + :keyword kind: The discriminator. Required. Default value is None. + :paramtype kind: str """ __mapping__: dict[str, _Model] = {} @@ -745,6 +815,12 @@ class IsUnknownAdditionalPropertiesDiscriminatedDerived( :vartype index: int :ivar age: The age property. :vartype age: float + :keyword name: The name property. Required. + :paramtype name: str + :keyword index: The index property. Required. + :paramtype index: int + :keyword age: The age property. + :paramtype age: float """ kind: Literal["derived"] = rest_discriminator(name="kind", visibility=["read", "create", "update", "delete", "query"]) # type: ignore @@ -780,6 +856,8 @@ class ModelForRecord(_Model): :ivar state: The state property. Required. :vartype state: str + :keyword state: The state property. Required. + :paramtype state: str """ state: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -808,6 +886,8 @@ class MultipleSpreadRecord(_Model): :ivar flag: The name property. Required. :vartype flag: bool + :keyword flag: The name property. Required. + :paramtype flag: bool """ flag: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -836,6 +916,8 @@ class SpreadFloatRecord(_Model): :ivar id: The id property. Required. :vartype id: float + :keyword id: The id property. Required. + :paramtype id: float """ id: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -864,6 +946,8 @@ class SpreadModelArrayRecord(_Model): :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] + :keyword known_prop: Required. + :paramtype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ known_prop: list["_models.ModelForRecord"] = rest_field( @@ -894,6 +978,8 @@ class SpreadModelRecord(_Model): :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord + :keyword known_prop: Required. + :paramtype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ known_prop: "_models.ModelForRecord" = rest_field( @@ -924,6 +1010,8 @@ class SpreadRecordForNonDiscriminatedUnion(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -952,6 +1040,8 @@ class SpreadRecordForNonDiscriminatedUnion2(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -980,6 +1070,8 @@ class SpreadRecordForNonDiscriminatedUnion3(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1008,6 +1100,8 @@ class SpreadRecordForUnion(_Model): :ivar flag: The name property. Required. :vartype flag: bool + :keyword flag: The name property. Required. + :paramtype flag: bool """ flag: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1036,6 +1130,8 @@ class SpreadStringRecord(_Model): :ivar name: The name property. Required. :vartype name: str + :keyword name: The name property. Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1066,6 +1162,8 @@ class WidgetData0(_Model): :vartype kind: str :ivar foo_prop: Required. :vartype foo_prop: str + :keyword foo_prop: Required. + :paramtype foo_prop: str """ kind: Literal["kind0"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1101,6 +1199,10 @@ class WidgetData1(_Model): :vartype start: ~datetime.datetime :ivar end: :vartype end: ~datetime.datetime + :keyword start: Required. + :paramtype start: ~datetime.datetime + :keyword end: + :paramtype end: ~datetime.datetime """ kind: Literal["kind1"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -1138,6 +1240,8 @@ class WidgetData2(_Model): :vartype kind: str :ivar start: Required. :vartype start: str + :keyword start: Required. + :paramtype start: str """ kind: Literal["kind1"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py index c193a2e8a83f..673504278d68 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py @@ -916,7 +916,7 @@ def build_spread_record_non_discriminated_union3_put_request( # pylint: disable return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class ExtendsUnknownOperations: +class ExtendsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1097,7 +1097,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDerivedOperations: +class ExtendsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1294,7 +1294,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsUnknownDiscriminatedOperations: +class ExtendsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1492,7 +1492,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownOperations: +class IsUnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1672,7 +1672,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDerivedOperations: +class IsUnknownDerivedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1863,7 +1863,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsUnknownDiscriminatedOperations: +class IsUnknownDiscriminatedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2060,7 +2060,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsStringOperations: +class ExtendsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2240,7 +2240,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsStringOperations: +class IsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2419,7 +2419,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadStringOperations: +class SpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2591,7 +2591,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsFloatOperations: +class ExtendsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2771,7 +2771,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsFloatOperations: +class IsFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2950,7 +2950,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadFloatOperations: +class SpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3122,7 +3122,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelOperations: +class ExtendsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3302,7 +3302,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsModelOperations: +class IsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3481,7 +3481,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelOperations: +class SpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3653,7 +3653,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsModelArrayOperations: +class ExtendsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3846,7 +3846,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IsModelArrayOperations: +class IsModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4026,7 +4026,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadModelArrayOperations: +class SpreadModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4202,7 +4202,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentStringOperations: +class SpreadDifferentStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4381,7 +4381,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentFloatOperations: +class SpreadDifferentFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4560,7 +4560,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelOperations: +class SpreadDifferentModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4739,7 +4739,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadDifferentModelArrayOperations: +class SpreadDifferentModelArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4919,7 +4919,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadStringOperations: +class ExtendsDifferentSpreadStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5098,7 +5098,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadFloatOperations: +class ExtendsDifferentSpreadFloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5277,7 +5277,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelOperations: +class ExtendsDifferentSpreadModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5456,7 +5456,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=name-too-long +class ExtendsDifferentSpreadModelArrayOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -5636,7 +5636,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MultipleSpreadOperations: +class MultipleSpreadOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5808,7 +5808,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordUnionOperations: +class SpreadRecordUnionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5980,7 +5980,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnionOperations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -6171,7 +6171,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion2Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. @@ -6364,7 +6364,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=name-too-long +class SpreadRecordNonDiscriminatedUnion3Operations: # pylint: disable=docstring-missing-param,name-too-long """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py index c6daac5aeb28..4880099573da 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py @@ -59,7 +59,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -393,7 +393,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -727,7 +727,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1061,7 +1061,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1395,7 +1395,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1737,7 +1737,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2089,7 +2089,7 @@ async def patch_null( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/models/_models.py index 74a65e8833b3..eccb6feb3dcd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/models/_models.py @@ -18,6 +18,10 @@ class BytesProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: bytes + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: bytes """ required_property: str = rest_field( @@ -55,6 +59,10 @@ class CollectionsByteProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: list[bytes] + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: list[bytes] """ required_property: str = rest_field( @@ -92,6 +100,10 @@ class CollectionsModelProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: list[~typetest.property.nullable.models.InnerModel] + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: list[~typetest.property.nullable.models.InnerModel] """ required_property: str = rest_field( @@ -129,6 +141,10 @@ class CollectionsStringProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: list[str] + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: list[str] """ required_property: str = rest_field( @@ -166,6 +182,10 @@ class DatetimeProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: ~datetime.datetime + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: ~datetime.datetime """ required_property: str = rest_field( @@ -203,6 +223,10 @@ class DurationProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: ~datetime.timedelta + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: ~datetime.timedelta """ required_property: str = rest_field( @@ -238,6 +262,8 @@ class InnerModel(_Model): :ivar property: Inner model property. Required. :vartype property: str + :keyword property: Inner model property. Required. + :paramtype property: str """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -269,6 +295,10 @@ class StringProperty(_Model): :vartype required_property: str :ivar nullable_property: Property. Required. :vartype nullable_property: str + :keyword required_property: Required property. Required. + :paramtype required_property: str + :keyword nullable_property: Property. Required. + :paramtype nullable_property: str """ required_property: str = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/operations/_operations.py index f561574fb1e3..d44068d41880 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-nullable/typetest/property/nullable/operations/_operations.py @@ -424,7 +424,7 @@ def build_collections_string_patch_null_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PATCH", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -756,7 +756,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1088,7 +1088,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1420,7 +1420,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1752,7 +1752,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2092,7 +2092,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2442,7 +2442,7 @@ def patch_null( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py index a3e383009061..873d1755f2ca 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py @@ -95,7 +95,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -425,7 +425,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -753,7 +753,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1083,7 +1083,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1413,7 +1413,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class PlainDateOperations: +class PlainDateOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1743,7 +1743,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class PlainTimeOperations: +class PlainTimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2073,7 +2073,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2403,7 +2403,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2735,7 +2735,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3065,7 +3065,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3395,7 +3395,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3725,7 +3725,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4055,7 +4055,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4391,7 +4391,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4721,7 +4721,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5053,7 +5053,7 @@ async def put_default( return cls(pipeline_response, None, {}) # type: ignore -class RequiredAndOptionalOperations: +class RequiredAndOptionalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/models/_models.py index b2d3558241a4..9c74321359fd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/models/_models.py @@ -15,6 +15,8 @@ class BooleanLiteralProperty(_Model): :ivar property: Property. Default value is True. :vartype property: bool + :keyword property: Property. Default value is True. + :paramtype property: bool """ property: Optional[Literal[True]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -44,6 +46,8 @@ class BytesProperty(_Model): :ivar property: Property. :vartype property: bytes + :keyword property: Property. + :paramtype property: bytes """ property: Optional[bytes] = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") @@ -72,6 +76,8 @@ class CollectionsByteProperty(_Model): :ivar property: Property. :vartype property: list[bytes] + :keyword property: Property. + :paramtype property: list[bytes] """ property: Optional[list[bytes]] = rest_field( @@ -102,6 +108,8 @@ class CollectionsModelProperty(_Model): :ivar property: Property. :vartype property: list[~typetest.property.optional.models.StringProperty] + :keyword property: Property. + :paramtype property: list[~typetest.property.optional.models.StringProperty] """ property: Optional[list["_models.StringProperty"]] = rest_field( @@ -132,6 +140,8 @@ class DatetimeProperty(_Model): :ivar property: Property. :vartype property: ~datetime.datetime + :keyword property: Property. + :paramtype property: ~datetime.datetime """ property: Optional[datetime.datetime] = rest_field( @@ -162,6 +172,8 @@ class DurationProperty(_Model): :ivar property: Property. :vartype property: ~datetime.timedelta + :keyword property: Property. + :paramtype property: ~datetime.timedelta """ property: Optional[datetime.timedelta] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -190,6 +202,8 @@ class FloatLiteralProperty(_Model): :ivar property: Property. Default value is 1.25. :vartype property: float + :keyword property: Property. Default value is 1.25. + :paramtype property: float """ property: Optional[float] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -218,6 +232,8 @@ class IntLiteralProperty(_Model): :ivar property: Property. Default value is 1. :vartype property: int + :keyword property: Property. Default value is 1. + :paramtype property: int """ property: Optional[Literal[1]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -246,6 +262,8 @@ class PlainDateProperty(_Model): :ivar property: Property. :vartype property: ~datetime.date + :keyword property: Property. + :paramtype property: ~datetime.date """ property: Optional[datetime.date] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -274,6 +292,8 @@ class PlainTimeProperty(_Model): :ivar property: Property. :vartype property: ~datetime.time + :keyword property: Property. + :paramtype property: ~datetime.time """ property: Optional[datetime.time] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -304,6 +324,10 @@ class RequiredAndOptionalProperty(_Model): :vartype optional_property: str :ivar required_property: required int property. Required. :vartype required_property: int + :keyword required_property: required int property. Required. + :paramtype required_property: int + :keyword optional_property: optional string property. + :paramtype optional_property: str """ optional_property: Optional[str] = rest_field( @@ -339,6 +363,8 @@ class StringLiteralProperty(_Model): :ivar property: Property. Default value is "hello". :vartype property: str + :keyword property: Property. Default value is "hello". + :paramtype property: str """ property: Optional[Literal["hello"]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -368,6 +394,8 @@ class StringProperty(_Model): :ivar property: Property. :vartype property: str + :keyword property: Property. + :paramtype property: str """ property: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -396,6 +424,8 @@ class UnionFloatLiteralProperty(_Model): :ivar property: Property. Is one of the following types: float :vartype property: float or float + :keyword property: Property. Is one of the following types: float + :paramtype property: float or float """ property: Optional[float] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -424,6 +454,8 @@ class UnionIntLiteralProperty(_Model): :ivar property: Property. Is either a Literal[1] type or a Literal[2] type. :vartype property: int or int + :keyword property: Property. Is either a Literal[1] type or a Literal[2] type. + :paramtype property: int or int """ property: Optional[Literal[1, 2]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -452,6 +484,8 @@ class UnionStringLiteralProperty(_Model): :ivar property: Property. Is either a Literal["hello"] type or a Literal["world"] type. :vartype property: str or str + :keyword property: Property. Is either a Literal["hello"] type or a Literal["world"] type. + :paramtype property: str or str """ property: Optional[Literal["hello", "world"]] = rest_field( diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/operations/_operations.py index 5dbea29238cf..03d5be57458b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-optional/typetest/property/optional/operations/_operations.py @@ -932,7 +932,7 @@ def build_required_and_optional_put_required_only_request( # pylint: disable=na return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1258,7 +1258,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1582,7 +1582,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1908,7 +1908,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2234,7 +2234,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class PlainDateOperations: +class PlainDateOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2562,7 +2562,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class PlainTimeOperations: +class PlainTimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2890,7 +2890,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsByteOperations: +class CollectionsByteOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3220,7 +3220,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3552,7 +3552,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3882,7 +3882,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4212,7 +4212,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4542,7 +4542,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4872,7 +4872,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5208,7 +5208,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5538,7 +5538,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5870,7 +5870,7 @@ def put_default( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class RequiredAndOptionalOperations: +class RequiredAndOptionalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py index 72251060a042..3eff252fd916 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py @@ -89,7 +89,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -259,7 +259,7 @@ async def put(self, body: Union[_models.BooleanProperty, _types.BooleanProperty, return cls(pipeline_response, None, {}) # type: ignore -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -427,7 +427,7 @@ async def put(self, body: Union[_models.StringProperty, _types.StringProperty, I return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -595,7 +595,7 @@ async def put(self, body: Union[_models.BytesProperty, _types.BytesProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class IntOperations: +class IntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -763,7 +763,7 @@ async def put(self, body: Union[_models.IntProperty, _types.IntProperty, IO[byte return cls(pipeline_response, None, {}) # type: ignore -class FloatOperations: +class FloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -931,7 +931,7 @@ async def put(self, body: Union[_models.FloatProperty, _types.FloatProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class DecimalOperations: +class DecimalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1101,7 +1101,7 @@ async def put(self, body: Union[_models.DecimalProperty, _types.DecimalProperty, return cls(pipeline_response, None, {}) # type: ignore -class Decimal128Operations: +class Decimal128Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1275,7 +1275,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1449,7 +1449,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1623,7 +1623,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class EnumOperations: +class EnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1791,7 +1791,7 @@ async def put(self, body: Union[_models.EnumProperty, _types.EnumProperty, IO[by return cls(pipeline_response, None, {}) # type: ignore -class ExtensibleEnumOperations: +class ExtensibleEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1965,7 +1965,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2133,7 +2133,7 @@ async def put(self, body: Union[_models.ModelProperty, _types.ModelProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2308,7 +2308,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsIntOperations: +class CollectionsIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2482,7 +2482,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2657,7 +2657,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class DictionaryStringOperations: +class DictionaryStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2832,7 +2832,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class NeverOperations: +class NeverOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3000,7 +3000,7 @@ async def put(self, body: Union[_models.NeverProperty, _types.NeverProperty, IO[ return cls(pipeline_response, None, {}) # type: ignore -class UnknownStringOperations: +class UnknownStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3174,7 +3174,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnknownIntOperations: +class UnknownIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3348,7 +3348,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnknownDictOperations: +class UnknownDictOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3522,7 +3522,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnknownArrayOperations: +class UnknownArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3696,7 +3696,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3870,7 +3870,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4044,7 +4044,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4218,7 +4218,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4392,7 +4392,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4569,7 +4569,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4743,7 +4743,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4918,7 +4918,7 @@ async def put( return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumValueOperations: +class UnionEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py index 1d8cf30182fa..8b0f89be4a32 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py @@ -12,7 +12,7 @@ from .. import models as _models -class BooleanLiteralProperty(_Model): +class BooleanLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a boolean literal property. :ivar property: Property. Required. Default value is True. @@ -32,6 +32,8 @@ class BooleanProperty(_Model): :ivar property: Property. Required. :vartype property: bool + :keyword property: Property. Required. + :paramtype property: bool """ property: bool = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -60,6 +62,8 @@ class BytesProperty(_Model): :ivar property: Property. Required. :vartype property: bytes + :keyword property: Property. Required. + :paramtype property: bytes """ property: bytes = rest_field(visibility=["read", "create", "update", "delete", "query"], format="base64") @@ -88,6 +92,8 @@ class CollectionsIntProperty(_Model): :ivar property: Property. Required. :vartype property: list[int] + :keyword property: Property. Required. + :paramtype property: list[int] """ property: list[int] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -116,6 +122,8 @@ class CollectionsModelProperty(_Model): :ivar property: Property. Required. :vartype property: list[~typetest.property.valuetypes.models.InnerModel] + :keyword property: Property. Required. + :paramtype property: list[~typetest.property.valuetypes.models.InnerModel] """ property: list["_models.InnerModel"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -144,6 +152,8 @@ class CollectionsStringProperty(_Model): :ivar property: Property. Required. :vartype property: list[str] + :keyword property: Property. Required. + :paramtype property: list[str] """ property: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -172,6 +182,8 @@ class DatetimeProperty(_Model): :ivar property: Property. Required. :vartype property: ~datetime.datetime + :keyword property: Property. Required. + :paramtype property: ~datetime.datetime """ property: datetime.datetime = rest_field( @@ -202,6 +214,8 @@ class Decimal128Property(_Model): :ivar property: Property. Required. :vartype property: ~decimal.Decimal + :keyword property: Property. Required. + :paramtype property: ~decimal.Decimal """ property: decimal.Decimal = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -230,6 +244,8 @@ class DecimalProperty(_Model): :ivar property: Property. Required. :vartype property: ~decimal.Decimal + :keyword property: Property. Required. + :paramtype property: ~decimal.Decimal """ property: decimal.Decimal = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -258,6 +274,8 @@ class DictionaryStringProperty(_Model): :ivar property: Property. Required. :vartype property: dict[str, str] + :keyword property: Property. Required. + :paramtype property: dict[str, str] """ property: dict[str, str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -286,6 +304,8 @@ class DurationProperty(_Model): :ivar property: Property. Required. :vartype property: ~datetime.timedelta + :keyword property: Property. Required. + :paramtype property: ~datetime.timedelta """ property: datetime.timedelta = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -314,6 +334,8 @@ class EnumProperty(_Model): :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.FixedInnerEnum + :keyword property: Property. Required. Known values are: "ValueOne" and "ValueTwo". + :paramtype property: str or ~typetest.property.valuetypes.models.FixedInnerEnum """ property: Union[str, "_models.FixedInnerEnum"] = rest_field( @@ -344,6 +366,8 @@ class ExtensibleEnumProperty(_Model): :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.InnerEnum + :keyword property: Property. Required. Known values are: "ValueOne" and "ValueTwo". + :paramtype property: str or ~typetest.property.valuetypes.models.InnerEnum """ property: Union[str, "_models.InnerEnum"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -367,7 +391,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class FloatLiteralProperty(_Model): +class FloatLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a float literal property. :ivar property: Property. Required. Default value is 43.125. @@ -387,6 +411,8 @@ class FloatProperty(_Model): :ivar property: Property. Required. :vartype property: float + :keyword property: Property. Required. + :paramtype property: float """ property: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -415,6 +441,8 @@ class InnerModel(_Model): :ivar property: Required string property. Required. :vartype property: str + :keyword property: Required string property. Required. + :paramtype property: str """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -438,7 +466,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class IntLiteralProperty(_Model): +class IntLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a int literal property. :ivar property: Property. Required. Default value is 42. @@ -458,6 +486,8 @@ class IntProperty(_Model): :ivar property: Property. Required. :vartype property: int + :keyword property: Property. Required. + :paramtype property: int """ property: int = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -486,6 +516,8 @@ class ModelProperty(_Model): :ivar property: Property. Required. :vartype property: ~typetest.property.valuetypes.models.InnerModel + :keyword property: Property. Required. + :paramtype property: ~typetest.property.valuetypes.models.InnerModel """ property: "_models.InnerModel" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -513,7 +545,7 @@ class NeverProperty(_Model): """Model with a property never. (This property should not be included).""" -class StringLiteralProperty(_Model): +class StringLiteralProperty(_Model): # pylint: disable=docstring-missing-param """Model with a string literal property. :ivar property: Property. Required. Default value is "hello". @@ -533,6 +565,8 @@ class StringProperty(_Model): :ivar property: Property. Required. :vartype property: str + :keyword property: Property. Required. + :paramtype property: str """ property: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -562,6 +596,8 @@ class UnionEnumValueProperty(_Model): :ivar property: Property. Required. ENUM_VALUE2. :vartype property: str or ~typetest.property.valuetypes.models.ENUM_VALUE2 + :keyword property: Property. Required. ENUM_VALUE2. + :paramtype property: str or ~typetest.property.valuetypes.models.ENUM_VALUE2 """ property: Literal[ExtendedEnum.ENUM_VALUE2] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -590,6 +626,8 @@ class UnionFloatLiteralProperty(_Model): :ivar property: Property. Required. Is one of the following types: float :vartype property: float or float + :keyword property: Property. Required. Is one of the following types: float + :paramtype property: float or float """ property: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -618,6 +656,8 @@ class UnionIntLiteralProperty(_Model): :ivar property: Property. Required. Is either a Literal[42] type or a Literal[43] type. :vartype property: int or int + :keyword property: Property. Required. Is either a Literal[42] type or a Literal[43] type. + :paramtype property: int or int """ property: Literal[42, 43] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -647,6 +687,9 @@ class UnionStringLiteralProperty(_Model): :ivar property: Property. Required. Is either a Literal["hello"] type or a Literal["world"] type. :vartype property: str or str + :keyword property: Property. Required. Is either a Literal["hello"] type or a Literal["world"] + type. + :paramtype property: str or str """ property: Literal["hello", "world"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -675,6 +718,8 @@ class UnknownArrayProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -703,6 +748,8 @@ class UnknownDictProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -731,6 +778,8 @@ class UnknownIntProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -759,6 +808,8 @@ class UnknownStringProperty(_Model): :ivar property: Property. Required. :vartype property: any + :keyword property: Property. Required. + :paramtype property: any """ property: Any = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py index b6b225fbaac7..075b8e0f7062 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py @@ -844,7 +844,7 @@ def build_union_enum_value_put_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1014,7 +1014,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1184,7 +1184,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BytesOperations: +class BytesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1354,7 +1354,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntOperations: +class IntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1524,7 +1524,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatOperations: +class FloatOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1694,7 +1694,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DecimalOperations: +class DecimalOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1864,7 +1864,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Decimal128Operations: +class Decimal128Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2034,7 +2034,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DatetimeOperations: +class DatetimeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2204,7 +2204,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DurationOperations: +class DurationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2374,7 +2374,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class EnumOperations: +class EnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2544,7 +2544,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ExtensibleEnumOperations: +class ExtensibleEnumOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2718,7 +2718,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelOperations: +class ModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2888,7 +2888,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsStringOperations: +class CollectionsStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3063,7 +3063,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsIntOperations: +class CollectionsIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3237,7 +3237,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class CollectionsModelOperations: +class CollectionsModelOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3412,7 +3412,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DictionaryStringOperations: +class DictionaryStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3587,7 +3587,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class NeverOperations: +class NeverOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3757,7 +3757,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownStringOperations: +class UnknownStringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3929,7 +3929,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownIntOperations: +class UnknownIntOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4099,7 +4099,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownDictOperations: +class UnknownDictOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4269,7 +4269,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnknownArrayOperations: +class UnknownArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4439,7 +4439,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringLiteralOperations: +class StringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4611,7 +4611,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntLiteralOperations: +class IntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4781,7 +4781,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatLiteralOperations: +class FloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4951,7 +4951,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class BooleanLiteralOperations: +class BooleanLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5125,7 +5125,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionStringLiteralOperations: +class UnionStringLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5302,7 +5302,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionIntLiteralOperations: +class UnionIntLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5476,7 +5476,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionFloatLiteralOperations: +class UnionFloatLiteralOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5651,7 +5651,7 @@ def put( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class UnionEnumValueOperations: +class UnionEnumValueOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/aio/operations/_operations.py index 5cdc0e29ccec..9f378eab5a55 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/aio/operations/_operations.py @@ -45,7 +45,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -168,7 +168,7 @@ async def put(self, body: str, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -291,7 +291,7 @@ async def put(self, body: bool, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class UnknownOperations: +class UnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -414,7 +414,7 @@ async def put(self, body: Any, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class DecimalTypeOperations: +class DecimalTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -581,7 +581,7 @@ async def request_parameter(self, *, value: decimal.Decimal, **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class Decimal128TypeOperations: +class Decimal128TypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -748,7 +748,7 @@ async def request_parameter(self, *, value: decimal.Decimal, **kwargs: Any) -> N return cls(pipeline_response, None, {}) # type: ignore -class DecimalVerifyOperations: +class DecimalVerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -868,7 +868,7 @@ async def verify(self, body: decimal.Decimal, **kwargs: Any) -> None: return cls(pipeline_response, None, {}) # type: ignore -class Decimal128VerifyOperations: +class Decimal128VerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/operations/_operations.py index 4c9e9ff23158..35a20c51a123 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-scalar/typetest/scalar/operations/_operations.py @@ -248,7 +248,7 @@ def build_decimal128_verify_verify_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class StringOperations: +class StringOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -371,7 +371,7 @@ def put(self, body: str, **kwargs: Any) -> None: # pylint: disable=inconsistent return cls(pipeline_response, None, {}) # type: ignore -class BooleanOperations: +class BooleanOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -494,7 +494,7 @@ def put(self, body: bool, **kwargs: Any) -> None: # pylint: disable=inconsisten return cls(pipeline_response, None, {}) # type: ignore -class UnknownOperations: +class UnknownOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -617,7 +617,7 @@ def put(self, body: Any, **kwargs: Any) -> None: # pylint: disable=inconsistent return cls(pipeline_response, None, {}) # type: ignore -class DecimalTypeOperations: +class DecimalTypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -788,7 +788,7 @@ def request_parameter( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class Decimal128TypeOperations: +class Decimal128TypeOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -959,7 +959,7 @@ def request_parameter( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class DecimalVerifyOperations: +class DecimalVerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1079,7 +1079,7 @@ def verify(self, body: decimal.Decimal, **kwargs: Any) -> None: # pylint: disab return cls(pipeline_response, None, {}) # type: ignore -class Decimal128VerifyOperations: +class Decimal128VerifyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/aio/operations/_operations.py index 266b026b4e94..a534c52981ab 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/aio/operations/_operations.py @@ -53,7 +53,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class StringsOnlyOperations: +class StringsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -237,7 +237,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleOperations: +class StringExtensibleOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -419,7 +419,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleNamedOperations: +class StringExtensibleNamedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -605,7 +605,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class IntsOnlyOperations: +class IntsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -785,7 +785,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class FloatsOnlyOperations: +class FloatsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -961,7 +961,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class ModelsOnlyOperations: +class ModelsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1143,7 +1143,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class EnumsOnlyOperations: +class EnumsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1325,7 +1325,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class StringAndArrayOperations: +class StringAndArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1507,7 +1507,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class MixedLiteralsOperations: +class MixedLiteralsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1689,7 +1689,7 @@ async def send( return cls(pipeline_response, None, {}) # type: ignore -class MixedTypesOperations: +class MixedTypesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/models/_models.py index fc471ed309e8..313635de5dfd 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/models/_models.py @@ -14,6 +14,8 @@ class Cat(_Model): :ivar name: Required. :vartype name: str + :keyword name: Required. + :paramtype name: str """ name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -42,6 +44,8 @@ class Dog(_Model): :ivar bark: Required. :vartype bark: str + :keyword bark: Required. + :paramtype bark: str """ bark: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -74,6 +78,12 @@ class EnumsOnlyCases(_Model): :ivar ud: This should be receive/send the up variant. Required. Is either a Literal["up"] type or a Literal["down"] type. :vartype ud: str or str + :keyword lr: This should be receive/send the left variant. Required. Is one of the following + types: Literal["left"], Literal["right"], Literal["up"], Literal["down"] + :paramtype lr: str or str or str or str + :keyword ud: This should be receive/send the up variant. Required. Is either a Literal["up"] + type or a Literal["down"] type. + :paramtype ud: str or str """ lr: Literal["left", "right", "up", "down"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -107,6 +117,9 @@ class GetResponse(_Model): :ivar prop: Required. Is one of the following types: Literal["a"], Literal["b"], Literal["c"] :vartype prop: str or str or str + :keyword prop: Required. Is one of the following types: Literal["a"], Literal["b"], + Literal["c"] + :paramtype prop: str or str or str """ prop: Literal["a", "b", "c"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -135,6 +148,8 @@ class GetResponse1(_Model): :ivar prop: Required. Is one of the following types: Literal["b"], Literal["c"], str :vartype prop: str or str or str + :keyword prop: Required. Is one of the following types: Literal["b"], Literal["c"], str + :paramtype prop: str or str or str """ prop: Union[Literal["b"], Literal["c"], str] = rest_field( @@ -165,6 +180,8 @@ class GetResponse2(_Model): :ivar prop: Required. Known values are: "b" and "c". :vartype prop: str or ~typetest.union.models.StringExtensibleNamedUnion + :keyword prop: Required. Known values are: "b" and "c". + :paramtype prop: str or ~typetest.union.models.StringExtensibleNamedUnion """ prop: Union[str, "_models.StringExtensibleNamedUnion"] = rest_field( @@ -195,6 +212,8 @@ class GetResponse3(_Model): :ivar prop: Required. Is one of the following types: Literal[1], Literal[2], Literal[3] :vartype prop: int or int or int + :keyword prop: Required. Is one of the following types: Literal[1], Literal[2], Literal[3] + :paramtype prop: int or int or int """ prop: Literal[1, 2, 3] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -223,6 +242,8 @@ class GetResponse4(_Model): :ivar prop: Required. Is one of the following types: float :vartype prop: float or float or float + :keyword prop: Required. Is one of the following types: float + :paramtype prop: float or float or float """ prop: float = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -251,6 +272,8 @@ class GetResponse5(_Model): :ivar prop: Required. Is either a Cat type or a Dog type. :vartype prop: ~typetest.union.models.Cat or ~typetest.union.models.Dog + :keyword prop: Required. Is either a Cat type or a Dog type. + :paramtype prop: ~typetest.union.models.Cat or ~typetest.union.models.Dog """ prop: Union["_models.Cat", "_models.Dog"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -279,6 +302,8 @@ class GetResponse6(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.EnumsOnlyCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.EnumsOnlyCases """ prop: "_models.EnumsOnlyCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -307,6 +332,8 @@ class GetResponse7(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.StringAndArrayCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.StringAndArrayCases """ prop: "_models.StringAndArrayCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -335,6 +362,8 @@ class GetResponse8(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedLiteralsCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.MixedLiteralsCases """ prop: "_models.MixedLiteralsCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -363,6 +392,8 @@ class GetResponse9(_Model): :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedTypesCases + :keyword prop: Required. + :paramtype prop: ~typetest.union.models.MixedTypesCases """ prop: "_models.MixedTypesCases" = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -401,6 +432,18 @@ class MixedLiteralsCases(_Model): :ivar boolean_literal: This should be receive/send the true variant. Required. Is one of the following types: Literal["a"], Literal[2], float, Literal[True] :vartype boolean_literal: str or int or float or bool + :keyword string_literal: This should be receive/send the "a" variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype string_literal: str or int or float or bool + :keyword int_literal: This should be receive/send the 2 variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype int_literal: str or int or float or bool + :keyword float_literal: This should be receive/send the 3.3 variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype float_literal: str or int or float or bool + :keyword boolean_literal: This should be receive/send the true variant. Required. Is one of the + following types: Literal["a"], Literal[2], float, Literal[True] + :paramtype boolean_literal: str or int or float or bool """ string_literal: Literal["a", 2, True] = rest_field( @@ -462,6 +505,21 @@ class MixedTypesCases(_Model): :vartype boolean: ~typetest.union.models.Cat or str or int or bool :ivar array: This should be receive/send 4 element with Cat, "a", int, and boolean. Required. :vartype array: list[~typetest.union.models.Cat or str or int or bool] + :keyword model: This should be receive/send the Cat variant. Required. Is one of the following + types: Cat, Literal["a"], int, bool + :paramtype model: ~typetest.union.models.Cat or str or int or bool + :keyword literal: This should be receive/send the "a" variant. Required. Is one of the + following types: Cat, Literal["a"], int, bool + :paramtype literal: ~typetest.union.models.Cat or str or int or bool + :keyword int_property: This should be receive/send the int variant. Required. Is one of the + following types: Cat, Literal["a"], int, bool + :paramtype int_property: ~typetest.union.models.Cat or str or int or bool + :keyword boolean: This should be receive/send the boolean variant. Required. Is one of the + following types: Cat, Literal["a"], int, bool + :paramtype boolean: ~typetest.union.models.Cat or str or int or bool + :keyword array: This should be receive/send 4 element with Cat, "a", int, and boolean. + Required. + :paramtype array: list[~typetest.union.models.Cat or str or int or bool] """ model: Union["_models.Cat", Literal["a"], int, bool] = rest_field( @@ -520,6 +578,12 @@ class StringAndArrayCases(_Model): :ivar array: This should be receive/send the array variant. Required. Is either a str type or a [str] type. :vartype array: str or list[str] + :keyword string: This should be receive/send the string variant. Required. Is either a str type + or a [str] type. + :paramtype string: str or list[str] + :keyword array: This should be receive/send the array variant. Required. Is either a str type + or a [str] type. + :paramtype array: str or list[str] """ string: Union[str, list[str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/operations/_operations.py index b1a8850f3642..a2a25e3a782c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/typetest-union/typetest/union/operations/_operations.py @@ -314,7 +314,7 @@ def build_mixed_types_send_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class StringsOnlyOperations: +class StringsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -496,7 +496,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleOperations: +class StringExtensibleOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -678,7 +678,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringExtensibleNamedOperations: +class StringExtensibleNamedOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -864,7 +864,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class IntsOnlyOperations: +class IntsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1044,7 +1044,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class FloatsOnlyOperations: +class FloatsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1220,7 +1220,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class ModelsOnlyOperations: +class ModelsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1402,7 +1402,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class EnumsOnlyOperations: +class EnumsOnlyOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1582,7 +1582,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class StringAndArrayOperations: +class StringAndArrayOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1762,7 +1762,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MixedLiteralsOperations: +class MixedLiteralsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1942,7 +1942,7 @@ def send( # pylint: disable=inconsistent-return-statements return cls(pipeline_response, None, {}) # type: ignore -class MixedTypesOperations: +class MixedTypesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_client.py index 75182a2237f3..83e134304b2c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_configuration.py index 20f5f9982ebe..086b974ff420 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class AddedClientConfiguration: +class AddedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_client.py index d0137f4f3fd2..19b562b21c48 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class AddedClient(_AddedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class AddedClient( + _AddedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@added`` decorator. :ivar interface_v2: InterfaceV2Operations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_configuration.py index 04bed28b8f30..d5f1c6ba5497 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class AddedClientConfiguration: +class AddedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for AddedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/operations/_operations.py index 800e69092013..8142626c7ae2 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/aio/operations/_operations.py @@ -35,7 +35,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/models/_models.py index fbf74206c3ee..85f0bb949083 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/models/_models.py @@ -18,6 +18,12 @@ class ModelV1(_Model): :vartype enum_prop: str or ~versioning.added.models.EnumV1 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2". + :paramtype enum_prop: str or ~versioning.added.models.EnumV1 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -60,6 +66,12 @@ class ModelV2(_Model): :vartype enum_prop: str or ~versioning.added.models.EnumV2 :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. "enumMember" + :paramtype enum_prop: str or ~versioning.added.models.EnumV2 + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/operations/_operations.py index d15ac3d1f522..f08eac4500de 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-added/versioning/added/operations/_operations.py @@ -85,7 +85,7 @@ def build_added_v2_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -class InterfaceV2Operations: +class InterfaceV2Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_client.py index 90567a6c4816..f0488cd720b6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class MadeOptionalClient(_MadeOptionalClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class MadeOptionalClient( + _MadeOptionalClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@madeOptional`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_configuration.py index 4db5f663beb0..c7f313962f01 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class MadeOptionalClientConfiguration: +class MadeOptionalClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for MadeOptionalClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_client.py index a194f3b67f72..ff3d3a94e225 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class MadeOptionalClient(_MadeOptionalClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class MadeOptionalClient( + _MadeOptionalClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@madeOptional`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py index 3baeea662aca..9daf3898e191 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class MadeOptionalClientConfiguration: +class MadeOptionalClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for MadeOptionalClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/models/_models.py index 41941a5206c1..649b8ff4cc49 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-madeoptional/versioning/madeoptional/models/_models.py @@ -13,6 +13,10 @@ class TestModel(_Model): :vartype prop: str :ivar changed_prop: :vartype changed_prop: str + :keyword prop: Required. + :paramtype prop: str + :keyword changed_prop: + :paramtype changed_prop: str """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_client.py index f11b0c20bda8..ddfbf351719f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class RemovedClient(_RemovedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RemovedClient( + _RemovedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@removed`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_configuration.py index cc7c837894ee..6cde143892b6 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class RemovedClientConfiguration: +class RemovedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for RemovedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_client.py index d5b46ff4b671..bda7d41cf93f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class RemovedClient(_RemovedClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RemovedClient( + _RemovedClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@removed`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_configuration.py index 9da0d45061bf..765ec6c03b4e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class RemovedClientConfiguration: +class RemovedClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for RemovedClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/models/_models.py index bcf944ab9227..0b64e68fbc4b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-removed/versioning/removed/models/_models.py @@ -18,6 +18,12 @@ class ModelV2(_Model): :vartype enum_prop: str or ~versioning.removed.models.EnumV2 :ivar union_prop: Required. Is either a str type or a float type. :vartype union_prop: str or float + :keyword prop: Required. + :paramtype prop: str + :keyword enum_prop: Required. "enumMemberV2" + :paramtype enum_prop: str or ~versioning.removed.models.EnumV2 + :keyword union_prop: Required. Is either a str type or a float type. + :paramtype union_prop: str or float """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) @@ -58,6 +64,10 @@ class ModelV3(_Model): :vartype id: str :ivar enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2Preview". :vartype enum_prop: str or ~versioning.removed.models.EnumV3 + :keyword id: Required. + :paramtype id: str + :keyword enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2Preview". + :paramtype enum_prop: str or ~versioning.removed.models.EnumV3 """ id: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_client.py index 1689fc0f9150..8c88ddd70b68 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class RenamedFromClient(_RenamedFromClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RenamedFromClient( + _RenamedFromClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@renamedFrom`` decorator. :ivar new_interface: NewInterfaceOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_configuration.py index ae658fbb81cd..2d380b399fbf 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class RenamedFromClientConfiguration: +class RenamedFromClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for RenamedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py index f100404c83e2..7b494c19b026 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py @@ -17,7 +17,9 @@ from typing_extensions import Self # type: ignore -class RenamedFromClient(_RenamedFromClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword +class RenamedFromClient( + _RenamedFromClientOperationsMixin +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@renamedFrom`` decorator. :ivar new_interface: NewInterfaceOperations operations diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py index 20429d17707a..9e75526a734e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class RenamedFromClientConfiguration: +class RenamedFromClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for RenamedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py index 9404997fdd2b..dbf2712f5f8b 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py @@ -33,7 +33,7 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] -class NewInterfaceOperations: +class NewInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/models/_models.py index 6965f7bd3c93..622904797e7f 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/models/_models.py @@ -18,6 +18,12 @@ class NewModel(_Model): :vartype enum_prop: str or ~versioning.renamedfrom.models.NewEnum :ivar union_prop: Required. Is either a str type or a int type. :vartype union_prop: str or int + :keyword new_prop: Required. + :paramtype new_prop: str + :keyword enum_prop: Required. "newEnumMember" + :paramtype enum_prop: str or ~versioning.renamedfrom.models.NewEnum + :keyword union_prop: Required. Is either a str type or a int type. + :paramtype union_prop: str or int """ new_prop: str = rest_field(name="newProp", visibility=["read", "create", "update", "delete", "query"]) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py index c8977ccd8032..189d83338077 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py @@ -70,7 +70,7 @@ def build_renamed_from_new_op_request(*, new_query: str, **kwargs: Any) -> HttpR return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) -class NewInterfaceOperations: +class NewInterfaceOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py index 0bfeacc72ef4..4db41af0ca8d 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py @@ -19,7 +19,7 @@ class ReturnTypeChangedFromClient( _ReturnTypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@returnTypeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py index 8c489dd254d8..68ebe3233ec9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class ReturnTypeChangedFromClientConfiguration: +class ReturnTypeChangedFromClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for ReturnTypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py index e29699d26e4f..80db44ce60cb 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py @@ -19,7 +19,7 @@ class ReturnTypeChangedFromClient( _ReturnTypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@returnTypeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py index b34b36bcf36f..2fb040516139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class ReturnTypeChangedFromClientConfiguration: +class ReturnTypeChangedFromClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for ReturnTypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_client.py index bd71ee50b7ef..4a8ebc3b3c27 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_client.py @@ -19,7 +19,7 @@ class TypeChangedFromClient( _TypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@typeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py index 608e7e8013b9..230f148f116e 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py @@ -7,7 +7,7 @@ from ._version import VERSION -class TypeChangedFromClientConfiguration: +class TypeChangedFromClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for TypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py index e347b3257b2e..a4a3b13885b9 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py @@ -152,7 +152,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py index 4172d811ae21..7e90d8102139 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/_utils/serialization.py @@ -474,7 +474,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py index dc9a4026ade3..22fa1ed23609 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py @@ -19,7 +19,7 @@ class TypeChangedFromClient( _TypeChangedFromClientOperationsMixin -): # pylint: disable=client-accepts-api-version-keyword +): # pylint: disable=client-accepts-api-version-keyword,docstring-keyword-should-match-keyword-only """Test for the ``@typeChangedFrom`` decorator. :param endpoint: Need to be set as '`http://localhost:3000 `_' in diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py index 26617774c35d..b130281d6d8c 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py @@ -7,7 +7,7 @@ from .._version import VERSION -class TypeChangedFromClientConfiguration: +class TypeChangedFromClientConfiguration: # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration for TypeChangedFromClient. Note that all parameters used to create this instance are saved as instance diff --git a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py index 50d31a1d17df..cb4d110dec49 100644 --- a/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py +++ b/eng/tools/azure-sdk-tools/emitter/generated/unbranded/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py @@ -13,6 +13,10 @@ class TestModel(_Model): :vartype prop: str :ivar changed_prop: Required. :vartype changed_prop: str + :keyword prop: Required. + :paramtype prop: str + :keyword changed_prop: Required. + :paramtype changed_prop: str """ prop: str = rest_field(visibility=["read", "create", "update", "delete", "query"])