From e22fc86db674b29c55bf86ee1a5aa37e7a1c8a6a Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Wed, 19 Mar 2025 10:42:18 +0100 Subject: [PATCH] Update dependencies and improve Python path handling Updated several frontend dependencies including MUI packages and added new ones like `@mui/x-charts`. Adjusted the Python path setup in the CI configuration to correctly point to the `aaredb` backend, ensuring accurate module resolution. --- backend/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/main.py b/backend/main.py index 35e74cc..59b18a4 100644 --- a/backend/main.py +++ b/backend/main.py @@ -5,6 +5,8 @@ from pathlib import Path from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from fastapi.staticfiles import StaticFiles +from uvicorn import lifespan + from app import ssl_heidi from app.routers import ( proposal, @@ -72,6 +74,7 @@ def run_server(): # Get project metadata from pyproject.toml project_name, project_version = get_project_metadata() app = FastAPI( + lifespan=lifespan, title=project_name, description="Backend for next-gen sample management system", version=project_version,