Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: force overriding environment variables from .env files #89

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

jamsea
Copy link
Contributor

@jamsea jamsea commented Mar 27, 2024

By default load_dotenv does not override existing environment variables. This has confused some users who are newer to Python, as this is not the same behavior as other programming languages like Node Js. This reverses the default behavior.

@aconchillo
Copy link
Contributor

LGTM!

@jamsea jamsea merged commit a3293c6 into main Mar 27, 2024
2 checks passed
@aconchillo aconchillo deleted the hush/forceLoadEnv branch October 23, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants