Skip to content

Commit b6df2d8

Browse files
committed
Improved function calling
1 parent 898329c commit b6df2d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graphene/core/types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ def fields_as_arguments(cls, schema):
176176
for f in cls._meta.fields])
177177

178178
@classmethod
179-
def resolve_objecttype(cls, schema, instance, *_):
179+
def resolve_objecttype(cls, schema, instance, *args):
180180
return instance.__class__
181181

182182
@classmethod
183-
def resolve_type(cls, schema, instance, *_):
184-
objecttype = cls.resolve_objecttype(schema, instance, *_)
183+
def resolve_type(cls, schema, instance, *args):
184+
objecttype = cls.resolve_objecttype(schema, instance, *args)
185185
return schema.T(objecttype)
186186

187187
@classmethod

0 commit comments

Comments
 (0)