Source code for harp_apps.sqlalchemy_storage.constants
from enum import Enum
[docs]
class TimeBucket(Enum):
YEAR = "year"
MONTH = "month"
WEEK = "week"
DAY = "day"
HOUR = "hour"
MINUTE = "minute"
from enum import Enum
[docs]
class TimeBucket(Enum):
YEAR = "year"
MONTH = "month"
WEEK = "week"
DAY = "day"
HOUR = "hour"
MINUTE = "minute"