[PR #5443] [open-swe] fix: Update RunsClient.join return type annotations from dict to dict[str, Any] #4447

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

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

State: closed
Merged: No


Fixes #5442

Fixes the return type annotations for both async and sync join methods in RunsClient and SyncRunsClient classes.

Changes:

  • Updated async join method return type from -> dict: to -> dict[str, Any]:
  • Updated sync join method return type from -> dict: to -> dict[str, Any]:
  • Fixed docstring Returns sections to accurately describe the return value as "dict[str, Any]: The final state values of the thread" instead of "None"

The join method returns the final state values of the thread, not void/None as previously documented. This change provides more precise type information for better IDE support and type checking.

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5443 **State:** closed **Merged:** No --- Fixes #5442 Fixes the return type annotations for both async and sync `join` methods in `RunsClient` and `SyncRunsClient` classes. **Changes:** - Updated async `join` method return type from `-> dict:` to `-> dict[str, Any]:` - Updated sync `join` method return type from `-> dict:` to `-> dict[str, Any]:` - Fixed docstring Returns sections to accurately describe the return value as "dict[str, Any]: The final state values of the thread" instead of "None" The `join` method returns the final state values of the thread, not void/None as previously documented. This change provides more precise type information for better IDE support and type checking.
yindo added the pull-request label 2026-02-20 17:50:12 -05:00
yindo closed this issue 2026-02-20 17:50:12 -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#4447