mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-08 23:50:38 +03:00
Improved package imports
This commit is contained in:
parent
256a94bc81
commit
f4cfd7dc8a
|
@ -4,19 +4,13 @@ from graphql.core.type import (
|
|||
|
||||
from graphene import signals
|
||||
|
||||
from graphene.core.schema import (
|
||||
Schema
|
||||
)
|
||||
|
||||
from graphene.core.classtypes import (
|
||||
from .core import (
|
||||
Schema,
|
||||
ObjectType,
|
||||
InputObjectType,
|
||||
Interface,
|
||||
Mutation,
|
||||
Scalar
|
||||
)
|
||||
|
||||
from graphene.core.types import (
|
||||
Scalar,
|
||||
BaseType,
|
||||
LazyType,
|
||||
Argument,
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
from .schema import (
|
||||
Schema
|
||||
)
|
||||
|
||||
from .classtypes import (
|
||||
ObjectType,
|
||||
InputObjectType,
|
||||
Interface,
|
||||
Mutation,
|
||||
Scalar
|
||||
)
|
||||
|
||||
from .types import (
|
||||
BaseType,
|
||||
LazyType,
|
||||
Argument,
|
||||
Field,
|
||||
InputField,
|
||||
String,
|
||||
Int,
|
||||
Boolean,
|
||||
ID,
|
||||
Float,
|
||||
List,
|
||||
NonNull
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
'Argument',
|
||||
'String',
|
||||
'Int',
|
||||
'Boolean',
|
||||
'Float',
|
||||
'ID',
|
||||
'List',
|
||||
'NonNull',
|
||||
'Schema',
|
||||
'BaseType',
|
||||
'LazyType',
|
||||
'ObjectType',
|
||||
'InputObjectType',
|
||||
'Interface',
|
||||
'Mutation',
|
||||
'Scalar',
|
||||
'Field',
|
||||
'InputField']
|
Loading…
Reference in New Issue
Block a user