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,
Enum,
Argument,
Dynamic
Dynamic,
Union,
)
from .relay import (
Node,
@ -62,6 +63,7 @@ if not __SETUP__:
'NonNull',
'Argument',
'Dynamic',
'Union',
'resolve_only_args',
'Node',
'is_node',

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