Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/theskumar/python-dotenv
/ parse_stream
Function
parse_stream
src/dotenv/parser.py:172–175 ·
view source on GitHub ↗
(stream: IO[str])
Source
from the content-addressed store, hash-verified
170
171
172
def
parse_stream(stream: IO[str]) -> Iterator[Binding]:
173
reader = Reader(stream)
174
while
reader.has_next():
175
yield
parse_binding(reader)
Callers
4
test_parse_stream
Function · 0.90
parse
Method · 0.85
set_key
Function · 0.85
unset_key
Function · 0.85
Calls
3
has_next
Method · 0.95
Reader
Class · 0.85
parse_binding
Function · 0.85
Tested by
1
test_parse_stream
Function · 0.72