From bfd7cb9535ef5a21c6d3708db3c050314127375c Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Wed, 14 Oct 2015 22:11:37 -0700 Subject: [PATCH] Fixed get_node_type function --- graphene/relay/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene/relay/types.py b/graphene/relay/types.py index e3c38686..2ddf8da2 100644 --- a/graphene/relay/types.py +++ b/graphene/relay/types.py @@ -11,7 +11,7 @@ from graphene.core.fields import LazyNativeField 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)