Files
KintoneAppBuilder/backend/app/core/common.py
2024-11-26 17:57:25 +09:00

10 lines
184 B
Python

from pydantic import BaseModel
from typing import Generic,TypeVar,Optional
T = TypeVar('T')
class ApiReturnModel(BaseModel,Generic[T]):
code:int = 0
msg:str ="OK"
data:T