Compare commits

...
Author SHA1 Message Date
open-swe-dev[bot] 0bd0966d37 Apply patch 2025-07-10 23:53:13 +00:00
open-swe-dev[bot] c3b6004941 Apply patch 2025-07-10 23:52:59 +00:00
open-swe-dev[bot] 4c664c954c Apply patch 2025-07-10 23:52:40 +00:00
open-swe-dev[bot] 7f47f673d0 Apply patch 2025-07-10 23:52:07 +00:00
open-swe-dev[bot] f59bab5d31 Apply patch 2025-07-10 23:49:44 +00:00
open-swe-dev[bot] c6d86c542f Apply patch 2025-07-10 23:49:20 +00:00
open-swe-dev[bot] 5d771c28d2 Apply patch 2025-07-10 23:48:51 +00:00
open-swe-dev[bot] ce17f8aef7 Apply patch 2025-07-10 23:48:28 +00:00
open-swe-dev[bot] 4b4e4c8fe5 Apply patch 2025-07-10 23:47:27 +00:00
open-swe-dev[bot] c55474bef5 Apply patch 2025-07-10 23:45:34 +00:00
open-swe-dev[bot] a6629b87bc Apply patch 2025-07-10 23:45:05 +00:00
7 changed files with 5649 additions and 4 deletions
+5600
View File
File diff suppressed because it is too large Load Diff
View File
View File
+19
View File
@@ -0,0 +1,19 @@
--- client_backup.py
+++ libs/sdk-py/langgraph_sdk/client.py
@@ -2223,7 +2223,7 @@
async def join(
self, thread_id: str, run_id: str, *, headers: dict[str, str] | None = None
- ) -> dict:
+ ) -> dict[str, Any]:
"""Block until a run is done. Returns the final state of the thread.
Args:
@@ -2232,7 +2232,7 @@
headers: Optional custom headers to include with the request.
Returns:
- None
+ dict[str, Any]: The final state values of the thread
???+ example "Example Usage"
View File
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env python3
# Read the file
with open('libs/sdk-py/langgraph_sdk/client.py', 'r') as f:
content = f.read()
# Split into lines for line-specific changes
lines = content.split('\n')
# Update line 4922 (index 4921) - change return type
if len(lines) > 4921 and '-> dict:' in lines[4921]:
lines[4921] = lines[4921].replace('-> dict:', '-> dict[str, Any]:')
print('Updated return type annotation')
# Update line 4931 (index 4930) - change docstring Returns section
if len(lines) > 4930 and 'None' in lines[4930]:
lines[4930] = lines[4930].replace('None', 'dict[str, Any]: The final state values of the thread')
print('Updated docstring Returns section')
# Write back to file
with open('libs/sdk-py/langgraph_sdk/client.py', 'w') as f:
f.write('\n'.join(lines))
print('Changes applied successfully')
+4 -4
View File
@@ -2223,7 +2223,7 @@ class RunsClient:
async def join(
self, thread_id: str, run_id: str, *, headers: dict[str, str] | None = None
) -> dict:
) -> dict[str, Any]:
"""Block until a run is done. Returns the final state of the thread.
Args:
@@ -2232,7 +2232,7 @@ class RunsClient:
headers: Optional custom headers to include with the request.
Returns:
None
dict[str, Any]: The final state values of the thread
???+ example "Example Usage"
@@ -4919,7 +4919,7 @@ class SyncRunsClient:
run_id: str,
*,
headers: dict[str, str] | None = None,
) -> dict:
) -> dict[str, Any]:
"""Block until a run is done. Returns the final state of the thread.
Args:
@@ -4928,7 +4928,7 @@ class SyncRunsClient:
headers: Optional custom headers to include with the request.
Returns:
None
dict[str, Any]: The final state values of the thread
???+ example "Example Usage"