# RuleRewrite

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/types/proxy_config_param/RuleRewrite)

## Signature

```python
RuleRewrite()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    port: Required[int],
    credentials: Literal['strip', 'redact', 'keep'],
    host: str,
    sandbox: str,
)
```

| Name | Type |
|------|------|
| `port` | `Required[int]` |
| `credentials` | `Literal['strip', 'redact', 'keep']` |
| `host` | `str` |
| `sandbox` | `str` |


## Properties

- `port`
- `credentials`
- `host`
- `sandbox`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/types/proxy_config_param.py#L273)