示例#1
0
class AggregationStats(Base):
    aggregation = EnumField(AggregationType)
    values = ListField(float)
示例#2
0
class EditUserReq(Base):
    user = StringField(required=True)
    role = EnumField(Role.get_company_roles())
示例#3
0
class StatItem(Base):
    key = StringField(required=True)
    aggregation = EnumField(AggregationType, default=AggregationType.avg)