2026-04-07 16:05:38 +03:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ResponseModel(BaseModel):
|
|
|
|
|
model_config = ConfigDict(
|
|
|
|
|
from_attributes=True,
|
|
|
|
|
extra="ignore",
|
2026-06-26 09:11:04 +09:00
|
|
|
validate_by_name=True,
|
|
|
|
|
validate_by_alias=True,
|
2026-04-07 16:05:38 +03:00
|
|
|
serialize_by_alias=True,
|
|
|
|
|
protected_namespaces=(),
|
|
|
|
|
)
|