Add job processing system with streaming endpoint

Introduced a `processing` router to handle job streaming using server-sent events. Added `Jobs` and `JobStatus` models for managing job-related data, along with database creation logic. Updated the `sample` router to create new job entries during experiment creation.
This commit is contained in:
GotthardG 2025-04-10 14:56:08 +02:00
parent 00b8df1111
commit 6ea0a09938

View File

@ -15,7 +15,7 @@ echo "Using project name: $NAME"
echo "Using version: $VERSION"
# Navigate to backend directory
cd "$(dirname "$0")/backend" || exit
cd "/app/backend" || exit
# Generate OpenAPI JSON file
echo "Generating OpenAPI JSON..."
@ -46,7 +46,7 @@ fi
# Build the package
cd python-client || exit
python3 -m venv .venv
source .venv/bin/activate
source /app/.venv/bin/activate
pip install -U pip build
python3 -m build