refs #0 The root commit.
This commit is contained in:
9
back/core/typing.py
Normal file
9
back/core/typing.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user