# GrepResult

> **Class** in `langsmith`

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

Lines matching a literal search.

## Signature

```python
GrepResult(
    self,
    matches: list[GrepMatch] = list(),
    truncated: bool = False,
)
```

## Constructors

```python
__init__(
    self,
    matches: list[GrepMatch] = list(),
    truncated: bool = False,
) -> None
```

| Name | Type |
|------|------|
| `matches` | `list[GrepMatch]` |
| `truncated` | `bool` |


## Properties

- `matches`
- `truncated`

## Methods

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

---

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