alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.16 kB
# 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/interactive.def.rs".
# You can extend this class by creating a "InteractiveExt" class in "interactive_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["Interactive", "InteractiveBatch"]
class Interactive(encodings.Bool, ComponentMixin):
"""
**Component**: Whether the entity can be interacted with.
Non interactive components are still visible, but mouse interactions in the view are disabled.
"""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of InteractiveExt in interactive_ext.py
# Note: there are no fields here because Interactive delegates to encodings.Bool
class InteractiveBatch(encodings.BoolBatch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.Interactive"
# This is patched in late to avoid circular dependencies.
Interactive._BATCH_TYPE = InteractiveBatch # type: ignore[assignment]