> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# models.Dataset

> Dataset utilities for data models and type definitions used throughout the maxim sdk.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/models/dataset.py)

## [VariableType](/sdk/python/references/models/dataset)

```python theme={null}
class VariableType(str)
```

This class represents the type of a variable.

## [DatasetRow](/sdk/python/references/models/dataset)

```python theme={null}
@dataclass
class DatasetRow()
```

This class represents a row of a dataset.

## [Variable](/sdk/python/references/models/dataset)

```python theme={null}
class Variable()
```

This class represents a variable.

#### \_\_init\_\_

```python theme={null}
def __init__(type_: str, payload: Dict[str, Union[str, int, bool, float,
                                                  List[str]]])
```

This class represents a variable.

**Arguments**:

| Name      | Description                  |
| --------- | ---------------------------- |
| `type_`   | The type of the variable.    |
| `payload` | The payload of the variable. |

## [DatasetEntry](/sdk/python/references/models/dataset)

```python theme={null}
class DatasetEntry()
```

This class represents a dataset entry.

#### \_\_init\_\_

```python theme={null}
def __init__(input: Variable,
             context: Optional[Variable] = None,
             expectedOutput: Optional[Variable] = None)
```

This class represents a dataset entry.

**Arguments**:

| Name             | Description                   |
| ---------------- | ----------------------------- |
| `input`          | The input variable.           |
| `context`        | The context variable.         |
| `expectedOutput` | The expected output variable. |
