Module

pixano.schemas.schema_group

Classes

class

SchemaGroup

(Enum)
High-level groups used by datasets and the API layer.

Attributes

Name Type Default Description
ANNOTATION — 'annotations'
EMBEDDING — 'embeddings'
ENTITY — 'entities'
ENTITY_DYNAMIC_STATE — 'entity_dynamic_states'
RECORD — 'records'
TIMESERIES — 'timeseries'
VIEW — 'views'

Functions

def group_to_str (group, plural) → str
Convert a schema group to its API/storage string.
Parameter Type Default
group SchemaGroup —
plural bool False
def schema_to_group (schema_type) → SchemaGroup
Get the schema group of a given schema type.
Parameter Type Default
schema_type LanceModel | type —
Esc