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
00f694951a
commit
d9c480cd57
@ -235,7 +235,7 @@ if __name__ == "__main__":
|
|||||||
if is_ci or environment == "test":
|
if is_ci or environment == "test":
|
||||||
# Test or CI Mode: Run server process temporarily for test validation
|
# Test or CI Mode: Run server process temporarily for test validation
|
||||||
ssl_dir = Path(cert_path).parent
|
ssl_dir = Path(cert_path).parent
|
||||||
ssl_dir.mkdir(parents=True, exist_ok=True)
|
# ssl_dir.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
# Generate self-signed certs if missing
|
# Generate self-signed certs if missing
|
||||||
if not Path(cert_path).exists() or not Path(key_path).exists():
|
if not Path(cert_path).exists() or not Path(key_path).exists():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user