Skip to content

Commit

Permalink
Enable Pydantic v2 strict-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulVanSchayck committed Oct 13, 2023
1 parent 14fb3e8 commit fd4a157
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/edr_pydantic/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ class EdrBaseModel(PydanticBaseModel):
str_min_length=1,
validate_default=True,
validate_assignment=True,
strict=True,
)

0 comments on commit fd4a157

Please sign in to comment.