# ensure_valid_checkpointer

> **Function** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/types/ensure_valid_checkpointer)

## Signature

```python
ensure_valid_checkpointer(
    checkpointer: Checkpointer,
) -> Checkpointer
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/70dd64065bffaa3b6ab61a33f1f020fb54db8efa/libs/langgraph/langgraph/types.py#L118)