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"