# get_update_as_tuples

> **Function** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/_internal/_fields/get_update_as_tuples)

Get Pydantic state update as a list of (key, value) tuples.

## Signature

```python
get_update_as_tuples(
    input: Any,
    keys: Sequence[str],
) -> list[tuple[str, Any]]
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/b674dd46228b0928a6bc0ad9a3d8e38ef28f6895/libs/langgraph/langgraph/_internal/_fields.py#L166)