10 lines
202 B
Python
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
|