sda.dashboard.api.app#

FastAPI application factory for the SDA Dashboard backend.

Functions#

create_api_app([test_name, debug, verbose, serve_frontend])

Create and configure the FastAPI application.

Module Contents#

sda.dashboard.api.app.create_api_app(test_name=None, debug=False, verbose=False, serve_frontend=True)#

Create and configure the FastAPI application.

Parameters:
  • test_name – Test(s) to pre-load on startup (forwarded to data manager).

  • debug – Enable debug/verbose logging.

  • verbose – Enable verbose pipeline logging.

  • serve_frontend – If True and frontend/dist exists next to the package root, mount the built React app at /.

Returns:

Configured FastAPI application instance.

Return type:

FastAPI