diff --git a/server/common/pydantic_model.py b/server/common/pydantic_model.py index 7dc0be70..f6801904 100644 --- a/server/common/pydantic_model.py +++ b/server/common/pydantic_model.py @@ -4,5 +4,4 @@ class BaseModel(pydantic.BaseModel): """Base immutable model for our internal use.""" - class Config(object): - frozen = True + model_config = pydantic.ConfigDict(frozen=True)