diff --git a/fluid/scheduler/endpoints.py b/fluid/scheduler/endpoints.py index 31dfb94..419ccc9 100644 --- a/fluid/scheduler/endpoints.py +++ b/fluid/scheduler/endpoints.py @@ -58,6 +58,7 @@ async def get_task_status(task_manager: TaskManagerDep) -> dict: return await task_manager.status() return {} + @router.post( "/tasks", response_model=TaskRun,