mirror of
https://github.com/graphql-python/graphene.git
synced 2025-04-26 20:43:40 +03:00
Make Mutation class visible in graphene root package
This commit is contained in:
parent
9f30aa2d45
commit
c78ff81f3a
|
@ -21,6 +21,7 @@ if not __SETUP__:
|
||||||
ObjectType,
|
ObjectType,
|
||||||
InputObjectType,
|
InputObjectType,
|
||||||
Interface,
|
Interface,
|
||||||
|
Mutation,
|
||||||
Field,
|
Field,
|
||||||
InputField,
|
InputField,
|
||||||
Schema,
|
Schema,
|
||||||
|
@ -46,6 +47,7 @@ if not __SETUP__:
|
||||||
'ObjectType',
|
'ObjectType',
|
||||||
'InputObjectType',
|
'InputObjectType',
|
||||||
'Interface',
|
'Interface',
|
||||||
|
'Mutation',
|
||||||
'Field',
|
'Field',
|
||||||
'InputField',
|
'InputField',
|
||||||
'Schema',
|
'Schema',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
from .objecttype import ObjectType
|
from .objecttype import ObjectType
|
||||||
from .abstracttype import AbstractType
|
from .abstracttype import AbstractType
|
||||||
from .interface import Interface
|
from .interface import Interface
|
||||||
|
from .mutation import Mutation
|
||||||
from .scalars import Scalar, String, ID, Int, Float, Boolean
|
from .scalars import Scalar, String, ID, Int, Float, Boolean
|
||||||
from .schema import Schema
|
from .schema import Schema
|
||||||
from .structures import List, NonNull
|
from .structures import List, NonNull
|
||||||
|
@ -13,11 +14,13 @@ from .argument import Argument
|
||||||
from .inputobjecttype import InputObjectType
|
from .inputobjecttype import InputObjectType
|
||||||
from .dynamic import Dynamic
|
from .dynamic import Dynamic
|
||||||
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'AbstractType',
|
'AbstractType',
|
||||||
'ObjectType',
|
'ObjectType',
|
||||||
'InputObjectType',
|
'InputObjectType',
|
||||||
'Interface',
|
'Interface',
|
||||||
|
'Mutation',
|
||||||
'Enum',
|
'Enum',
|
||||||
'Field',
|
'Field',
|
||||||
'InputField',
|
'InputField',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user