Added Date, DateTime and Time to global exports

This commit is contained in:
Syrus Akbary 2018-03-29 22:31:36 -07:00
parent 85e354c139
commit 50cd43c6e5
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@ from .types import (
Schema,
Scalar,
String, ID, Int, Float, Boolean,
Date, DateTime, Time,
JSONString,
UUID,
List, NonNull,
@ -54,6 +55,9 @@ __all__ = [
'Float',
'Enum',
'Boolean',
'Date',
'DateTime',
'Time',
'JSONString',
'UUID',
'List',

View File

@ -5,6 +5,7 @@ from .objecttype import ObjectType
from .interface import Interface
from .mutation import Mutation
from .scalars import Scalar, String, ID, Int, Float, Boolean
from .datetime import Date, DateTime, Time
from .json import JSONString
from .uuid import UUID
from .schema import Schema
@ -36,6 +37,9 @@ __all__ = [
'ID',
'Int',
'Float',
'Date',
'DateTime',
'Time',
'JSONString',
'UUID',
'Boolean',