hpcflow.sdk.monitoring.references.resolve_submission_id#
- hpcflow.sdk.monitoring.references.resolve_submission_id(records, local_id)#
Find a saved ID, or the latest submitted record for the special ID
-1.Use submission timestamps, with registry insertion order breaking ties. Local IDs may be reused and activity/finish times do not determine submission order. Reject an empty registry for
-1rather than interpreting it as a path.- Parameters:
records (list[SubmissionRecord])
local_id (int)
- Return type:
SubmissionRecord | None