From 6f99372287c36af28e3b168c62ac6e073d9941b9 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sun, 14 Aug 2016 17:07:51 -0700 Subject: [PATCH] Added relay imports to Graphene. --- graphene/__init__.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/graphene/__init__.py b/graphene/__init__.py index 01e9a28d..79504a10 100644 --- a/graphene/__init__.py +++ b/graphene/__init__.py @@ -1,4 +1,5 @@ from .types import ( + AbstractType, ObjectType, InputObjectType, Interface, @@ -12,9 +13,17 @@ from .types import ( Argument, Dynamic ) +from .relay import ( + Node, + is_node, + ClientIDMutation, + Connection, + ConnectionField +) from .utils.resolve_only_args import resolve_only_args __all__ = [ + 'AbstractType', 'ObjectType', 'InputObjectType', 'Interface', @@ -32,4 +41,9 @@ __all__ = [ 'NonNull', 'Argument', 'Dynamic', - 'resolve_only_args'] + 'resolve_only_args', + 'Node', + 'is_node', + 'ClientIDMutation', + 'Connection', + 'ConnectionField']