Added relay imports to Graphene.

This commit is contained in:
Syrus Akbary 2016-08-14 17:07:51 -07:00
parent 7940f02ba9
commit 6f99372287

View File

@ -1,4 +1,5 @@
from .types import ( from .types import (
AbstractType,
ObjectType, ObjectType,
InputObjectType, InputObjectType,
Interface, Interface,
@ -12,9 +13,17 @@ from .types import (
Argument, Argument,
Dynamic Dynamic
) )
from .relay import (
Node,
is_node,
ClientIDMutation,
Connection,
ConnectionField
)
from .utils.resolve_only_args import resolve_only_args from .utils.resolve_only_args import resolve_only_args
__all__ = [ __all__ = [
'AbstractType',
'ObjectType', 'ObjectType',
'InputObjectType', 'InputObjectType',
'Interface', 'Interface',
@ -32,4 +41,9 @@ __all__ = [
'NonNull', 'NonNull',
'Argument', 'Argument',
'Dynamic', 'Dynamic',
'resolve_only_args'] 'resolve_only_args',
'Node',
'is_node',
'ClientIDMutation',
'Connection',
'ConnectionField']