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

# You can extend this class by creating a "EnabledExt" class in "enabled_ext.py".

from __future__ import annotations

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

__all__ = ["Enabled", "EnabledBatch"]


class Enabled(datatypes.Bool, ComponentMixin):
    """
    **Component**: Whether a procedure is enabled.

    ⚠️ **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 EnabledExt in enabled_ext.py

    # Note: there are no fields here because Enabled delegates to datatypes.Bool


class EnabledBatch(datatypes.BoolBatch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.blueprint.components.Enabled"


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