hpcflow.sdk.monitoring.models.WorkflowHeaderToken#

class hpcflow.sdk.monitoring.models.WorkflowHeaderToken(filename, device, inode, size, modified_ns, changed_ns)#

Bases: object

File identity and stat values used to avoid reparsing an unchanged store header.

Methods

from_json

Validate and decode the six-item header file identity/stat sequence.

Attributes

Parameters:
changed_ns: int#
device: int#
filename: str#
classmethod from_json(data)#

Validate and decode the six-item header file identity/stat sequence.

Return type:

WorkflowHeaderToken

inode: int#
modified_ns: int#
size: int#