Enable getting envvars from `.env` file
mfisher87 opened this issue · 0 comments
mfisher87 commented
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.