saas_api/schemas/endpoint_schema.py

10 lines
202 B
Python

from typing import Any, List
from pydantic.main import BaseModel
class EndpointResponseSchema(BaseModel):
message: str = None
data: List[Any]
class Config:
from_attributes = True