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

Commit

Permalink
Fix pydantic warning (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Sep 11, 2023
1 parent f55b3a2 commit be3f28d
Showing 1 changed file with 1 addition and 2 deletions.
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)

0 comments on commit be3f28d

Please sign in to comment.