Done setup template
This commit is contained in:
8
backend/schemas/common.py
Normal file
8
backend/schemas/common.py
Normal file
@ -0,0 +1,8 @@
|
||||
from typing import Generic, TypeVar
|
||||
from pydantic import BaseModel
|
||||
|
||||
T = TypeVar('T')
|
||||
|
||||
class ReturnValue(BaseModel, Generic[T]):
|
||||
status: int
|
||||
data: T
|
Reference in New Issue
Block a user