# DatasetTransformation

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/schemas/DatasetTransformation)

Schema for dataset transformations.

## Signature

```python
DatasetTransformation()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    path: list[str],
    transformation_type: Union[DatasetTransformationType, str],
)
```

| Name | Type |
|------|------|
| `path` | `list[str]` |
| `transformation_type` | `Union[DatasetTransformationType, str]` |


## Properties

- `path`
- `transformation_type`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/791701a304a72495d108669ef11c194983fd0e95/python/langsmith/schemas.py#L240)