raillabel.json_format.stream_sync module¶
- class raillabel.json_format.stream_sync.JSONStreamSync(*, stream_properties: JSONStreamSyncProperties, uri: str | None = None)¶
Bases:
_JSONFormatBase
Syncronization information of a stream in a frame.
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- stream_properties: JSONStreamSyncProperties¶
- class raillabel.json_format.stream_sync.JSONStreamSyncProperties(*, sync: JSONStreamSyncTimestamp)¶
Bases:
_JSONFormatBase
The sync information.
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- sync: JSONStreamSyncTimestamp¶
- class raillabel.json_format.stream_sync.JSONStreamSyncTimestamp(*, timestamp: Decimal | str)¶
Bases:
_JSONFormatBase
The timestamp of a stream sync.
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].