alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.07 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/linear_speed.def.rs".
# You can extend this class by creating a "LinearSpeedExt" class in "linear_speed_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["LinearSpeed", "LinearSpeedBatch"]
class LinearSpeed(encodings.Float64, ComponentMixin):
"""**Component**: Linear speed, used for translation speed for example."""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of LinearSpeedExt in linear_speed_ext.py
# Note: there are no fields here because LinearSpeed delegates to encodings.Float64
class LinearSpeedBatch(encodings.Float64Batch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.LinearSpeed"
# This is patched in late to avoid circular dependencies.
LinearSpeed._BATCH_TYPE = LinearSpeedBatch # type: ignore[assignment]