pixano.features.schemas.entities.track
Track(created_at=None, updated_at=None, **data)
Bases: Entity
A Track
entity.
A track represents an entity that is shared among multiple view across time.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
The name of the track. |
Source code in pixano/features/schemas/base_schema.py
create_track(name, id='', item_ref=ItemRef.none(), view_ref=ViewRef.none(), parent_ref=EntityRef.none())
Create a Track
instance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
The name of the track. |
required |
id
|
str
|
Track ID. |
''
|
item_ref
|
ItemRef
|
Item reference. |
none()
|
view_ref
|
ViewRef
|
View reference. |
none()
|
parent_ref
|
EntityRef
|
Entity reference. |
none()
|
Returns:
Type | Description |
---|---|
Track
|
The created |