Datatypes
rerun.blueprint.datatypes
ComponentColumnSelectorArrayLike = ComponentColumnSelector | Sequence[ComponentColumnSelectorLike]
module-attribute
A type alias for any ComponentColumnSelector-like array object.
ComponentColumnSelectorLike = ComponentColumnSelector | str
module-attribute
A type alias for any ComponentColumnSelector-like object.
ComponentSourceKindArrayLike = ComponentSourceKind | Literal['Default', 'Override', 'SourceComponent', 'default', 'override', 'sourcecomponent'] | int | Sequence[ComponentSourceKindLike]
module-attribute
A type alias for any ComponentSourceKind-like array object.
ComponentSourceKindLike = ComponentSourceKind | Literal['Default', 'Override', 'SourceComponent', 'default', 'override', 'sourcecomponent'] | int
module-attribute
A type alias for any ComponentSourceKind-like object.
FilterByRangeArrayLike = FilterByRange | Sequence[FilterByRangeLike]
module-attribute
A type alias for any FilterByRange-like array object.
FilterByRangeLike = FilterByRange
module-attribute
A type alias for any FilterByRange-like object.
FilterIsNotNullArrayLike = FilterIsNotNull | Sequence[FilterIsNotNullLike]
module-attribute
A type alias for any FilterIsNotNull-like array object.
FilterIsNotNullLike = FilterIsNotNull | blueprint_datatypes.ComponentColumnSelectorLike
module-attribute
A type alias for any FilterIsNotNull-like object.
SelectedColumnsArrayLike = SelectedColumns | Sequence[SelectedColumnsLike]
module-attribute
A type alias for any SelectedColumns-like array object.
SelectedColumnsLike = SelectedColumns | Sequence[blueprint_datatypes.ComponentColumnSelectorLike | datatypes.Utf8Like]
module-attribute
A type alias for any SelectedColumns-like object.
TensorDimensionIndexSliderArrayLike = TensorDimensionIndexSlider | Sequence[TensorDimensionIndexSliderLike] | npt.ArrayLike
module-attribute
A type alias for any TensorDimensionIndexSlider-like array object.
TensorDimensionIndexSliderLike = TensorDimensionIndexSlider | int
module-attribute
A type alias for any TensorDimensionIndexSlider-like object.
TextLogColumnArrayLike = TextLogColumn | Sequence[TextLogColumnLike]
module-attribute
A type alias for any TextLogColumn-like array object.
TextLogColumnKindArrayLike = TextLogColumnKind | Literal['Body', 'EntityPath', 'LogLevel', 'body', 'entitypath', 'loglevel'] | int | Sequence[TextLogColumnKindLike]
module-attribute
A type alias for any TextLogColumnKind-like array object.
TextLogColumnKindLike = TextLogColumnKind | Literal['Body', 'EntityPath', 'LogLevel', 'body', 'entitypath', 'loglevel'] | int
module-attribute
A type alias for any TextLogColumnKind-like object.
TextLogColumnLike = TextLogColumn | blueprint_datatypes.TextLogColumnKindLike
module-attribute
A type alias for any TextLogColumn-like object.
TimelineColumnArrayLike = TimelineColumn | Sequence[TimelineColumnLike]
module-attribute
A type alias for any TimelineColumn-like array object.
TimelineColumnLike = TimelineColumn | datatypes.Utf8Like
module-attribute
A type alias for any TimelineColumn-like object.
VisualizerComponentMappingArrayLike = VisualizerComponentMapping | Sequence[VisualizerComponentMappingLike]
module-attribute
A type alias for any VisualizerComponentMapping-like array object.
VisualizerComponentMappingLike = VisualizerComponentMapping
module-attribute
A type alias for any VisualizerComponentMapping-like object.
class ComponentColumnSelector
Bases: ComponentColumnSelectorExt
Datatype: Describe a component column to be selected in the dataframe view.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(spec=None, *, entity_path=None, component=None)
Create a new instance of the ComponentColumnSelector datatype.
| PARAMETER | DESCRIPTION |
|---|---|
spec
|
A string in the format "/entity/path:Component". If used,
TYPE:
|
entity_path
|
The column's entity path. If used,
TYPE:
|
component
|
The column's component type. If used,
TYPE:
|
class ComponentSourceKind
Bases: Enum
Datatype: What kind of source to use for a visualizer component mapping.
Default = 3
class-attribute
instance-attribute
Default as specified on the view's blueprint.
If the view doesn't specify a default for the target component name, a heuristically determined value will be used instead.
Override = 2
class-attribute
instance-attribute
Use a timeless override value that is defined in the blueprint.
The override value is stored on the same entity as the visualizer instruction
and uses the target as its component name.
If there is no override value with the target component name, a heuristically determined value will be used instead.
SourceComponent = 1
class-attribute
instance-attribute
Use an explicit selection defined by source_component.
May or may not make use of a selector string.
If the source component is not found on the entity, a heuristically determined value will be used instead.
def __str__()
Returns the variant name.
def auto(val)
classmethod
Best-effort converter, including a case-insensitive string matcher.
class FilterByRange
Bases: FilterByRangeExt
Datatype: Configuration for the filter-by-range feature of the dataframe view.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(start, end)
Create a new instance of the FilterByRange datatype.
| PARAMETER | DESCRIPTION |
|---|---|
start
|
Beginning of the time range.
TYPE:
|
end
|
End of the time range (inclusive).
TYPE:
|
class FilterIsNotNull
Bases: FilterIsNotNullExt
Datatype: Configuration for the filter is not null feature of the dataframe view.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(active, column)
Create a new instance of the FilterIsNotNull datatype.
| PARAMETER | DESCRIPTION |
|---|---|
active
|
Whether the filter by event feature is active.
TYPE:
|
column
|
The column used when the filter by event feature is used. |
class SelectedColumns
Bases: SelectedColumnsExt
Datatype: List of selected columns in a dataframe.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(columns)
Create a new instance of the SelectedColumns datatype.
Example:
SelectedColumns(["timeline", "/entity/path:Component"])
| PARAMETER | DESCRIPTION |
|---|---|
columns
|
The columns to include. The column must be either of the timeline, or component kind. Timeline columns can be specified using a
TYPE:
|
class TensorDimensionIndexSlider
Bases: TensorDimensionIndexSliderExt
Datatype: Defines a slider for the index of some dimension.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(dimension)
Create a new instance of the TensorDimensionIndexSlider datatype.
| PARAMETER | DESCRIPTION |
|---|---|
dimension
|
The dimension number. |
class TextLogColumn
Bases: TextLogColumnExt
Datatype: A text log column.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(kind, *, visible=True)
Create a new instance of the TextLogColumn datatype.
| PARAMETER | DESCRIPTION |
|---|---|
kind
|
What kind of column is this?
TYPE:
|
visible
|
Is this column visible?
TYPE:
|
class TextLogColumnKind
Bases: Enum
Datatype: A text log column kind.
Body = 3
class-attribute
instance-attribute
The text message the log has.
EntityPath = 1
class-attribute
instance-attribute
Which entity path this was logged to.
LogLevel = 2
class-attribute
instance-attribute
The log level, i.e INFO, WARN, ERROR.
def __str__()
Returns the variant name.
def auto(val)
classmethod
Best-effort converter, including a case-insensitive string matcher.
class TimelineColumn
Bases: TimelineColumnExt
Datatype: A timeline column in a table.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
class VisualizerComponentMapping
Datatype: Associate components of an entity to components of a visualizer.
⚠️ This type is unstable and may change significantly in a way that the data won't be backwards compatible.
def __init__(target, source_kind, *, source_component=None, selector=None)
Create a new instance of the VisualizerComponentMapping datatype.
| PARAMETER | DESCRIPTION |
|---|---|
target
|
Target component name which is being mapped to. This represents a "slot" on the visualizer.
TYPE:
|
source_kind
|
What kind of source to pick.
TYPE:
|
source_component
|
Component selector for mapping. Defaults to
TYPE:
|
selector
|
Optional selector string using jq-like syntax to pick a specific field on Defaults to empty string if not specified.
TYPE:
|