# 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/6bcac5d72e2e20a64c988d43f3debb2a821924f8/libs/langgraph/langgraph/types.py#L526)