Export union type directly.

This commit is contained in:
Markus Padourek 2016-09-12 09:25:38 +01:00
parent 94d46f7960
commit c15ce93542
2 changed files with 7 additions and 3 deletions

View File

@ -30,7 +30,8 @@ if not __SETUP__:
List, NonNull, List, NonNull,
Enum, Enum,
Argument, Argument,
Dynamic Dynamic,
Union,
) )
from .relay import ( from .relay import (
Node, Node,
@ -62,6 +63,7 @@ if not __SETUP__:
'NonNull', 'NonNull',
'Argument', 'Argument',
'Dynamic', 'Dynamic',
'Union',
'resolve_only_args', 'resolve_only_args',
'Node', 'Node',
'is_node', 'is_node',

View File

@ -13,6 +13,7 @@ from .inputfield import InputField
from .argument import Argument from .argument import Argument
from .inputobjecttype import InputObjectType from .inputobjecttype import InputObjectType
from .dynamic import Dynamic from .dynamic import Dynamic
from .union import Union
__all__ = [ __all__ = [
@ -33,5 +34,6 @@ __all__ = [
'Boolean', 'Boolean',
'List', 'List',
'NonNull', 'NonNull',
'Argument' 'Argument',
'Dynamic'] 'Dynamic',
]