Skip to content

Commit

Permalink
add todo for model_config extra forbid
Browse files Browse the repository at this point in the history
  • Loading branch information
staciax committed Dec 31, 2024
1 parent fed05de commit 2cb6514
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions valorant/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
class BaseModel(PydanticBaseModel):
"""Base class for all models."""

# TODO: How to enable this only on run tests?
# model_config = ConfigDict(extra='forbid')

def __repr__(self) -> str:
return f'<{self.__class__.__name__}>'

Expand Down

0 comments on commit 2cb6514

Please sign in to comment.