Skip to content

Commit

Permalink
Relax default protected_namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Nov 26, 2024
1 parent 6fe3bd1 commit 95808d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_settings/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def _settings_build_values(
yaml_file_encoding=None,
toml_file=None,
secrets_dir=None,
protected_namespaces=('model_', 'settings_'),
protected_namespaces=('model_validate', 'model_dump', 'settings_customise_sources'),
)


Expand Down

0 comments on commit 95808d8

Please sign in to comment.