get_load_dotenv() — flask Function Reference
Architecture documentation for the get_load_dotenv() function in helpers.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 36bfda2d_4c0b_0fa1_7108_9f786fa1b2bc["get_load_dotenv()"] 881f9803_28d6_7d77_c8d7_1098b41ccf84["helpers.py"] 36bfda2d_4c0b_0fa1_7108_9f786fa1b2bc -->|defined in| 881f9803_28d6_7d77_c8d7_1098b41ccf84 bd6f23cb_dba0_e4d4_5806_2956f407d349["run()"] bd6f23cb_dba0_e4d4_5806_2956f407d349 -->|calls| 36bfda2d_4c0b_0fa1_7108_9f786fa1b2bc e4e08be1_e9e6_7b53_481b_3e13fc8c8378["__init__()"] e4e08be1_e9e6_7b53_481b_3e13fc8c8378 -->|calls| 36bfda2d_4c0b_0fa1_7108_9f786fa1b2bc style 36bfda2d_4c0b_0fa1_7108_9f786fa1b2bc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/helpers.py lines 35–47
def get_load_dotenv(default: bool = True) -> bool:
"""Get whether the user has disabled loading default dotenv files by
setting :envvar:`FLASK_SKIP_DOTENV`. The default is ``True``, load
the files.
:param default: What to return if the env var isn't set.
"""
val = os.environ.get("FLASK_SKIP_DOTENV")
if not val:
return default
return val.lower() in ("0", "false", "no")
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does get_load_dotenv() do?
get_load_dotenv() is a function in the flask codebase, defined in src/flask/helpers.py.
Where is get_load_dotenv() defined?
get_load_dotenv() is defined in src/flask/helpers.py at line 35.
What calls get_load_dotenv()?
get_load_dotenv() is called by 2 function(s): __init__, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free