Skip to content

Commit

Permalink
fix: extraneous typing
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchitector committed Dec 5, 2023
1 parent 2ffd5ba commit 109944c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion strawberry/http/async_base_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def parse_http_body(

return GraphQLRequestData(
query=data.get("query"),
variables=data.get("variables"), # type: ignore
variables=data.get("variables"),
operation_name=data.get("operationName"),
)

Expand Down
2 changes: 1 addition & 1 deletion strawberry/http/sync_base_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def parse_http_body(self, request: SyncHTTPRequestAdapter) -> GraphQLRequestData

return GraphQLRequestData(
query=data.get("query"),
variables=data.get("variables"), # type: ignore
variables=data.get("variables"),
operation_name=data.get("operationName"),
)

Expand Down

0 comments on commit 109944c

Please sign in to comment.