Kanban_clone_backend/schemas/users.py

9 lines
193 B
Python

from pydantic import BaseModel, ConfigDict
from typing import List
class UserBase(BaseModel):
model_config = ConfigDict(from_attributes=True)
id: int
name: str
email: str