DatasetVersion
A single immutable version of a dataset.
Returned by Dataset.versions() / client.datasets.versions().
Attributes
PropType
version_id?str
Unique version identifier.
Type
strdataset_id?str
Owning dataset ID.
Type
strversion_number?int
Monotonically increasing version number.
Type
intcreated_at?Optional[str]
ISO-8601 creation timestamp.
Type
Optional[str]Default
Noneitem_count?Optional[int]
Number of examples in this version.
Type
Optional[int]Default
Noneuser_id?Optional[str]
ID of the user who created the version.
Type
Optional[str]Default
Nonefrom_dict()
def from_dict(data) -> DatasetVersion:
Parameters
PropType
dataDict[str, Any]
Type
Dict[str, Any]Returns
DatasetVersion