Skip to content

__init__.py

rerun.components

The components package defines Python wrapper types for common registered Rerun components.

def ComponentTypeFactory(name, array_cls, field)

Build a component type wrapper.

def build_dense_union(data_type, discriminant, child)

Build a dense UnionArray given the data_type, a discriminant, and the child value array.

If the discriminant string doesn't match any possible value, a ValueError is raised.