10 lines
229 B
Python
10 lines
229 B
Python
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)
|