mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-09 08:00:39 +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 import signals
|
||||||
|
|
||||||
from graphene.core.schema import (
|
from .core import (
|
||||||
Schema
|
Schema,
|
||||||
)
|
|
||||||
|
|
||||||
from graphene.core.classtypes import (
|
|
||||||
ObjectType,
|
ObjectType,
|
||||||
InputObjectType,
|
InputObjectType,
|
||||||
Interface,
|
Interface,
|
||||||
Mutation,
|
Mutation,
|
||||||
Scalar
|
Scalar,
|
||||||
)
|
|
||||||
|
|
||||||
from graphene.core.types import (
|
|
||||||
BaseType,
|
BaseType,
|
||||||
LazyType,
|
LazyType,
|
||||||
Argument,
|
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