Home / Function/ app() — flask Function Reference

app() — flask Function Reference

Architecture documentation for the app() function in conftest.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  a9be895b_1fba_aa44_78a7_8ce2ef143322["app()"]
  91da8911_f5f3_2fff_0b5f_8e0f6b24cbf6["conftest.py"]
  a9be895b_1fba_aa44_78a7_8ce2ef143322 -->|defined in| 91da8911_f5f3_2fff_0b5f_8e0f6b24cbf6
  style a9be895b_1fba_aa44_78a7_8ce2ef143322 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/conftest.py lines 45–51

def app():
    app = Flask("flask_test", root_path=os.path.dirname(__file__))
    app.config.update(
        TESTING=True,
        SECRET_KEY="test key",
    )
    return app

Subdomains

Defined In

Frequently Asked Questions

What does app() do?
app() is a function in the flask codebase, defined in tests/conftest.py.
Where is app() defined?
app() is defined in tests/conftest.py at line 45.

Analyze Your Own Codebase

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

Try Supermodel Free