mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Improved syntax
This commit is contained in:
parent
b3dad1a120
commit
c408c233ea
|
@ -7,3 +7,6 @@ from graphene.contrib.django.fields import (
|
|||
DjangoConnectionField,
|
||||
DjangoModelField
|
||||
)
|
||||
|
||||
__all__ = ['DjangoObjectType', 'DjangoInterface', 'DjangoNode',
|
||||
'DjangoConnectionField', 'DjangoModelField']
|
||||
|
|
|
@ -2,7 +2,6 @@ import inspect
|
|||
from django.db import models
|
||||
|
||||
from graphene.core.options import Options
|
||||
from graphene.core.types import BaseObjectType
|
||||
from graphene.relay.utils import is_node
|
||||
from graphene.relay.types import Node
|
||||
|
||||
|
|
|
@ -5,10 +5,13 @@ from graphene.relay.fields import (
|
|||
)
|
||||
|
||||
from graphene.relay.types import (
|
||||
Node,
|
||||
PageInfo,
|
||||
Edge,
|
||||
Connection
|
||||
Node,
|
||||
PageInfo,
|
||||
Edge,
|
||||
Connection
|
||||
)
|
||||
|
||||
from graphene.relay.utils import is_node
|
||||
|
||||
__all__ = ['ConnectionField', 'NodeField', 'GlobalIDField', 'Node',
|
||||
'PageInfo', 'Edge', 'Connection', 'is_node']
|
||||
|
|
Loading…
Reference in New Issue
Block a user