pixano.app.models.item_info
ItemInfoModel(created_at=None, updated_at=None, **data)
Bases: ItemModel
Item information.
It contains all the information contained in an ItemModel and additional information about the dataset item such as the number of annotations, embeddings, entities and views.
Attributes:
Name | Type | Description |
---|---|---|
infos |
Information about the dataset item. Structure: {info_name: {sub_info_name: {"count": int, ...}, ...}, ...} |
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. |
{}
|