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
Currently we use os.environ to access the envvars directly, which doesn't care about a .env file. If we use either dotenv library or pydantic-settings (my personal preference!) we can automatically load envvars from a .env file. pydantic-settings offers additional encapsulation of valdation and derived values.
The text was updated successfully, but these errors were encountered:
Currently we use
os.environ
to access the envvars directly, which doesn't care about a.env
file. If we use eitherdotenv
library orpydantic-settings
(my personal preference!) we can automatically load envvars from a.env
file.pydantic-settings
offers additional encapsulation of valdation and derived values.The text was updated successfully, but these errors were encountered: