Datasets:
Formats:
csv
Languages:
English
Size:
< 1K
Tags:
robotics
embodied-ai
human-demonstration
egocentric-video
bimanual-manipulation
tactile-sensing
License:
Download player/runtime/python/Lib/site-packages/rerun/components/flag.py from alinarus/MultimodalData: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/datasets/alinarus/MultimodalData/resolve/main/player/runtime/python/Lib/site-packages/rerun/components/flag.py
- Command line
-
hf download hf://datasets/alinarus/MultimodalData/player/runtime/python/Lib/site-packages/rerun/components/flag.py
-
curl -L -o flag.py https://huggingface.co/datasets/alinarus/MultimodalData/resolve/main/player/runtime/python/Lib/site-packages/rerun/components/flag.py
1.21 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/flag.def.rs". | |
| # You can extend this class by creating a "FlagExt" class in "flag_ext.py". | |
| from __future__ import annotations | |
| from .. import encodings | |
| from .._baseclasses import ( | |
| ComponentBatchMixin, | |
| ComponentMixin, | |
| ) | |
| __all__ = ["Flag", "FlagBatch"] | |
| class Flag(encodings.Bool, ComponentMixin): | |
| """ | |
| **Component**: Whether a record is flagged, e.g. for review. | |
| The Viewer shows it as a flag button. | |
| Table card layouts show the first flag field in the card header. | |
| ⚠️ **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 FlagExt in flag_ext.py | |
| # Note: there are no fields here because Flag delegates to encodings.Bool | |
| class FlagBatch(encodings.BoolBatch, ComponentBatchMixin): | |
| _COMPONENT_TYPE: str = "rerun.components.Flag" | |
| # This is patched in late to avoid circular dependencies. | |
| Flag._BATCH_TYPE = FlagBatch # type: ignore[assignment] | |