コード例 #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)