# 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/blueprint/components/row_share.fbs".

# You can extend this class by creating a "RowShareExt" class in "row_share_ext.py".

from __future__ import annotations

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

__all__ = ["RowShare", "RowShareBatch"]


class RowShare(datatypes.Float32, ComponentMixin):
    """
    **Component**: The layout share of a row in the container.

    ⚠️ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
    """

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

    # Note: there are no fields here because RowShare delegates to datatypes.Float32


class RowShareBatch(datatypes.Float32Batch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.blueprint.components.RowShare"


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