server.web.routes.v2.cli.task_template ====================================== .. py:module:: server.web.routes.v2.cli.task_template .. autoapi-nested-parse:: Routes for TaskTemplate. Attributes ---------- .. autoapisummary:: server.web.routes.v2.cli.task_template.logger Functions --------- .. autoapisummary:: server.web.routes.v2.cli.task_template.get_task_template_version_for_tasks server.web.routes.v2.cli.task_template.get_requested_cores server.web.routes.v2.cli.task_template.get_most_popular_queue server.web.routes.v2.cli.task_template.get_task_template_resource_usage server.web.routes.v2.cli.task_template.get_workflow_tt_status_viz server.web.routes.v2.cli.task_template.get_tt_error_log_viz Module Contents --------------- .. py:data:: logger .. py:function:: get_task_template_version_for_tasks() -> Any Get the task_template_version_ids. .. py:function:: get_requested_cores() -> Any Get the min, max, and arg of requested cores. .. py:function:: get_most_popular_queue() -> Any Get the most popular queue of the task template. .. py:function:: get_task_template_resource_usage() -> Any 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. .. py:function:: get_workflow_tt_status_viz(workflow_id: int) -> Any Get the status of the workflows for GUI. .. py:function:: get_tt_error_log_viz(tt_id: int, wf_id: int, ti_id: Optional[int]) -> Any Get the error logs for a task template id for GUI.