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

Function with_warn_for_invalid_lines

src/dotenv/main.py:32–39  ·  view source on GitHub ↗
(mappings: Iterator[Binding])

Source from the content-addressed store, hash-verified

30
31
32def with_warn_for_invalid_lines(mappings: Iterator[Binding]) -> Iterator[Binding]:
33 for mapping in mappings:
34 if mapping.error:
35 logger.warning(
36 "python-dotenv could not parse statement starting at line %s",
37 mapping.original.line,
38 )
39 yield mapping
40
41
42class DotEnv:

Callers 3

parseMethod · 0.85
set_keyFunction · 0.85
unset_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…