File size: 1,170 Bytes
9ff4bea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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/blueprint/components/editable.def.rs".

# You can extend this class by creating a "EditableExt" class in "editable_ext.py".

from __future__ import annotations

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

__all__ = ["Editable", "EditableBatch"]


class Editable(encodings.Bool, ComponentMixin):
    """
    **Component**: Whether a table column's values can be edited.

    ⚠️ **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 EditableExt in editable_ext.py

    # Note: there are no fields here because Editable delegates to encodings.Bool


class EditableBatch(encodings.BoolBatch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.blueprint.components.Editable"


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