ursa.raw¶
M2 raw-modality payload (ENG-890).
- class:
RawBytesis a thin carrier surfaced on :class:ursa.Dataunderdata.modalities[name]for modalities withingestion_status="raw". No time domain, no parsing — :func:ursa.getreads the segment files atModalityRow.raw_storage_uriand packages them as(key, bytes)tuples in store-listing order.
ENG-1093 replaces this with array-bearing temporaldata subclasses
once Virgo’s ingestion node populates the processed store; this module
goes away then.
Module Contents¶
Classes¶
List-of-segments raw-modality payload. |
Data¶
API¶
- ursa.raw.__all__¶
[‘RawBytes’]
- class ursa.raw.RawBytes[source]¶
List-of-segments raw-modality payload.
segmentsholds(object_key, bytes)tuples in sorted-key order (the get-path appliessorted(..., key=meta.key)so callers don’t have to).metadatais the same :class:ModalityRowthe catalog returned via :class:QueryResult.A list of segments — rather than one concatenated blob — preserves framed formats (video, parquet, lance) faithfully. Callers that want one byte string can do
b"".join(b for _, b in rb.segments)for formats where naïve concat is meaningful (CSV / JSONL / raw binary).- segments: tuple[tuple[str, bytes], ...]¶
None
- metadata: ursa.catalog.schemas.ModalityRow¶
None