from typing import TypeVar from pydantic import BaseModel from core.database import Base Model = TypeVar("Model", bound=Base) Schema = TypeVar("Schema", bound=BaseModel) CreateSchema = TypeVar("CreateSchema", bound=BaseModel)