Make Mutation class visible in graphene root package

This commit is contained in:
Syrus Akbary 2016-09-10 22:17:13 -07:00
parent 9f30aa2d45
commit c78ff81f3a
2 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ if not __SETUP__:
ObjectType,
InputObjectType,
Interface,
Mutation,
Field,
InputField,
Schema,
@ -46,6 +47,7 @@ if not __SETUP__:
'ObjectType',
'InputObjectType',
'Interface',
'Mutation',
'Field',
'InputField',
'Schema',

View File

@ -3,6 +3,7 @@
from .objecttype import ObjectType
from .abstracttype import AbstractType
from .interface import Interface
from .mutation import Mutation
from .scalars import Scalar, String, ID, Int, Float, Boolean
from .schema import Schema
from .structures import List, NonNull
@ -13,11 +14,13 @@ from .argument import Argument
from .inputobjecttype import InputObjectType
from .dynamic import Dynamic
__all__ = [
'AbstractType',
'ObjectType',
'InputObjectType',
'Interface',
'Mutation',
'Enum',
'Field',
'InputField',