{% extends "layout.html" %} {% block title %}Batch {{ batch['id'] }}{% endblock %} {% block head %} {% endblock %} {% block content %}

Batch {{ batch['id'] }}

Properties

{% if not batch['complete'] and batch['state'] != 'Cancelled' %}
{% if q is not none %} {% endif %}
{% endif %}

Attributes

{% if 'attributes' in batch %} {% for name, value in batch['attributes'].items() %}

{{ name }}: {{ value }}

{% endfor %} {% endif %}

Jobs

Search jobs with the given search terms. Return jobs that match all terms. Terms:

  • job_id=JOB_ID - jobs with an id equal to JOB_ID
  • k=v - jobs with an attribute with key k and value v
  • has:k - jobs that have an attribute with key k
  • state - jobs in the given state, one of:
    • ready
    • running
    • live (ready or running)
    • cancelled
    • error
    • failed
    • bad (error or failed)
    • success
    • done (cancelled, error, failed or success)
  • !term - jobs not matched by term
{% for job in batch['jobs'] %} {% endfor %}
ID Name State Exit Code Duration Cost
{{ job['job_id'] }} {% if 'name' in job and job['name'] is not none %} {{ job['name'] }} {% endif %} {{ job['state'] }} {% if 'exit_code' in job and job['exit_code'] is not none %} {{ job['exit_code'] }} {% endif %} {% if 'duration' in job and job['duration'] is not none %} {{ job['duration'] }} {% endif %} {% if 'cost' in job and job['cost'] is not none %} {{ job['cost'] }} {% endif %}
{% if last_job_id is not none %}
{% if q is not none %} {% endif %}
{% endif %}
{% endblock %}