Skip to content

Allow load_dotenv and dotenv_values to work with StringIO objects#98

Merged
theskumar merged 7 commits intomasterfrom
stream-as-input
Mar 3, 2018
Merged

Allow load_dotenv and dotenv_values to work with StringIO objects#98
theskumar merged 7 commits intomasterfrom
stream-as-input

Conversation

@theskumar
Copy link
Owner

supersede #78

@theskumar
Copy link
Owner Author

@alanjds I've taken your concept and included it in load_dotenv and dotenv_values. The parse_dotenv was probably not the right place to do it.

I've also take the liberty to refactor the code.

@theskumar
Copy link
Owner Author

I'll release in v0.8.0

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 86.638% when pulling 4e537a5 on stream-as-input into 84d16c4 on master.

@coveralls
Copy link

coveralls commented Mar 3, 2018

Coverage Status

Coverage decreased (-1.1%) to 85.47% when pulling 3e35279 on stream-as-input into 84d16c4 on master.

@theskumar theskumar merged commit 9f1ffc3 into master Mar 3, 2018
@theskumar theskumar deleted the stream-as-input branch March 3, 2018 16:28
johnbergvall pushed a commit to johnbergvall/python-dotenv that referenced this pull request Aug 13, 2021
…theskumar#98)

* Allow `load_dotenv` and `dotenv_values` to work with StringIO objects

* make flake8 happy

* Fix for python 2.7

* Try fixing unicode issue in python2

* python 2.7 related fixes

* Update docs

* Doc update
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.

2 participants