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:
parent
e5844a5fb5
commit
00b8df1111
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Extract values from pyproject.toml
|
||||
PYPROJECT_FILE="$(dirname "$0")/backend/pyproject.toml"
|
||||
PYPROJECT_FILE="/app/backend/pyproject.toml"
|
||||
|
||||
NAME=$(awk -F'= ' '/^name/ { print $2 }' "$PYPROJECT_FILE" | tr -d '"')
|
||||
VERSION=$(awk -F'= ' '/^version/ { print $2 }' "$PYPROJECT_FILE" | tr -d '"')
|
||||
|
Loading…
x
Reference in New Issue
Block a user