# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/store/re_sdk_types/definitions/rerun/components/schema_id.fbs".

# You can extend this class by creating a "SchemaIdExt" class in "schema_id_ext.py".

from __future__ import annotations

from .. import datatypes
from .._baseclasses import (
    ComponentBatchMixin,
    ComponentMixin,
)

__all__ = ["SchemaId", "SchemaIdBatch"]


class SchemaId(datatypes.UInt16, ComponentMixin):
    """**Component**: A 16-bit unique identifier for a schema within the MCAP file."""

    _BATCH_TYPE = None
    # You can define your own __init__ function as a member of SchemaIdExt in schema_id_ext.py

    # Note: there are no fields here because SchemaId delegates to datatypes.UInt16


class SchemaIdBatch(datatypes.UInt16Batch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.components.SchemaId"


# This is patched in late to avoid circular dependencies.
SchemaId._BATCH_TYPE = SchemaIdBatch  # type: ignore[assignment]
