backend.main¶
Contains the main entry point for the FastAPI backend.
This module initializes the FastAPI application, sets up middleware, and includes the API routers.
Attributes¶
Functions¶
Module Contents¶
- async backend.main.lifespan(app: fastapi.FastAPI)¶
Initializes the CelonisConnectionManager and stores it in the app state.
This function is used as a context manager to ensure that the CelonisConnectionManager is properly initialized.
- Parameters:
app – The FastAPI application instance. This is used to store the CelonisConnectionManager instance in the application state.
- backend.main.app¶
- backend.main.home() Dict[str, str] ¶
Returns a simple message indicating that the API is running.