Skip to content

Commit 22d5839

Browse files
committed
more type fixes
1 parent b1e6576 commit 22d5839

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/strawberry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __init__(
140140
@cached_property
141141
def _resource_name(self):
142142
# type: () -> str
143-
query_hash = self.hash_query(self.execution_context.query)
143+
query_hash = self.hash_query(self.execution_context.query) # type: ignore
144144

145145
if self.execution_context.operation_name:
146146
return "{}:{}".format(self.execution_context.operation_name, query_hash)
@@ -347,7 +347,7 @@ def inner(event, hint):
347347
request_data["api_target"] = "graphql"
348348

349349
if not request_data.get("data"):
350-
data = {"query": execution_context.query}
350+
data = {"query": execution_context.query} # type: dict[str, Any]
351351
if execution_context.variables:
352352
data["variables"] = execution_context.variables
353353
if execution_context.operation_name:

0 commit comments

Comments
 (0)