mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-14 02:02:20 +03:00
fix typo
This commit is contained in:
parent
57e3e86eb1
commit
0ff35cdd29
|
@ -9,7 +9,7 @@ from neomodel import (
|
||||||
# from graphene.utils import LazyList
|
# from graphene.utils import LazyList
|
||||||
|
|
||||||
def is_parent_set(info):
|
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
|
options = info.parent_type.graphene_type._meta.know_parent_fields
|
||||||
assert isinstance(options, (list, tuple)), \
|
assert isinstance(options, (list, tuple)), \
|
||||||
"know_parent_fields should be list or tuple"
|
"know_parent_fields should be list or tuple"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user