Skip to content

Commit

Permalink
Update dataclassconfig.py
Browse files Browse the repository at this point in the history
Signed-off-by: Federico M. Facca <federico.facca@zaphiro.ch>
  • Loading branch information
chicco785 committed Nov 27, 2023
1 parent 24db830 commit 8dfe5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modernpython/utils/dataclassconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DataclassConfig: # pylint: disable=too-few-public-methods

# By default, with pydantic extra arguments given to a dataclass are silently ignored.
# This matches the default behaviour by failing noisily.
extra = "forbid"
extra = "ignore"
populate_by_name = True
defer_build = True
from_attributes = True
Expand Down

0 comments on commit 8dfe5bd

Please sign in to comment.