[PR #5941] Import RetryPolicy from types not pregel #4737

Closed
opened 2026-02-20 17:50:40 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/5941

State: closed
Merged: Yes


docs (graphapi.md) : With the new langgraph version, the RetryPolicy needs to be imported from langgraph.types to avoid ImportError: cannot import name 'RetryPolicy' from 'langgraph.pregel'

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5941 **State:** closed **Merged:** Yes --- docs (graphapi.md) : With the new langgraph version, the RetryPolicy needs to be imported from `langgraph.types` to avoid `ImportError: cannot import name 'RetryPolicy' from 'langgraph.pregel'`
yindo added the pull-request label 2026-02-20 17:50:40 -05:00
yindo closed this issue 2026-02-20 17:50:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4737