# ResourceSpec

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_models/ResourceSpec)

Resource specification for a sandbox.

## Signature

```python
ResourceSpec(
    self,
    cpu: str = '500m',
    memory: str = '512Mi',
    storage: Optional[str] = None,
)
```

## Constructors

```python
__init__(
    self,
    cpu: str = '500m',
    memory: str = '512Mi',
    storage: Optional[str] = None,
) -> None
```

| Name | Type |
|------|------|
| `cpu` | `str` |
| `memory` | `str` |
| `storage` | `Optional[str]` |


## Properties

- `cpu`
- `memory`
- `storage`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/cf0366388873e33ef593235c1d0c7e561db79cfb/python/langsmith/sandbox/_models.py#L41)