{% extends "layout.html" %} {% block title %}Batches{% endblock %} {% block head %} {% endblock %} {% block content %}

Batches

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

  • k=v - batches with an attribute with key k and value v
  • has:k - batches that have an attribute with key k
  • user:u - batches that were created by user u
  • billing_project:bp - batches that were created in billing project bp
  • state - batches in the given state, one of:
    • open
    • closed (not open)
    • running
    • cancelled
    • failure
    • success
    • complete

    Note: cancelled and failure do not imply complete. cancelled means cancel has been called. failure means one (or more) jobs have failed. In either case, the batch may still be running.

  • !term - batches not matched by term
{% for batch in batches %} {% if not batch['complete'] and batch['state'] != 'Cancelled' %} {% endif %} {% endfor %}
ID User Billing Project Name Submitted Completed State Jobs Pending Succeeded Failed Cancelled Duration Cost
{{ batch['id'] }} {{ batch['user'] }} {{ batch['billing_project'] }} {% if 'attributes' in batch and 'name' in batch['attributes'] and batch['attributes']['name'] is not none %} {{ batch['attributes']['name'] }} {% endif %} {% if 'time_created' in batch and batch['time_created'] is not none %} {{ batch['time_created'] }} {% endif %} {% if 'time_completed' in batch and batch['time_completed'] is not none %} {{ batch['time_completed'] }} {% endif %} {{ batch['state'] }} {{ batch['n_jobs'] }} {{ batch['n_jobs'] - batch['n_completed'] }} {{ batch['n_succeeded'] }} {{ batch['n_failed'] }} {{ batch['n_cancelled'] }} {% if 'duration' in batch and batch['duration'] is not none %} {{ batch['duration'] }} {% endif %} {% if 'cost' in batch and batch['cost'] is not none %} {{ batch['cost'] }} {% endif %}
{% if q is not none %} {% endif %}
{% if q is not none %} {% endif %}
{% if last_batch_id is not none %}
{% if q is not none %} {% endif %}
{% endif %}
{% endblock %}