Writer
timenet.writer ¶source
Serialization of a :class:~timenet.dataset.TimeFDataset to the TimeF on-disk format.
ProgressStage ¶source
Bases: StrEnum
The writer's incremental stages. Only stages that carry information are emitted.
TimeFWriter ¶source
Context manager that serializes a dataset into the TimeF format and commits it atomically.
close ¶source
Write the manifest and atomically publish the staging directory.
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If :meth: |
write ¶source
Serialize every artifact except the manifest into the staging directory.
Raises:
| Type | Description |
|---|---|
TimeFValidationError
|
If the schema was not derived, a shared annotation id is not field-equal across samples, or a series array violates the per-series contract. |