Finding runs by label or property#

Find every run with a given label or property, for example to compare them or to execute a checklist on each.

In code#

from nominal.core import NominalClient

client = NominalClient.from_profile("default")

# a run must have every label and property listed
runs = client.search_runs(labels=["acceptance"], properties={"campaign": "Q4"})
for run in runs:
    print(run.name, run.rid)
use nominal::core::RunQuery;

let client = nominal::NominalClient::from_profile("default")?;

// a run must match every query listed
let runs = client.runs()
    .search(RunQuery::and([RunQuery::label("acceptance"), RunQuery::property("campaign", "Q4")]))
    .await?;
for run in &runs {
    println!("{} {}", run.name(), run.rid());
}

In the Nominal app#

  1. In the sidebar, click Runs, then FILTERS.

  2. Choose Label and pick the labels, or choose a property’s key and pick its value. With more than one filter, click MATCH ALL FILTERS to switch it to MATCH ANY FILTER.

  3. To keep the search, click NEW VIEW. Right-click the view’s tab to rename it.