hpcflow.sdk.monitoring.models.RegistryData#

class hpcflow.sdk.monitoring.models.RegistryData(records=<factory>, next_local_id=0, schema_version=1, free_local_ids=<factory>)#

Bases: object

Registry records, a fresh-ID counter, and IDs freed by explicit unregistering.

free_local_ids maps reusable IDs to their next revision, keeping stale observations from an earlier registration from updating a reused ID.

Methods

from_json

Validate the schema and unique local IDs, then decode typed submission records.

Attributes

Parameters:
free_local_ids: dict[int, int]#
classmethod from_json(data)#

Validate the schema and unique local IDs, then decode typed submission records.

Keep the next-ID counter above every retained ID so pruning cannot reuse IDs.

Parameters:

data (dict)

Return type:

RegistryData

next_local_id: int#
records: list[SubmissionRecord]#
schema_version: int#