# get_cached_annotated_keys

> **Function** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/_internal/_fields/get_cached_annotated_keys)

Return cached annotated keys for a Python class.

## Signature

```python
get_cached_annotated_keys(
    obj: type[Any],
) -> tuple[str, ...]
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/d27d4b2d9895a4aa83170b4aaa135878f99c7fd6/libs/langgraph/langgraph/_internal/_fields.py#L196)