We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898329c commit b6df2d8Copy full SHA for b6df2d8
graphene/core/types.py
@@ -176,12 +176,12 @@ def fields_as_arguments(cls, schema):
176
for f in cls._meta.fields])
177
178
@classmethod
179
- def resolve_objecttype(cls, schema, instance, *_):
+ def resolve_objecttype(cls, schema, instance, *args):
180
return instance.__class__
181
182
183
- def resolve_type(cls, schema, instance, *_):
184
- objecttype = cls.resolve_objecttype(schema, instance, *_)
+ def resolve_type(cls, schema, instance, *args):
+ objecttype = cls.resolve_objecttype(schema, instance, *args)
185
return schema.T(objecttype)
186
187
0 commit comments