pixano.features.schemas.entities.entity
Entity(created_at=None, updated_at=None, **data)
Bases: BaseSchema
Entity
base class.
Entities are used to define an entity in a dataset such as an object, a track. It can refer to an item, a view, and a parent entity.
Attributes:
Name | Type | Description |
---|---|---|
item_ref |
ItemRef
|
Reference to the entity's item. |
view_ref |
ViewRef
|
Reference to the entity's view. |
parent_ref |
EntityRef
|
Reference to the entity's parent entity. |
Source code in pixano/features/schemas/base_schema.py
item
property
Get the entity's item.
parent
property
Get the entity's parent entity.
view
property
Get the entity's view.