@@ -306,7 +306,7 @@ def build_response(
306306 if isawaitable (data ):
307307
308308 async def build_response_async ():
309- return self .build_response (await data )
309+ return self .build_response (await data ) # type: ignore
310310
311311 return build_response_async ()
312312 data = cast (Optional [Dict [str , Any ]], data )
@@ -353,7 +353,7 @@ def execute_operation(
353353 # noinspection PyShadowingNames
354354 async def await_result ():
355355 try :
356- return await result
356+ return await result # type: ignore
357357 except GraphQLError as error :
358358 self .errors .append (error )
359359 except Exception as error :
@@ -872,15 +872,19 @@ def complete_abstract_value(
872872 async def await_complete_object_value ():
873873 value = self .complete_object_value (
874874 self .ensure_valid_runtime_type (
875- await runtime_type , return_type , field_nodes , info , result
875+ await runtime_type , # type: ignore
876+ return_type ,
877+ field_nodes ,
878+ info ,
879+ result ,
876880 ),
877881 field_nodes ,
878882 info ,
879883 path ,
880884 result ,
881885 )
882886 if isawaitable (value ):
883- return await value
887+ return await value # type: ignore
884888 return value
885889
886890 return await_complete_object_value ()
@@ -950,7 +954,7 @@ def complete_object_value(
950954 if isawaitable (is_type_of ):
951955
952956 async def collect_and_execute_subfields_async ():
953- if not await is_type_of :
957+ if not await is_type_of : # type: ignore
954958 raise invalid_return_type_error (
955959 return_type , result , field_nodes
956960 )
0 commit comments