Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: return False when we do not discover any environment variables (#…
…388) * Fix docstring for load_dotenv The docstring for load_dotenv was missing a word, rendering it confusing. This commits modifies it for clarity. * Return False when we do not discover any environment variables This modifies Dotenv.set_as_environment_variables to return False if we have not discovered any environment variables via either `dotenv_path` or `stream`. The return value gets passed through to `load_dotenv`, so this can be used to determine if `dotenv.load_dotenv` was able to set anything. Closes #321 Co-authored-by: Saurabh Kumar <theskumar@users.noreply.github.com>
- Loading branch information