Home / Function/ create_app() — flask Function Reference

create_app() — flask Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  870b03e5_c961_237d_d703_442267b4ac04["create_app()"]
  fc2e5aff_5bb0_0974_080b_2a1ed5805955["Module"]
  870b03e5_c961_237d_d703_442267b4ac04 -->|defined in| fc2e5aff_5bb0_0974_080b_2a1ed5805955
  47b4a6fb_0498_12cd_b655_998290850f04["test_find_best_app()"]
  47b4a6fb_0498_12cd_b655_998290850f04 -->|calls| 870b03e5_c961_237d_d703_442267b4ac04
  ed227a7d_8a49_c064_ccf7_245a7af942cb["test_scriptinfo()"]
  ed227a7d_8a49_c064_ccf7_245a7af942cb -->|calls| 870b03e5_c961_237d_d703_442267b4ac04
  285969ef_67f4_82b7_58a0_8b945fe6dbaa["test_flaskgroup_app_context()"]
  285969ef_67f4_82b7_58a0_8b945fe6dbaa -->|calls| 870b03e5_c961_237d_d703_442267b4ac04
  de7222ec_94cf_95e2_42e0_6daa31a860b1["test_flaskgroup_debug()"]
  de7222ec_94cf_95e2_42e0_6daa31a860b1 -->|calls| 870b03e5_c961_237d_d703_442267b4ac04
  95675dff_f144_120b_87ec_960934de7b65["test_help_echo_exception()"]
  95675dff_f144_120b_87ec_960934de7b65 -->|calls| 870b03e5_c961_237d_d703_442267b4ac04
  style 870b03e5_c961_237d_d703_442267b4ac04 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_cli.py lines 66–67

        def create_app():
            return Flask("appname")

Subdomains

Defined In

Frequently Asked Questions

What does create_app() do?
create_app() is a function in the flask codebase, defined in tests/test_cli.py.
Where is create_app() defined?
create_app() is defined in tests/test_cli.py at line 66.
What calls create_app()?
create_app() is called by 5 function(s): test_find_best_app, test_flaskgroup_app_context, test_flaskgroup_debug, test_help_echo_exception, test_scriptinfo.

Analyze Your Own Codebase

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

Try Supermodel Free