TaskRuns
Wherobots.task_runs; do not build it directly.
Parameters
cancel()
POST /task-runs/{id}/cancel).
The run moves to CANCELLING and then CANCELLED once the stop is
confirmed.
Parameters
Raises
WherobotsAPIError: On HTTP failures.
cost()
GET /task-runs/{id}/cost).
Parameters
Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures, or a cost the SDK cannot read (rather than reporting it as zero).
get()
GET /task-runs/{id}).
Parameters
Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures.
list()
GET /task-runs).
Parameters
Only runs in this state, or in any of these states.
Only runs submitted after this instant; a naive
datetime is read as local time.Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures.
logs()
GET /task-runs/{id}/logs).
Parameters
Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures.
Tasks
Wherobots.tasks; do not build it directly.
Parameters
Region new runs use when
run is given none; None lets the
API apply the organization’s default region.get()
GET /tasks/{name}).
Parameters
Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures.
list()
GET /tasks).
Parameters
Only tasks that can run in this region, or in any of these regions.
Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures.
run()
POST /tasks/{name}/runs).
Parameters
Region to run in; defaults to the configured region, then to
the organization’s default region.
Returns
Raises
WherobotsAPIError: On HTTP or JSON-parsing failures, including inputs the task’s schema rejects.

