File size: 254 Bytes
c353d4b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from pydantic import BaseModel
from typing import List


class RevenueMetricsResponse(BaseModel):
    period: str  # daily, weekly, or monthly
    revenue: float


class RecurringUserResponse(BaseModel):
    user_id: str
    username: str
    email: str