# 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/eae916719fe78de2900bb7cd45c212fffd64f88b/libs/langgraph/langgraph/types.py#L105)