Skip to content

Commit 1d67fe0

Browse files
committed
Prefer init variables over env variables
1 parent fa9051c commit 1d67fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ssm_settings/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def customise_sources(
1818
) -> Tuple[SettingsSourceCallable, ...]:
1919

2020
return (
21-
env_settings,
2221
init_settings,
22+
env_settings,
2323
# Usurping the `secrets_dir` arg. We can't expect any other args to
2424
# be passed to # the Settings module because Pydantic will complain
2525
# about unexpected arguments. `secrets_dir` comes from `_secrets_dir`,

0 commit comments

Comments
 (0)