From 6ea0a0993815ee258951d0f56070a360f161f8f4 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:56:08 +0200 Subject: [PATCH] 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. --- backend/make_openapi_client.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/make_openapi_client.sh b/backend/make_openapi_client.sh index e992332..0331da9 100755 --- a/backend/make_openapi_client.sh +++ b/backend/make_openapi_client.sh @@ -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