You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pydantic-settigns only loads the config for the models you are initializing(Config in your example) and collect values for the model fields. so it only consider the parent model configs
How to reproduce:
Given .env:
results in:
Setting env variable by hand e.g.
NESTED_FOO=foo python test.py
works fine.The text was updated successfully, but these errors were encountered: