# GrepMatch

> **Class** in `langsmith`

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

One matching line found by :meth:`Sandbox.grep`.

## Signature

```python
GrepMatch(
    self,
    path: str,
    line: int,
    text: str,
)
```

## Constructors

```python
__init__(
    self,
    path: str,
    line: int,
    text: str,
) -> None
```

| Name | Type |
|------|------|
| `path` | `str` |
| `line` | `int` |
| `text` | `str` |


## Properties

- `path`
- `line`
- `text`

## Methods

- [`from_dict()`](https://reference.langchain.com/python/langsmith/sandbox/_models/GrepMatch/from_dict)

---

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