raillabel.json_format.boolean_attribute module¶
- class raillabel.json_format.boolean_attribute.JSONBooleanAttribute(*, name: str, val: bool)¶
Bases:
_JSONFormatBase
A boolean 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].