[PR #4957] rename retry -> retry_policy #4171

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

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

State: closed
Merged: Yes


We have many locations with retry: RetryPolicy. To be consistent with cache_policy: CachePolicy, we've renamed retry -> retry_policy and added deprecation warnings where retry is passed.

You'll also get type checker warnings if retry is included.

Public API defaults for retry_policy are now consistent (None).

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/4957 **State:** closed **Merged:** Yes --- We have many locations with `retry: RetryPolicy`. To be consistent with `cache_policy: CachePolicy`, we've renamed `retry` -> `retry_policy` and added deprecation warnings where `retry` is passed. You'll also get type checker warnings if `retry` is included. Public API defaults for `retry_policy` are now consistent (`None`).
yindo added the pull-request label 2026-02-20 17:49:46 -05:00
yindo closed this issue 2026-02-20 17:49:46 -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#4171