sda.dashboard.api.app ===================== .. py:module:: sda.dashboard.api.app .. autoapi-nested-parse:: FastAPI application factory for the SDA Dashboard backend. Functions --------- .. autoapisummary:: sda.dashboard.api.app.create_api_app Module Contents --------------- .. py:function:: create_api_app(test_name = None, debug = False, verbose = False, serve_frontend = True) Create and configure the FastAPI application. :param test_name: Test(s) to pre-load on startup (forwarded to data manager). :param debug: Enable debug/verbose logging. :param verbose: Enable verbose pipeline logging. :param serve_frontend: If True and ``frontend/dist`` exists next to the package root, mount the built React app at ``/``. :returns: Configured FastAPI application instance. :rtype: :py:class:`FastAPI`