Skip to main content

sasvi.insights

Public surface for the insights feature layer.

Re-exports the insight sheet model, its typed cells (table, network, map, timeline, summary, text, image, and visualization), and the per-cell result payloads so callers can import them from sasvi.insights without reaching into private submodules. Insights are read and written through a bound document's document.insights manager; there is no standalone insights service.

Typed models for insight sheets and their cells.

Pydantic models mirroring the Visual Investigator insight (notesheet) payloads: the sheet itself, its typed cells (text, image, and the static visualization cells for table, summary, map, timeline, network, and text-analytics), and the per-cell result payloads returned when a live visualization is rendered.

CellDocumentRef Objects​

class CellDocumentRef(BaseVIEntity)

Reference to a document backing an insight cell's visualization query.

type​

id​

unique_id​

FilterModel Objects​

class FilterModel(BaseVIEntity)

Facet filter applied to a visualization cell's document query.

all_facets​

object_types​

VisualizationOptions Objects​

class VisualizationOptions(BaseVIEntity)

Free-form rendering options for a visualization cell (schema varies by type).

TableHitType Objects​

class TableHitType(BaseVIEntity)

Per-object-type hit tally within a table cell's hit summary.

hit_count​

selected​

type​

type_label​

TableHits Objects​

class TableHits(BaseVIEntity)

Aggregate hit counts for a table cell, broken down per object type.

hit_count​

hits_per_type​

type​

TableColumnHeading Objects​

class TableColumnHeading(BaseVIEntity)

Column heading in a rendered insight table grid.

field​

label​

type​

TableColumn Objects​

class TableColumn(BaseVIEntity)

Column specification for insight table cells.

field​

label​

type​

field_spec​

@classmethod
def field_spec(cls,
field: str,
*,
label: str | None = None,
type: str | None = None) -> TableColumn

Build a column spec from an explicit field/label/type triple.

Arguments:

  • field - VI field name displayed by the column.
  • label - Optional display label override.
  • type - Optional visualization-specific column type.

Returns:

A table-column specification.

text​

@classmethod
def text(cls, field: str, *, label: str | None = None) -> TableColumn

Build a text column spec for one field.

Arguments:

  • field - VI field name displayed by the column.
  • label - Optional display label override.

Returns:

A text table-column specification.

integer​

@classmethod
def integer(cls, field: str, *, label: str | None = None) -> TableColumn

Build an integer column spec for one field.

Arguments:

  • field - VI field name displayed by the column.
  • label - Optional display label override.

Returns:

An integer table-column specification.

SummaryFieldSpec Objects​

class SummaryFieldSpec(BaseVIEntity)

Field specification for insight summary cells.

field_name​

label​

type​

field_spec​

@classmethod
def field_spec(cls,
field_name: str,
*,
label: str | None = None,
type: str | None = None) -> SummaryFieldSpec

Build a summary field spec from an explicit field/label/type triple.

Arguments:

  • field_name - VI field name summarized by the cell.
  • label - Optional display label override.
  • type - Optional visualization-specific field type.

Returns:

A summary-field specification.

text​

@classmethod
def text(cls,
field_name: str,
*,
label: str | None = None) -> SummaryFieldSpec

Build a text summary-field spec.

Arguments:

  • field_name - VI field name summarized by the cell.
  • label - Optional display label override.

Returns:

A text summary-field specification.

integer​

@classmethod
def integer(cls,
field_name: str,
*,
label: str | None = None) -> SummaryFieldSpec

Build an integer summary-field spec.

Arguments:

  • field_name - VI field name summarized by the cell.
  • label - Optional display label override.

Returns:

An integer summary-field specification.

TimelineEventSpec Objects​

class TimelineEventSpec(BaseVIEntity)

Event specification for insight timeline cells.

timestamp_field​

label​

event_label​

description_field​

type​

field​

@classmethod
def field(cls,
timestamp_field: str,
*,
label: str | None = None,
event_label: str | None = None,
description_field: str | None = None,
type: str | None = None) -> TimelineEventSpec

Build one timeline event spec from timestamp and optional description fields.

Arguments:

  • timestamp_field - VI timestamp field used for the event.
  • label - Optional display label override.
  • event_label - Optional rendered event label.
  • description_field - Optional VI field used as the event description.
  • type - Optional visualization-specific event type.

Returns:

A timeline-event specification.

NetworkLinkSpec Objects​

class NetworkLinkSpec(BaseVIEntity)

Relationship/link specification for insight network cells.

source​

target​

id​

label​

subtype​

type​

width​

style​

between​

@classmethod
def between(cls,
source: str,
target: str,
*,
id: str | None = None,
label: str | None = None,
subtype: str | None = None,
type: str | None = None,
width: int | float | None = None,
style: Mapping[str, Any] | None = None) -> NetworkLinkSpec

Build one network-link specification between two node ids.

Arguments:

  • source - Source node identifier.
  • target - Target node identifier.
  • id - Optional explicit relationship identifier.
  • label - Optional display label.
  • subtype - Optional relationship subtype.
  • type - Optional relationship type.
  • width - Optional rendered line width.
  • style - Optional raw style payload.

Returns:

A network-link specification.

TableRow Objects​

class TableRow(BaseVIEntity)

One row of a rendered insight table grid.

id​

selected​

summary_type​

type_label​

TableGrid Objects​

class TableGrid(BaseVIEntity)

Rendered table grid -- column headings plus row data -- for a table cell.

column_headings​

data​

hit_count​

limit​

start​

type​

TableResult Objects​

class TableResult(BaseVIEntity)

Result payload for a table cell: hit summary plus the rendered grid.

hits​

table​

TableVisualizationResult Objects​

class TableVisualizationResult(BaseVIEntity)

Wrapper holding a table cell's rendered table results.

table_results​

SummaryField Objects​

class SummaryField(BaseVIEntity)

One field/value pair shown in a summary cell entry.

datahub_type​

field_name​

formatted_value​

name​

type​

value​

SummaryEntry Objects​

class SummaryEntry(BaseVIEntity)

One summarized object -- its fields and metadata -- in a summary cell.

attachments_count​

fields​

highlighting​

id​

label​

selected​

summary_type​

type​

type_label​

SummaryResult Objects​

class SummaryResult(BaseVIEntity)

Result payload for a summary cell: the summarized entries and hit counts.

hit_count​

limit​

results​

start​

type​

SummaryVisualizationResult Objects​

class SummaryVisualizationResult(BaseVIEntity)

Wrapper holding a summary cell's summary result.

summary​

MapEvent Objects​

class MapEvent(BaseVIEntity)

One geolocated event contributing to a map feature.

object_id​

object_type​

selected​

uuid​

MapFeatureProperties Objects​

class MapFeatureProperties(BaseVIEntity)

Aggregated event properties attached to a map feature.

event_count​

events​

selected_event_count​

MapGeometry Objects​

class MapGeometry(BaseVIEntity)

GeoJSON-style geometry (type plus coordinates) for a map feature.

coordinates​

type​

MapFeature Objects​

class MapFeature(BaseVIEntity)

One GeoJSON feature (geometry plus properties) rendered on a map cell.

geometry​

properties​

type​

uuid​

FeatureCollection Objects​

class FeatureCollection(BaseVIEntity)

GeoJSON feature collection rendered by a map cell.

features​

type​

MapResult Objects​

class MapResult(BaseVIEntity)

Result payload for a map cell: features plus event/feature counts and view.

approx_global_feature_count​

event_count​

feature_count​

features​

hit_count​

max_events​

max_features​

service_mode​

type​

view​

MapInitialView Objects​

class MapInitialView(BaseVIEntity)

Initial map viewport coordinates for a map cell.

view_coordinates​

MapVisualizationResult Objects​

class MapVisualizationResult(BaseVIEntity)

Wrapper holding a map cell's rendered map results and view state.

initial_view​

map_results​

tile_provider​

zoom​

TimelineOrderField Objects​

class TimelineOrderField(BaseVIEntity)

One sort field (name plus direction) in a timeline ordering.

direction​

name​

TimelineOrder Objects​

class TimelineOrder(BaseVIEntity)

Sort ordering applied to timeline entries.

fields​

type​

TimelineEntry Objects​

class TimelineEntry(BaseVIEntity)

One event entry rendered in a timeline swim lane.

end_timestamp​

entry_type​

event_category​

event_description​

event_id​

event_label​

group​

start_timestamp​

TimelineSwimLane Objects​

class TimelineSwimLane(BaseVIEntity)

One swim lane (grouping object) in a timeline cell.

attachments_count​

description​

id​

label​

object_id​

object_type​

object_type_label​

selected​

TimelineResult Objects​

class TimelineResult(BaseVIEntity)

Result payload for a timeline cell: entries, swim lanes, and time bounds.

event_count​

global_max_time​

global_min_time​

hit_count​

interval​

interval_count​

limit​

max_time​

min_time​

minimum_cluster_size​

order​

padding_factor​

start​

swim_lane_entries​

swim_lanes​

type​

TimelineViewRange Objects​

class TimelineViewRange(BaseVIEntity)

Visible start/end time window for a timeline cell.

end​

start​

TimelineVisualizationResult Objects​

class TimelineVisualizationResult(BaseVIEntity)

Wrapper holding a timeline cell's results and view range.

timeline_results​

timeline_view_range​

InsightNetworkNode Objects​

class InsightNetworkNode(BaseVIEntity)

One node in a network cell's graph, with style and layout position.

adjacent​

default_border_color​

default_border_width​

default_label​

default_node_color​

default_node_shape​

default_scale​

entity_type_name​

document_id​

id​

label​

sand_id​

selected​

style​

type​

type_label​

valid_from​

x​

y​

class InsightNetworkLink(BaseVIEntity)

One link (edge) in a network cell's graph, with style.

color​

dash_type​

default_arrow_type​

default_color​

default_dash_type​

default_width​

endpoint_type​

id​

label​

relationship_type_id​

source​

style​

subtype​

target​

type​

type_label​

visible​

width​

InsightNetworkData Objects​

class InsightNetworkData(BaseVIEntity)

Graph payload for a network cell: nodes keyed by id plus links.

nodes​

num_nodes​

options​

retain_initial_positions​

NetworkVisualizationResult Objects​

class NetworkVisualizationResult(BaseVIEntity)

Wrapper holding a network cell's graph data and zoom level.

network_data​

zoom_level​

TextAnalyticsResult Objects​

class TextAnalyticsResult(BaseVIEntity)

Result payload for a text-analytics cell (schema varies by configuration).

InsightCell Objects​

class InsightCell(BaseVIEntity)

Base model for one insight cell payload.

id​

row​

position​

type​

height​

width​

version​

contents​

last_modified​

from_vi_dict​

@classmethod
def from_vi_dict(cls,
payload: Mapping[str, Any] | BaseVIEntity) -> InsightCell

Parse a raw insight-cell payload into the correct typed cell model.

Arguments:

  • payload - Raw or handwritten insight-cell payload.

Returns:

The correctly typed insight-cell model.

text​

@classmethod
def text(cls,
contents: str,
*,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> TextInsightCell

Build a text cell.

Arguments:

  • contents - Plain text or HTML-like content shown in the cell.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

image​

@classmethod
def image(cls,
contents: Any,
*,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> ImageInsightCell

Build an image cell from an existing image payload or URL-like contents.

Arguments:

  • contents - Existing image payload, URL-like string, or image-cell contents.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

table​

@classmethod
def table(cls,
*,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> TableCell

Build a table cell from an explicit result payload.

Arguments:

  • result - Explicit table visualization result payload.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A table cell model.

Use table_from_documents when you want the SDK to derive rows and columns from bound documents.

table_from_documents​

@classmethod
def table_from_documents(cls,
*,
documents: Iterable[Any],
columns: Iterable[str | tuple[str, str]
| TableColumn],
result: Mapping[str, Any] | BaseVIEntity
| None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> TableCell

Build a table cell from bound documents and column specs.

Arguments:

  • documents - Bound documents or document-like payloads to render. A bound Document costs one synchronous entity-type read per distinct document type when the cell is built; a mapping payload costs none.
  • columns - Field names, (field, label) tuples, or TableColumn specs that describe the table columns. When the documents span more than one type, columns is ignored and the table shows each document's type, label and id.
  • result - Must remain None when using derived-document mode.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A table cell model.

Raises:

  • InsightInputError - If result is given, a document is neither a bound handle nor a mapping, or a column tuple is not (field, label).

summary​

@classmethod
def summary(cls,
*,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> SummaryCell

Build a summary cell from an explicit result payload.

Arguments:

  • result - Explicit summary visualization result payload.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A summary cell model.

summary_from_documents​

@classmethod
def summary_from_documents(cls,
*,
documents: Iterable[Any],
fields: Iterable[str | tuple[str, str]
| SummaryFieldSpec],
result: Mapping[str, Any] | BaseVIEntity
| None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> SummaryCell

Build a summary cell from bound documents and summary field specs.

Arguments:

  • documents - Bound documents or document-like payloads. A bound Document costs one synchronous entity-type read per distinct document type when the cell is built; a mapping payload costs none.
  • fields - Summary-field specs or shorthand field references. When the documents span more than one type, fields is ignored and each entry shows the document's type and id.
  • result - Must remain None when using derived-document mode.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A summary cell model.

Raises:

  • InsightInputError - If result is given, a document is neither a bound handle nor a mapping, or a field tuple is not (field_name, label).

map​

@classmethod
def map(cls,
*,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> MapCell

Build a map cell from an explicit result payload.

Arguments:

  • result - Explicit map visualization result payload.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A map cell model.

map_from_documents​

@classmethod
def map_from_documents(cls,
*,
documents: Iterable[Any],
latitude_field: str,
longitude_field: str,
label_field: str = "_label",
tile_provider: str = "SAS Open Street Map",
initial_view: MapInitialView
| BaseVIEntity
| Mapping[str, Any]
| Sequence[Sequence[float]]
| None = None,
zoom: int | float | None = None,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> MapCell

Build a map cell from documents with latitude/longitude fields.

Arguments:

  • documents - Bound documents or document-like payloads. A bound Document costs one synchronous entity-type read per distinct document type when the cell is built; a mapping payload costs none.
  • latitude_field - VI field containing latitude values.
  • longitude_field - VI field containing longitude values.
  • label_field - VI field used for point labels.
  • tile_provider - Map tile provider name.
  • initial_view - Optional initial map view payload or bounds.
  • zoom - Optional initial zoom level.
  • result - Must remain None when using derived-document mode.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A static map cell model.

Raises:

  • InsightInputError - If result is given, a document is neither a bound handle nor a mapping, or no document has readable coordinates.

timeline​

@classmethod
def timeline(cls,
*,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> TimelineCell

Build a timeline cell from an explicit result payload.

Arguments:

  • result - Explicit timeline visualization result payload.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A timeline cell model.

timeline_from_documents​

@classmethod
def timeline_from_documents(cls,
*,
documents: Iterable[Any],
events: Iterable[str | tuple[str, str]
| TimelineEventSpec],
interval: str | None = None,
interval_count: int | None = None,
minimum_cluster_size: int | None = None,
order: TimelineOrder | BaseVIEntity
| Mapping[str, Any] | None = None,
padding_factor: int | float | None = None,
result: Mapping[str, Any] | BaseVIEntity
| None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> TimelineCell

Build a timeline cell from documents and event specifications.

Arguments:

  • documents - Bound documents or document-like payloads. A bound Document costs one synchronous entity-type read per distinct document type when the cell is built; a mapping payload costs none.
  • events - Timeline event specs or shorthand field references. A numeric timestamp value is read as epoch milliseconds.
  • interval - Optional interval bucket name.
  • interval_count - Optional interval bucket count.
  • minimum_cluster_size - Optional minimum cluster size.
  • order - Optional timeline ordering payload.
  • padding_factor - Optional padding factor for the view range.
  • result - Must remain None when using derived-document mode.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A static timeline cell model.

Raises:

  • InsightInputError - If result is given, a document is neither a bound handle nor a mapping, an event tuple is not (timestamp_field, label), or no document has a readable timestamp.

network​

@classmethod
def network(cls,
contents: Any = None,
*,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> NetworkCell

Build a network cell from explicit network payload pieces.

Arguments:

  • contents - Optional freeform network contents payload.
  • result - Explicit network visualization result payload.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A network cell model.

network_from_documents​

@classmethod
def network_from_documents(cls,
*,
documents: Iterable[Any],
links: Iterable[tuple[str, str] | NetworkLinkSpec
| Mapping[str, Any]] | None = None,
zoom_level: int | float = 1,
result: Mapping[str, Any] | BaseVIEntity
| None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> NetworkCell

Build a network cell from bound documents and optional link specs.

Arguments:

  • documents - Bound documents or document-like payloads. A bound Document costs one synchronous entity-type read per distinct document type when the cell is built; a mapping payload costs none.
  • links - Optional explicit network-link specs.
  • zoom_level - Initial zoom level for the network.
  • result - Must remain None when using derived-document mode.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A static network cell model.

Raises:

  • InsightInputError - If result is given, a document is neither a bound handle nor a mapping, a document has no type or id, a link tuple is not (source, target), or a link endpoint matches no document or more than one.

text_analytics​

@classmethod
def text_analytics(cls,
*,
result: Mapping[str, Any] | BaseVIEntity | None = None,
row: int | None = None,
position: int | None = None,
height: int | None = None,
width: int | None = None,
**extra: Any) -> TextAnalyticsCell

Build a text-analytics cell from an explicit result payload.

Arguments:

  • result - Explicit text-analytics result payload.
  • row - Optional grid row index.
  • position - Optional position within the row.
  • height - Optional cell height.
  • width - Optional cell width.
  • **extra - Additional raw cell properties.

Returns:

A text-analytics cell model.

TextInsightCell Objects​

class TextInsightCell(InsightCell)

Free-text insight cell holding Markdown/HTML contents.

type​

contents​

ImageInsightCell Objects​

class ImageInsightCell(InsightCell)

Image insight cell holding an embedded or referenced image.

type​

contents​

image_url​

image_location​

annotations​

VisualizationInsightCell Objects​

class VisualizationInsightCell(InsightCell)

Static visualization cell bound to a document query and facet filter.

type​

visualization_type​

documents​

filter_model​

results_per_page​

visualization_options​

zoom_level​

result​

TableCell Objects​

class TableCell(VisualizationInsightCell)

Static visualization cell rendering results as a table.

visualization_type​

result​

table_result​

@property
def table_result() -> TableResult | None

The rendered table result, or None if the cell has no result.

SummaryCell Objects​

class SummaryCell(VisualizationInsightCell)

Static visualization cell rendering results as a per-object summary.

visualization_type​

result​

summary_result​

@property
def summary_result() -> SummaryResult | None

The rendered summary result, or None if the cell has no result.

MapCell Objects​

class MapCell(VisualizationInsightCell)

Static visualization cell rendering geolocated results on a map.

visualization_type​

result​

map_result​

@property
def map_result() -> MapResult | None

The rendered map result, or None if the cell has no result.

tile_provider​

@property
def tile_provider() -> str | None

The map tile-provider identifier, or None if the cell has no result.

initial_view​

@property
def initial_view() -> MapInitialView | None

The initial map viewport, or None if the cell has no result.

TimelineCell Objects​

class TimelineCell(VisualizationInsightCell)

Static visualization cell rendering results on a timeline.

visualization_type​

result​

timeline_result​

@property
def timeline_result() -> TimelineResult | None

The rendered timeline result, or None if the cell has no result.

timeline_view_range​

@property
def timeline_view_range() -> TimelineViewRange | None

The visible timeline time window, or None if the cell has no result.

NetworkCell Objects​

class NetworkCell(VisualizationInsightCell)

Static visualization cell rendering results as a node-link graph.

visualization_type​

result​

network_data​

@property
def network_data() -> InsightNetworkData | None

The rendered network graph data, or None if the cell has no result.

nodes​

@property
def nodes() -> dict[str, InsightNetworkNode]

The network nodes keyed by node id (empty if the cell has no graph data).

@property
def links() -> list[InsightNetworkLink]

The network links/edges (empty if the cell has no graph data).

TextAnalyticsCell Objects​

class TextAnalyticsCell(VisualizationInsightCell)

Static visualization cell rendering text-analytics results.

visualization_type​

result​

InsightTypedCell​

parse_insight_cell​

def parse_insight_cell(
payload: Mapping[str, Any] | BaseVIEntity) -> InsightTypedCell

Parse a raw insight-cell payload into the matching typed cell model.

Arguments:

  • payload - Raw or handwritten insight-cell payload.

Returns:

The correctly typed insight-cell model.

Raises:

  • pydantic.ValidationError - If the payload does not fit the typed cell model.

normalize_insight_cell_payload​

def normalize_insight_cell_payload(
cell: Mapping[str, Any] | BaseVIEntity) -> JsonObject

Normalize a typed or raw cell payload into a VI-style dictionary.

Arguments:

  • cell - Raw or handwritten insight-cell payload.

Returns:

A VI-style dictionary payload for the cell.

materialize_notesheet_cell_payload​

def materialize_notesheet_cell_payload(
cell: Mapping[str, Any] | BaseVIEntity) -> JsonObject

Normalize one notesheet cell payload into the supported static cell shape.

Thin wrapper around normalize_insight_cell_payload; the two produce identical output for every supported cell shape and are kept as distinct names for call-site readability.

Arguments:

  • cell - Raw or handwritten insight-cell payload.

Returns:

A notesheet-compatible static cell payload.

InsightCreate Objects​

class InsightCreate(BaseVIEntity)

Payload model for creating an insight sheet.

name​

cells​

ux_state​

tab_order​

version​

type​

InsightUpdate Objects​

class InsightUpdate(BaseVIEntity)

Payload model for updating an existing insight sheet.

name​

cells​

ux_state​

tab_order​

version​

Insight Objects​

class Insight(InsightCreate)

A persisted insight sheet: an InsightCreate with server id and modified time.

id​

last_modified​