Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Minister944 committed Feb 28, 2024
1 parent 7a01e91 commit 42769ad
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ariadne_codegen/client_generators/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 42769ad

Please sign in to comment.