This commit is contained in:
2024-04-26 03:55:21 +00:00
parent 93f58648ed
commit b71f0054a0
20 changed files with 1221 additions and 0 deletions

8
fuware/schemas/common.py Normal file
View 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