raillabel.format._attributes module¶ exception raillabel.format._attributes.UnsupportedAttributeTypeError(attribute_name: str, attribute_value: object)¶ Bases: TypeError raillabel.format._attributes._attributes_from_json(json: JSONAttributes | None) → dict[str, float | bool | str | list]¶ Parse the annotation attributes from json. raillabel.format._attributes._attributes_to_json(attributes: dict[str, float | bool | str | list]) → JSONAttributes | None¶