Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatsuDev committed Jan 7, 2023
1 parent 1f2c384 commit d6d43a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gqlrequests/query_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ def _create_method_head(self, indents: int = 0) -> str:
argument_list.append(f"{key}: {str(value).lower()}")
else:
argument_list.append(f"{key}: {value}")
return " " * (self.start_indent + indent) + f"{self.method_name}({', '.join(argument_list)})"
return (
" " * (self.start_indent + indents)
+ f"{self.method_name}({', '.join(argument_list)})"
)

def _generate_query(self, indents: int = 4) -> str:
return f"{self._create_method_head(indents-4)} " + super()._generate_query(
Expand Down

0 comments on commit d6d43a8

Please sign in to comment.