alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.02 kB
# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/build/re_type_definitions/rerun/components/class_id.def.rs".
# You can extend this class by creating a "ClassIdExt" class in "class_id_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["ClassId", "ClassIdBatch"]
class ClassId(encodings.ClassId, ComponentMixin):
"""**Component**: A 16-bit ID representing a type of semantic class."""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of ClassIdExt in class_id_ext.py
# Note: there are no fields here because ClassId delegates to encodings.ClassId
class ClassIdBatch(encodings.ClassIdBatch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.ClassId"
# This is patched in late to avoid circular dependencies.
ClassId._BATCH_TYPE = ClassIdBatch # type: ignore[assignment]