MCPcopy Index your code
hub / github.com/theskumar/python-dotenv / parse

Method parse

src/dotenv/main.py:91–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 return self._dict
90
91 def parse(self) -> Iterator[Tuple[str, Optional[str]]]:
92 with self._get_stream() as stream:
93 for mapping in with_warn_for_invalid_lines(parse_stream(stream)):
94 if mapping.key is not None:
95 yield mapping.key, mapping.value
96
97 def set_as_environment_variables(self) -> bool:
98 """

Callers 1

dictMethod · 0.95

Calls 3

_get_streamMethod · 0.95
parse_streamFunction · 0.85

Tested by

no test coverage detected