Merge pull request #281 from Globegitter/union-type-export

Export union type directly.
This commit is contained in:
Syrus Akbary 2016-09-12 07:28:39 -07:00 committed by GitHub
commit e504c7227e
3 changed files with 11 additions and 4 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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',
]