alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.06 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/axis_length.def.rs".
# You can extend this class by creating a "AxisLengthExt" class in "axis_length_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["AxisLength", "AxisLengthBatch"]
class AxisLength(encodings.Float32, ComponentMixin):
"""**Component**: The length of an axis in local units of the space."""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of AxisLengthExt in axis_length_ext.py
# Note: there are no fields here because AxisLength delegates to encodings.Float32
class AxisLengthBatch(encodings.Float32Batch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.AxisLength"
# This is patched in late to avoid circular dependencies.
AxisLength._BATCH_TYPE = AxisLengthBatch # type: ignore[assignment]