make_app() — fastapi Function Reference
Architecture documentation for the make_app() function in test_ws_router.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD afb5e1a2_9bfc_75af_3be4_6639f67befbd["make_app()"] b2e4c2fb_8042_93dc_9d79_2ae1a12773d6["test_ws_router.py"] afb5e1a2_9bfc_75af_3be4_6639f67befbd -->|defined in| b2e4c2fb_8042_93dc_9d79_2ae1a12773d6 9dd8d5e2_dc81_0024_ce18_a03f51e1055d["test_depend_validation()"] 9dd8d5e2_dc81_0024_ce18_a03f51e1055d -->|calls| afb5e1a2_9bfc_75af_3be4_6639f67befbd c70dd714_d3ca_bdb8_903b_f7f34bdd402a["test_depend_err_middleware()"] c70dd714_d3ca_bdb8_903b_f7f34bdd402a -->|calls| afb5e1a2_9bfc_75af_3be4_6639f67befbd 430ff898_4571_f930_fe5e_cb2dcad36981["test_depend_err_handler()"] 430ff898_4571_f930_fe5e_cb2dcad36981 -->|calls| afb5e1a2_9bfc_75af_3be4_6639f67befbd style afb5e1a2_9bfc_75af_3be4_6639f67befbd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_ws_router.py lines 107–112
def make_app(app=None, **kwargs):
app = app or FastAPI(**kwargs)
app.include_router(router)
app.include_router(prefix_router, prefix="/prefix")
app.include_router(native_prefix_route)
return app
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does make_app() do?
make_app() is a function in the fastapi codebase, defined in tests/test_ws_router.py.
Where is make_app() defined?
make_app() is defined in tests/test_ws_router.py at line 107.
What calls make_app()?
make_app() is called by 3 function(s): test_depend_err_handler, test_depend_err_middleware, test_depend_validation.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free