From 4ef8645d041bb23b7a5c032bfd5b934dd33b1d0a Mon Sep 17 00:00:00 2001 From: tadelesh Date: Sun, 7 Apr 2024 16:25:49 +0800 Subject: [PATCH] format --- .../autorest/codegen/serializers/builder_serializer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py b/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py index 3141e6df72..1e7ed8fc40 100644 --- a/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py +++ b/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py @@ -1281,7 +1281,9 @@ def handle_response(self, builder: OperationType) -> List[str]: return retval def error_map(self, builder: OperationType) -> List[str]: - retval = ["error_map: MutableMapping[int, Union[Type[HttpResponseError], Callable]] = {"] + retval = [ + "error_map: MutableMapping[int, Union[Type[HttpResponseError], Callable]] = {" + ] if builder.non_default_errors: if not 401 in builder.non_default_error_status_codes: retval.append(" 401: ClientAuthenticationError,")