Training job in the background
This commit is contained in:
@@ -238,10 +238,10 @@ async def get_current_job_status(job_id: str, tenant_id: str) -> Dict[str, Any]:
|
||||
from app.core.database import get_db_session
|
||||
from app.models.training import ModelTrainingLog # Assuming you have this model
|
||||
|
||||
async with get_db_session() as db:
|
||||
# async with get_background_db_session() as db:
|
||||
# Query your training job status
|
||||
# This is a placeholder - adjust based on your actual database models
|
||||
pass
|
||||
# pass
|
||||
|
||||
# Placeholder return - replace with actual database query
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user