Skip to content

Enable getting envvars from .env file #748

Description

@mfisher87

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancementUse this label for requests for new features or improvements to existing functionalities.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions