mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-25 19:13:57 +03:00
Merge pull request #281 from Globegitter/union-type-export
Export union type directly.
This commit is contained in:
commit
e504c7227e
|
@ -30,11 +30,13 @@ if not __SETUP__:
|
|||
List, NonNull,
|
||||
Enum,
|
||||
Argument,
|
||||
Dynamic
|
||||
Dynamic,
|
||||
Union,
|
||||
)
|
||||
from .relay import (
|
||||
Node,
|
||||
is_node,
|
||||
GlobalID,
|
||||
ClientIDMutation,
|
||||
Connection,
|
||||
ConnectionField,
|
||||
|
@ -62,9 +64,11 @@ if not __SETUP__:
|
|||
'NonNull',
|
||||
'Argument',
|
||||
'Dynamic',
|
||||
'Union',
|
||||
'resolve_only_args',
|
||||
'Node',
|
||||
'is_node',
|
||||
'GlobalID',
|
||||
'ClientIDMutation',
|
||||
'Connection',
|
||||
'ConnectionField',
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
from .node import Node, is_node
|
||||
from .node import Node, is_node, GlobalID
|
||||
from .mutation import ClientIDMutation
|
||||
from .connection import Connection, ConnectionField, PageInfo
|
||||
|
||||
__all__ = [
|
||||
'Node',
|
||||
'is_node',
|
||||
'GlobalID',
|
||||
'ClientIDMutation',
|
||||
'Connection',
|
||||
'ConnectionField',
|
||||
|
|
|
@ -13,6 +13,7 @@ from .inputfield import InputField
|
|||
from .argument import Argument
|
||||
from .inputobjecttype import InputObjectType
|
||||
from .dynamic import Dynamic
|
||||
from .union import Union
|
||||
|
||||
|
||||
__all__ = [
|
||||
|
@ -33,5 +34,6 @@ __all__ = [
|
|||
'Boolean',
|
||||
'List',
|
||||
'NonNull',
|
||||
'Argument'
|
||||
'Dynamic']
|
||||
'Argument',
|
||||
'Dynamic',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user