Fixed get_node_type function

This commit is contained in:
Syrus Akbary 2015-10-14 22:11:37 -07:00
parent e693f9b4dc
commit bfd7cb9535

View File

@ -11,7 +11,7 @@ from graphene.core.fields import LazyNativeField
from graphene.utils import memoize from graphene.utils import memoize
def get_node_type(schema, obj, info): def get_node_type(schema, obj, info=None):
return obj.internal_type(schema) return obj.internal_type(schema)