# 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/channel_id.def.rs". # You can extend this class by creating a "ChannelIdExt" class in "channel_id_ext.py". from __future__ import annotations from .. import encodings from .._baseclasses import ( ComponentBatchMixin, ComponentMixin, ) __all__ = ["ChannelId", "ChannelIdBatch"] class ChannelId(encodings.UInt16, ComponentMixin): """ **Component**: A 16-bit ID representing an MCAP channel. Used to identify specific channels within an MCAP file. """ _BATCH_TYPE = None # You can define your own __init__ function as a member of ChannelIdExt in channel_id_ext.py # Note: there are no fields here because ChannelId delegates to encodings.UInt16 class ChannelIdBatch(encodings.UInt16Batch, ComponentBatchMixin): _COMPONENT_TYPE: str = "rerun.components.ChannelId" # This is patched in late to avoid circular dependencies. ChannelId._BATCH_TYPE = ChannelIdBatch # type: ignore[assignment]