Spaces:
Running
on
Zero
Running
on
Zero
from pydantic import BaseModel | |
class TeamBase(BaseModel): | |
name: str | |
class TeamCreate(TeamBase): | |
pass | |
class TeamRead(TeamBase): | |
id: int | |
created_at: datetime |