server.web.routes.v2.cli.task_template

Routes for TaskTemplate.

Attributes

logger

SessionMaker

DIALECT

_cli_label_mapping

Functions

get_task_template_details_for_workflow(, task_template_id)

Get the details of a task template for a given workflow.

get_task_template_version_for_tasks(→ Any)

Get the task template version for the given tasks or workflow.

get_requested_cores() → Any)

Get the requested cores for the given task template version ids.

get_most_popular_queue() → Any)

Get the most popular queue for the given task template version ids.

get_task_template_resource_usage(→ Any)

Get the resource usage for the given task template.

get_workflow_tt_status_viz(→ Any)

Get the status visualization for the given workflow.

get_tt_error_log_viz(→ Any)

Get the error logs for a task template id for GUI.

Module Contents

server.web.routes.v2.cli.task_template.logger[source]
server.web.routes.v2.cli.task_template.SessionMaker[source]
server.web.routes.v2.cli.task_template.DIALECT[source]
server.web.routes.v2.cli.task_template._cli_label_mapping: Dict[str, str][source]
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.

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.

server.web.routes.v2.cli.task_template.get_workflow_tt_status_viz(workflow_id: int) Any[source]

Get the status visualization for the given workflow.

server.web.routes.v2.cli.task_template.get_tt_error_log_viz(wf_id: int, tt_id: int | None = None, ti_id: int | None = None, page: int = 1, page_size: int = 10, just_recent_errors: str = 'false', cluster_errors: str = 'false') Any[source]

Get the error logs for a task template id for GUI.