diff --git a/graphene/__init__.py b/graphene/__init__.py index 089d4765..5afc4f97 100644 --- a/graphene/__init__.py +++ b/graphene/__init__.py @@ -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', diff --git a/graphene/relay/__init__.py b/graphene/relay/__init__.py index 353cbf1f..8cc26ebf 100644 --- a/graphene/relay/__init__.py +++ b/graphene/relay/__init__.py @@ -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', diff --git a/graphene/types/__init__.py b/graphene/types/__init__.py index c7411ff9..179c6f6d 100644 --- a/graphene/types/__init__.py +++ b/graphene/types/__init__.py @@ -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', +]