From 0ff35cdd29db68534b44b7bfc506c536fa538f5e Mon Sep 17 00:00:00 2001 From: Mardanov Timur Rustemovich Date: Thu, 29 Nov 2018 17:42:21 +0300 Subject: [PATCH] fix typo --- graphene_django/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/utils.py b/graphene_django/utils.py index 830af03..498524e 100644 --- a/graphene_django/utils.py +++ b/graphene_django/utils.py @@ -9,7 +9,7 @@ from neomodel import ( # from graphene.utils import LazyList def is_parent_set(info): - if hasattr(info.parent_type._meta.graphene_type, 'know_parent_fields'): + if hasattr(info.parent_type.graphene_type._meta, 'know_parent_fields'): options = info.parent_type.graphene_type._meta.know_parent_fields assert isinstance(options, (list, tuple)), \ "know_parent_fields should be list or tuple"