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