Home / Function/ dotenv_not_available() — flask Function Reference

dotenv_not_available() — flask Function Reference

Architecture documentation for the dotenv_not_available() function in test_cli.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  b1e557d9_402e_faf6_c402_d1a4e0aea550["dotenv_not_available()"]
  62c63da0_a9c3_ab0a_4c48_a9413eac90e3["test_cli.py"]
  b1e557d9_402e_faf6_c402_d1a4e0aea550 -->|defined in| 62c63da0_a9c3_ab0a_4c48_a9413eac90e3
  style b1e557d9_402e_faf6_c402_d1a4e0aea550 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_cli.py lines 521–527

def dotenv_not_available():
    try:
        import dotenv  # noqa: F401
    except ImportError:
        return True

    return False

Subdomains

Defined In

Frequently Asked Questions

What does dotenv_not_available() do?
dotenv_not_available() is a function in the flask codebase, defined in tests/test_cli.py.
Where is dotenv_not_available() defined?
dotenv_not_available() is defined in tests/test_cli.py at line 521.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free