pixano.features.schemas.items.item
Item(created_at=None, updated_at=None, **data)
Bases: BaseSchema
Item base class.
Items are used to store information about an item in a dataset. It contains at least a split attribute. It also federates the information about the item's views, entities, annotations, embeddings, etc via its id.
Attributes:
Name | Type | Description |
---|---|---|
split |
str
|
Split of the item. |
Raises ValidationError
if the input data cannot be
validated to form a valid model.
self
is explicitly positional-only to allow self
as a field name.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
created_at
|
datetime | None
|
The creation date of the object. |
None
|
updated_at
|
datetime | None
|
The last modification date of the object. |
None
|
data
|
Any
|
The data of the object validated by Pydantic. |
{}
|