diff --git a/swapi/film.py b/swapi/film.py index 84b1629..873b070 100644 --- a/swapi/film.py +++ b/swapi/film.py @@ -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)) diff --git a/swapi/utils/connections.py b/swapi/utils/connections.py index 2de0323..9c93d40 100644 --- a/swapi/utils/connections.py +++ b/swapi/utils/connections.py @@ -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.