pixano.features.types.schema_reference
AnnotationRef
EmbeddingRef
EntityRef
ItemRef
SchemaRef
A schema reference.
A schema reference is used to reference a schema in a dataset. If an id is provided, the reference points to a specific element stored in the table associated to the schema.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
The name of the schema. |
id |
str
|
The id of the schema. |
none()
classmethod
SourceRef
ViewRef
create_annotation_ref(id, name)
create_embedding_ref(id, name)
create_entity_ref(id, name)
create_item_ref(id, name='item')
create_schema_ref(id, name)
create_source_ref(id)
create_view_ref(id, name)
is_annotation_ref(cls, strict=False)
Check if a class is an AnnotationRef or subclass of AnnotationRef.
is_embedding_ref(cls, strict=False)
Check if a class is an EmbeddingRef or subclass of EmbeddingRef.
is_entity_ref(cls, strict=False)
Check if a class is an EntityRef or subclass of EntityRef.
is_item_ref(cls, strict=False)
is_schema_ref(cls, strict=False)
Check if a class is a SchemaRef or subclass of SchemaRef.
is_source_ref(cls, strict=False)
Check if a class is a SourceRef or subclass of SourceRef.