client.cli.workflow.resources.usage

Workflow resources usage command.

Functions

usage(→ None)

Query resource usage for a task template version.

Module Contents

client.cli.workflow.resources.usage.usage(template_version: int, workflow_id: Tuple[int, Ellipsis], node_args: str | None) None

Query resource usage for a task template version.

Returns aggregate resource usage statistics for a task template, optionally filtered by workflow or node arguments.

b .. rubric:: Examples

# Get resource usage for template jobmon workflow resources usage -t 456

# Filter by workflows jobmon workflow resources usage -t 456 -w 12345 -w 67890

# Filter by node arguments jobmon workflow resources usage -t 456 -a ‘{“location_id”: 1}’