# CacheKey

> **Class** in `langgraph`

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

Cache key for a task.

## Signature

```python
CacheKey()
```

## Extends

- `NamedTuple`

## Properties

- `ns`
- `key`
- `ttl`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/95af6a00718588e7b7ce17310e8006d267896a77/libs/langgraph/langgraph/types.py#L615)