# WriteResult

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/configuration/writer/WriteResult)

Outcome of one user config transaction.

## Signature

```python
WriteResult(
    self,
    ok: bool,
    changed: bool,
    error: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    ok: bool,
    changed: bool,
    error: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `ok` | `bool` |
| `changed` | `bool` |
| `error` | `str \| None` |


## Properties

- `ok`
- `changed`
- `error`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/configuration/writer.py#L23)