Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview
On this page

DatasetVersion

A single immutable version of a dataset.

Returned by Dataset.versions() / client.datasets.versions().

Attributes

PropType
version_id?str

Unique version identifier.

Typestr
dataset_id?str

Owning dataset ID.

Typestr
version_number?int

Monotonically increasing version number.

Typeint
created_at?Optional[str]

ISO-8601 creation timestamp.

TypeOptional[str]
DefaultNone
item_count?Optional[int]

Number of examples in this version.

TypeOptional[int]
DefaultNone
user_id?Optional[str]

ID of the user who created the version.

TypeOptional[str]
DefaultNone

from_dict()

def from_dict(data) -> DatasetVersion:

Parameters

PropType
dataDict[str, Any]
TypeDict[str, Any]

Returns

DatasetVersion

Was this page helpful?