We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a .env such as
TEST="This is missing no values"
and the following code
import os from dotenv import dotenv_values, load_dotenv load_dotenv() config = dotenv_values() print("--------------------") print(config["TEST"]) print("--------------------") print(os.environ["TEST"]) print("--------------------") print(os.environ["TEST"] == config["TEST"])
returns
-------------------- This is missing no values -------------------- "This is missing -------------------- False
This is on python-dotenv 1.0.1 using Python 3.10.14
Expected output would be
-------------------- This is missing no values -------------------- This is missing no values -------------------- True
The text was updated successfully, but these errors were encountered:
Have reproduced this using 1.0.1 and python 3.12.
Sorry, something went wrong.
I tested it with Python 3.12.7 and python-dotenv 1.0.1, but I couldn’t reproduce the issue.
OS: Darwin 24.1.0 arm64 Python Version: Python 3.12.7 Pip Version: pip 24.3.1 Shell: /bin/zsh
No branches or pull requests
Given a .env such as
and the following code
returns
This is on python-dotenv 1.0.1 using Python 3.10.14
Expected output would be
The text was updated successfully, but these errors were encountered: