mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-05 04:43:29 +03:00
Change types.py, adding NonNull import
This commit is contained in:
parent
54fae91632
commit
f00ca9fca0
|
@ -7,7 +7,7 @@ from django.db.models import Model
|
||||||
from django.utils.functional import SimpleLazyObject
|
from django.utils.functional import SimpleLazyObject
|
||||||
|
|
||||||
import graphene
|
import graphene
|
||||||
from graphene import Field
|
from graphene import Field, NonNull
|
||||||
from graphene.relay import Connection, Node
|
from graphene.relay import Connection, Node
|
||||||
from graphene.types.objecttype import ObjectType, ObjectTypeOptions
|
from graphene.types.objecttype import ObjectType, ObjectTypeOptions
|
||||||
from graphene.types.utils import yank_fields_from_attrs
|
from graphene.types.utils import yank_fields_from_attrs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user