hpcflow.sdk.monitoring.references.resolve_records#

hpcflow.sdk.monitoring.references.resolve_records(records, reference, ref_type=None, *, allow_multiple=False)#

Resolve a registry reference without constructing workflow objects.

None selects all records. In automatic mode, a valid local ID takes precedence over an exact workflow name, followed by a path. Return all submission parts for an ID/name match, or all records at the resolved path. Reject ambiguous names and name/path collisions; explicit reference types bypass interpretation. An unmatched path returns an empty list for callers that support store fallback. -1 aliases the latest submitted record’s local ID, selecting all registered parts of its workflow just like a normal ID. Explicit names/paths stay literal. allow_multiple enables strict comma-separated ID lists for show/cancel. Validate the entire list before returning any matches and deduplicate workflows.

Parameters:
Return type:

list[SubmissionRecord]