From 42769ada4508ed2036d6312c054aaa0b1cbb3220 Mon Sep 17 00:00:00 2001 From: Minister944 Date: Wed, 28 Feb 2024 14:30:55 +0100 Subject: [PATCH] linter --- ariadne_codegen/client_generators/client.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ariadne_codegen/client_generators/client.py b/ariadne_codegen/client_generators/client.py index 49153f6..6c1b524 100644 --- a/ariadne_codegen/client_generators/client.py +++ b/ariadne_codegen/client_generators/client.py @@ -141,15 +141,15 @@ def add_method( raise NotSupported( "Subscriptions are only available when using async client." ) - method_def: Union[ - ast.FunctionDef, ast.AsyncFunctionDef - ] = self._generate_subscription_method_def( - name=name, - operation_name=operation_name, - return_type=return_type, - arguments=arguments, - arguments_dict=arguments_dict, - operation_str=operation_str, + method_def: Union[ast.FunctionDef, ast.AsyncFunctionDef] = ( + self._generate_subscription_method_def( + name=name, + operation_name=operation_name, + return_type=return_type, + arguments=arguments, + arguments_dict=arguments_dict, + operation_str=operation_str, + ) ) elif async_: method_def = self._generate_async_method(