server.web.routes.v2.cli.task_template
Routes for TaskTemplate.
Attributes
Functions
|
Get the details of a task template for a given workflow. |
Get the task template version for the given tasks or workflow. |
|
|
Get the requested cores for the given task template version ids. |
|
Get the most popular queue for the given task template version ids. |
Get the resource usage for the given task template. |
|
|
Get the status visualization for the given workflow. |
|
Get the error logs for a task template id for GUI. |
Module Contents
- server.web.routes.v2.cli.task_template.get_task_template_details_for_workflow(workflow_id: int = Query(..., ge=1), task_template_id: int = Query(..., ge=1)) Any[source]
Get the details of a task template for a given workflow.
- server.web.routes.v2.cli.task_template.get_task_template_version_for_tasks(task_id: int | None = None, workflow_id: int | None = None) Any[source]
Get the task template version for the given tasks or workflow.
- server.web.routes.v2.cli.task_template.get_requested_cores(task_template_version_ids: str | None = Query(None)) Any[source]
Get the requested cores for the given task template version ids.
- server.web.routes.v2.cli.task_template.get_most_popular_queue(task_template_version_ids: str | None = Query(...)) Any[source]
Get the most popular queue for the given task template version ids.
- async server.web.routes.v2.cli.task_template.get_task_template_resource_usage(request: fastapi.Request) Any[source]
Get the resource usage for the given task template.