pixano.datasets.dataset_features_values
DatasetFeaturesValues(**data)
Bases: BaseModel
Constraints for the dataset features values.
Attributes:
Name | Type | Description |
---|---|---|
items |
dict[str, list]
|
Constraints for the dataset item table. |
views |
dict[str, list]
|
Constraints for the dataset view tables. |
entities |
dict[str, list]
|
Constraints for the dataset entity tables. |
annotations |
dict[str, list]
|
Constraints for the dataset annotation tables. |
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.
Source code in pydantic/main.py
from_json(json_fp)
staticmethod
Load DatasetFeaturesValues from json file.