# DatasetsResource

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/resources/datasets/datasets/DatasetsResource)

## Signature

```python
DatasetsResource(
    self,
    client: Langsmith,
)
```

## Extends

- `SyncAPIResource`

## Methods

- [`experiment_runs()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/datasets/datasets/DatasetsResource/experiment_runs)
- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/datasets/datasets/DatasetsResource/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/datasets/datasets/DatasetsResource/with_streaming_response)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/33995e14a84c53b65b82482b3d2fe0624b379bda/python/langsmith/_openapi_client/resources/datasets/datasets.py#L19)