@@ -324,9 +324,9 @@ def complete_abstract_value(exe_context, return_type, field_asts, info, result):
324324 # Field type must be Object, Interface or Union and expect sub-selections.
325325 if isinstance (return_type , (GraphQLInterfaceType , GraphQLUnionType )):
326326 if return_type .resolve_type :
327- runtime_type = return_type .resolve_type (result , exe_context . context_value , info )
327+ runtime_type = return_type .resolve_type (result , info )
328328 else :
329- runtime_type = get_default_resolve_type_fn (result , exe_context . context_value , info , return_type )
329+ runtime_type = get_default_resolve_type_fn (result , info , return_type )
330330
331331 if isinstance (runtime_type , string_types ):
332332 runtime_type = info .schema .get_type (runtime_type )
@@ -353,7 +353,7 @@ def complete_abstract_value(exe_context, return_type, field_asts, info, result):
353353 return complete_object_value (exe_context , runtime_type , field_asts , info , result )
354354
355355
356- def get_default_resolve_type_fn (value , context , info , abstract_type ):
356+ def get_default_resolve_type_fn (value , info , abstract_type ):
357357 possible_types = info .schema .get_possible_types (abstract_type )
358358 for type in possible_types :
359359 if callable (type .is_type_of ) and type .is_type_of (value , info ):
0 commit comments