# aread_approval_mode_from_store

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/approval_mode/aread_approval_mode_from_store)

Asynchronously read a live approval mode from a LangGraph Store.

The graph server supplies an async batched Store whose synchronous methods
reject calls from the event-loop thread. Prefer `aget()` for that runtime,
while retaining a synchronous fallback for lightweight local test stores.

## Signature

```python
aread_approval_mode_from_store(
    store: object,
    key: str | None,
) -> ApprovalMode | None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `store` | `object` | Yes | `request.runtime.store` from the graph server. |
| `key` | `str \| None` | Yes | Store key produced by `approval_mode_key`. |

## Returns

`ApprovalMode | None`

A validated mode, or `None` when the record cannot be trusted. Callers

---

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