langgraph-sdk 0.2.4__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/PKG-INFO +1 -1
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/__init__.py +1 -1
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/auth/types.py +3 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/client.py +8 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/.gitignore +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/LICENSE +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/Makefile +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/README.md +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/auth/__init__.py +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/auth/exceptions.py +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/py.typed +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/schema.py +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/langgraph_sdk/sse.py +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/pyproject.toml +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/tests/test_api_parity.py +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/tests/test_select_fields_sync.py +0 -0
- {langgraph_sdk-0.2.4 → langgraph_sdk-0.2.5}/uv.lock +0 -0
|
@@ -489,6 +489,9 @@ class ThreadsSearch(typing.TypedDict, total=False):
|
|
|
489
489
|
offset: int
|
|
490
490
|
"""Offset for pagination."""
|
|
491
491
|
|
|
492
|
+
ids: Sequence[UUID] | None
|
|
493
|
+
"""typing.Optional list of thread IDs to filter by."""
|
|
494
|
+
|
|
492
495
|
thread_id: UUID | None
|
|
493
496
|
"""typing.Optional thread ID to filter by."""
|
|
494
497
|
|
|
@@ -1309,6 +1309,7 @@ class ThreadsClient:
|
|
|
1309
1309
|
*,
|
|
1310
1310
|
metadata: Json = None,
|
|
1311
1311
|
values: Json = None,
|
|
1312
|
+
ids: Sequence[str] | None = None,
|
|
1312
1313
|
status: ThreadStatus | None = None,
|
|
1313
1314
|
limit: int = 10,
|
|
1314
1315
|
offset: int = 0,
|
|
@@ -1323,6 +1324,7 @@ class ThreadsClient:
|
|
|
1323
1324
|
Args:
|
|
1324
1325
|
metadata: Thread metadata to filter on.
|
|
1325
1326
|
values: State values to filter on.
|
|
1327
|
+
ids: List of thread IDs to filter by.
|
|
1326
1328
|
status: Thread status to filter on.
|
|
1327
1329
|
Must be one of 'idle', 'busy', 'interrupted' or 'error'.
|
|
1328
1330
|
limit: Limit on number of threads to return.
|
|
@@ -1356,6 +1358,8 @@ class ThreadsClient:
|
|
|
1356
1358
|
payload["metadata"] = metadata
|
|
1357
1359
|
if values:
|
|
1358
1360
|
payload["values"] = values
|
|
1361
|
+
if ids:
|
|
1362
|
+
payload["ids"] = ids
|
|
1359
1363
|
if status:
|
|
1360
1364
|
payload["status"] = status
|
|
1361
1365
|
if sort_by:
|
|
@@ -4454,6 +4458,7 @@ class SyncThreadsClient:
|
|
|
4454
4458
|
*,
|
|
4455
4459
|
metadata: Json = None,
|
|
4456
4460
|
values: Json = None,
|
|
4461
|
+
ids: Sequence[str] | None = None,
|
|
4457
4462
|
status: ThreadStatus | None = None,
|
|
4458
4463
|
limit: int = 10,
|
|
4459
4464
|
offset: int = 0,
|
|
@@ -4468,6 +4473,7 @@ class SyncThreadsClient:
|
|
|
4468
4473
|
Args:
|
|
4469
4474
|
metadata: Thread metadata to filter on.
|
|
4470
4475
|
values: State values to filter on.
|
|
4476
|
+
ids: List of thread IDs to filter by.
|
|
4471
4477
|
status: Thread status to filter on.
|
|
4472
4478
|
Must be one of 'idle', 'busy', 'interrupted' or 'error'.
|
|
4473
4479
|
limit: Limit on number of threads to return.
|
|
@@ -4497,6 +4503,8 @@ class SyncThreadsClient:
|
|
|
4497
4503
|
payload["metadata"] = metadata
|
|
4498
4504
|
if values:
|
|
4499
4505
|
payload["values"] = values
|
|
4506
|
+
if ids:
|
|
4507
|
+
payload["ids"] = ids
|
|
4500
4508
|
if status:
|
|
4501
4509
|
payload["status"] = status
|
|
4502
4510
|
if sort_by:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|