---
title: DatasetVersion
seo:
  title: DatasetVersion — Python SDK
  description: A single immutable version of a dataset. (Python SDK)
description: A single immutable version of a dataset.
---

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

## Attributes

| Prop | Type | Default | Description |
| - | - | - | - |
| `version_id?` | `str` | - | Unique version identifier. |
| `dataset_id?` | `str` | - | Owning dataset ID. |
| `version_number?` | `int` | - | Monotonically increasing version number. |
| `created_at?` | `Optional[str]` | `None` | ISO-8601 creation timestamp. |
| `item_count?` | `Optional[int]` | `None` | Number of examples in this version. |
| `user_id?` | `Optional[str]` | `None` | ID of the user who created the version. |

***

## from\_dict()

```python
def from_dict(data) -> DatasetVersion:
```

### Parameters

| Prop | Type | Default | Description |
| - | - | - | - |
| `data` | `Dict[str, Any]` | - | |

### Returns

`DatasetVersion`
