server.web.routes.v2.cli.task_template

Routes for TaskTemplate.

Attributes

logger

Functions

get_task_template_version_for_tasks(→ Any)

Get the task_template_version_ids.

get_requested_cores(→ Any)

Get the min, max, and arg of requested cores.

get_most_popular_queue(→ Any)

Get the most popular queue of the task template.

get_task_template_resource_usage(→ Any)

Return the aggregate resource usage for a give TaskTemplate.

get_workflow_tt_status_viz(→ Any)

Get the status of the workflows for GUI.

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.get_task_template_version_for_tasks() Any[source]

Get the task_template_version_ids.

server.web.routes.v2.cli.task_template.get_requested_cores() Any[source]

Get the min, max, and arg of requested cores.

Get the most popular queue of the task template.

server.web.routes.v2.cli.task_template.get_task_template_resource_usage() Any[source]

Return the aggregate resource usage for a give TaskTemplate.

Need to use cross_origin decorator when using the GUI to call a post route. This enables Cross Origin Resource Sharing (CORS) on the route. Default is most permissive settings.

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

Get the status of the workflows for GUI.

server.web.routes.v2.cli.task_template.get_tt_error_log_viz(tt_id: int, wf_id: int) Any[source]

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