alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.1 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/entity_path.def.rs".
# You can extend this class by creating a "EntityPathExt" class in "entity_path_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["EntityPath", "EntityPathBatch"]
class EntityPath(encodings.EntityPath, ComponentMixin):
"""**Component**: A path to an entity, usually to reference some data that is part of the target entity."""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of EntityPathExt in entity_path_ext.py
# Note: there are no fields here because EntityPath delegates to encodings.EntityPath
class EntityPathBatch(encodings.EntityPathBatch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.EntityPath"
# This is patched in late to avoid circular dependencies.
EntityPath._BATCH_TYPE = EntityPathBatch # type: ignore[assignment]