create_app#
- mobu.main.create_app(*, load_config=True)#
Create the FastAPI application.
This is in a function rather than using a global variable (as is more typical for FastAPI) because some routing depends on configuration settings and we therefore want to recreate the application between tests.