Add GenericScalar type import

This commit is contained in:
Max Murashov 2018-05-08 17:58:06 +03:00
parent 12d4dab774
commit 1e6143da4e
2 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,8 @@ from .types import (
Dynamic,
Union,
Context,
ResolveInfo
ResolveInfo,
GenericScalar,
)
from .relay import (
Node,
@ -76,6 +77,7 @@ __all__ = [
'lazy_import',
'Context',
'ResolveInfo',
'GenericScalar',
# Deprecated
'AbstractType',

View File

@ -18,6 +18,7 @@ from .inputobjecttype import InputObjectType
from .dynamic import Dynamic
from .union import Union
from .context import Context
from .generic import GenericScalar
# Deprecated
from .abstracttype import AbstractType
@ -50,6 +51,7 @@ __all__ = [
'Union',
'Context',
'ResolveInfo',
'GenericScalar',
# Deprecated
'AbstractType',