alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.11 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/blueprint/components/fps.def.rs".
# You can extend this class by creating a "FpsExt" class in "fps_ext.py".
from __future__ import annotations
from ... import encodings
from ..._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["Fps", "FpsBatch"]
class Fps(encodings.Float64, ComponentMixin):
"""
**Component**: Frames per second for a sequence timeline.
⚠️ **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 FpsExt in fps_ext.py
# Note: there are no fields here because Fps delegates to encodings.Float64
class FpsBatch(encodings.Float64Batch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.blueprint.components.Fps"
# This is patched in late to avoid circular dependencies.
Fps._BATCH_TYPE = FpsBatch # type: ignore[assignment]