hpcflow.sdk.monitoring.headers.read_header#

hpcflow.sdk.monitoring.headers.read_header(path, previous=None)#

Read a supported store header, skipping JSON parsing for an unchanged token.

ZIP tokens describe the archive file, so replacing any member invalidates the token. Never extract files or require write access to the workflow.

Parameters:
Return type:

tuple[dict | None, WorkflowHeaderToken]