Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Fix pydantic warning #46

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions server/common/pydantic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)