# load_pending_writes

> **Function** in `langgraph.checkpoint.sqlite`

📖 [View in docs](https://reference.langchain.com/python/langgraph.checkpoint.sqlite/utils/load_pending_writes)

Deserialize `pending_writes_sql` rows in `writes_sort_key` order.

## Signature

```python
load_pending_writes(
    rows: Iterable[Any],
    serde: SerializerProtocol,
) -> list[PendingWrite]
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/5bd231cbfd913e05ebc662f519eb9a655bc766df/libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/utils.py#L128)