Source code for encord.project_ontology.classification_option

from dataclasses import dataclass

[docs]@dataclass class ClassificationOption: """ A dataclass which holds nested options for the :class:`.ClassificationAttribute`. """ #: A unique (to the ontology) identifier of the option. id: str #: A description of the option. label: str #: A snake-case concatenated version of the label. value: str #: An 8-character hex string uniquely defining the option. feature_node_hash: str