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

Function _load_dotenv_disabled

src/dotenv/main.py:22–29  ·  view source on GitHub ↗

Determine if dotenv loading has been disabled.

()

Source from the content-addressed store, hash-verified

20
21
22def _load_dotenv_disabled() -> bool:
23 """
24 Determine if dotenv loading has been disabled.
25 """
26 if "PYTHON_DOTENV_DISABLED" not in os.environ:
27 return False
28 value = os.environ["PYTHON_DOTENV_DISABLED"].casefold()
29 return value in {"1", "true", "t", "yes", "y"}
30
31
32def with_warn_for_invalid_lines(mappings: Iterator[Binding]) -> Iterator[Binding]:

Callers 1

load_dotenvFunction · 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…