Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 30, 2023
1 parent 704f63a commit 9c8a1a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion swapi/film.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ class FilmsEdge:

@staticmethod
def from_row(row: prisma.models.Film) -> "FilmsEdge":

return FilmsEdge(cursor=str(row.id), node=Film.from_row(row))


Expand Down
2 changes: 1 addition & 1 deletion swapi/utils/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def get_connection_object(
first: int | None = strawberry.UNSET,
last: int | None = strawberry.UNSET,
attribute_name: str | None = None,
additional_filters: dict[str, Any] | None = None
additional_filters: dict[str, Any] | None = None,
):
"""Returns a ConnectionType instance based on EdgeType and the passed params.
Expand Down

0 comments on commit 9c8a1a1

Please sign in to comment.