# 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/value_range.fbs".

# You can extend this class by creating a "ValueRangeExt" class in "value_range_ext.py".

from __future__ import annotations

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

__all__ = ["ValueRange", "ValueRangeBatch"]


class ValueRange(datatypes.Range1D, ComponentMixin):
    """
    **Component**: Range of expected or valid values, specifying a lower and upper bound.

    ⚠️ **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 ValueRangeExt in value_range_ext.py

    # Note: there are no fields here because ValueRange delegates to datatypes.Range1D


class ValueRangeBatch(datatypes.Range1DBatch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.components.ValueRange"


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