raillabel.json_format.num_attribute module¶
- class raillabel.json_format.num_attribute.JSONNumAttribute(*, name: str, val: float)¶
Bases:
_JSONFormatBase
A number attribute.
- _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].