# WriteResult

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/backends/protocol/WriteResult)

Result from backend write operations.

## Signature

```python
WriteResult(
    self,
    error: str | None = None,
    path: str | None = None,
    files_update: dict[str, Any] | None | _Unset = Unset,
)
```

## Constructors

```python
__init__(
    self,
    error: str | None = None,
    path: str | None = None,
    files_update: dict[str, Any] | None | _Unset = Unset,
) -> None
```

| Name | Type |
|------|------|
| `error` | `str \| None` |
| `path` | `str \| None` |
| `files_update` | `dict[str, Any] \| None \| _Unset` |


## Properties

- `error`
- `path`
- `files_update`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0b13f3e0e2726fdb7bbe1e0cf88dac76dbd43b01/libs/deepagents/deepagents/backends/protocol.py#L207)