Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 548 Bytes
from .boolean import ScalarBoolean
from .float import ScalarFloat
from .id import ScalarId
from .int import ScalarInt
from .string import ScalarString
from .date import ScalarDate
from .time import ScalarTime
from .datetime import ScalarDateTime
from .custom_scalar import Scalar
CUSTOM_SCALARS = {
"Int": ScalarInt,
"ID": ScalarId,
"String": ScalarString,
"Float": ScalarFloat,
"Boolean": ScalarBoolean,
"Date": ScalarDate,
"Time": ScalarTime,
"DateTime": ScalarDateTime,
}
__all__ = ["Scalar", "CUSTOM_SCALARS"]
You can’t perform that action at this time.