transcription-cost-usage-re.../backend/app/schemas/auth_sigup_schema.py

7 lines
175 B
Python

from pydantic import BaseModel
from typing import List, Literal
class SigUpRequest(BaseModel):
email: str
password: str
roles: List[Literal["admin", "user"]]