langgraph-runtime-inmem 0.39.0.dev3__tar.gz → 0.39.0.dev5__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_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/PKG-INFO +1 -1
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/__init__.py +1 -1
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/ops.py +23 -4
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/uv.lock +6 -6
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/.gitignore +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/Makefile +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/README.md +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/_persistence.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/checkpoint.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/database.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/encryption.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/inmem_stream.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/lifespan.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/metrics.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/queue.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/retry.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/routes.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/langgraph_runtime_inmem/store.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev5}/pyproject.toml +0 -0
|
@@ -241,8 +241,11 @@ async def _save_thread_status(
|
|
|
241
241
|
|
|
242
242
|
def _run_stream_mode_matches(event_mode: str, stream_mode: list[str] | None) -> bool:
|
|
243
243
|
"""Return True if a published run-stream event matches the join filter."""
|
|
244
|
-
#
|
|
245
|
-
if
|
|
244
|
+
# The interrupts a run answers are for the thread's other clients.
|
|
245
|
+
if event_mode == "interrupts":
|
|
246
|
+
return False
|
|
247
|
+
# A run's error and end are its outcome, not selectable modes, so no filter drops them.
|
|
248
|
+
if not stream_mode or event_mode in ("error", "end"):
|
|
246
249
|
return True
|
|
247
250
|
if event_mode in stream_mode:
|
|
248
251
|
return True
|
|
@@ -1580,6 +1583,8 @@ class Threads(Authenticated):
|
|
|
1580
1583
|
conn: InMemConnectionProto,
|
|
1581
1584
|
thread_id: UUID,
|
|
1582
1585
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
1586
|
+
*,
|
|
1587
|
+
sync_checkpoint_delete: bool = False, # deletes are always synchronous
|
|
1583
1588
|
) -> AsyncIterator[UUID]:
|
|
1584
1589
|
"""Delete a thread by ID and cascade delete all associated runs."""
|
|
1585
1590
|
thread_list = conn.store["threads"]
|
|
@@ -1638,6 +1643,8 @@ class Threads(Authenticated):
|
|
|
1638
1643
|
strategy: Literal["delete", "keep_latest"] = "delete",
|
|
1639
1644
|
batch_size: int = 100,
|
|
1640
1645
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
1646
|
+
*,
|
|
1647
|
+
sync_checkpoint_delete: bool = False,
|
|
1641
1648
|
) -> int:
|
|
1642
1649
|
"""Prune threads by ID (inmem implementation).
|
|
1643
1650
|
|
|
@@ -1646,6 +1653,7 @@ class Threads(Authenticated):
|
|
|
1646
1653
|
strategy: Prune strategy ("delete" supported, "keep_latest" not supported)
|
|
1647
1654
|
batch_size: Not used in inmem implementation
|
|
1648
1655
|
ctx: Auth context for permission checks
|
|
1656
|
+
sync_checkpoint_delete: Not used; inmem deletes are always synchronous
|
|
1649
1657
|
|
|
1650
1658
|
Returns:
|
|
1651
1659
|
Number of threads successfully pruned
|
|
@@ -1858,8 +1866,13 @@ class Threads(Authenticated):
|
|
|
1858
1866
|
config: Config,
|
|
1859
1867
|
subgraphs: bool = False,
|
|
1860
1868
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
1869
|
+
channels: Sequence[str] | None = None,
|
|
1861
1870
|
) -> StateSnapshot:
|
|
1862
|
-
"""Get state for a thread.
|
|
1871
|
+
"""Get state for a thread.
|
|
1872
|
+
|
|
1873
|
+
``channels`` is accepted for parity with the gRPC runtime; the
|
|
1874
|
+
in-memory checkpointer always loads whole checkpoints.
|
|
1875
|
+
"""
|
|
1863
1876
|
from langgraph_api.graph import get_graph # noqa: PLC0415
|
|
1864
1877
|
from langgraph_api.store import get_store # noqa: PLC0415
|
|
1865
1878
|
|
|
@@ -3220,8 +3233,14 @@ class Runs(Authenticated):
|
|
|
3220
3233
|
*,
|
|
3221
3234
|
thread_id: UUID,
|
|
3222
3235
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
3236
|
+
read_mask_paths: list[str] | None = None,
|
|
3223
3237
|
) -> AsyncIterator[Run]:
|
|
3224
|
-
"""Get a run by ID.
|
|
3238
|
+
"""Get a run by ID.
|
|
3239
|
+
|
|
3240
|
+
Args:
|
|
3241
|
+
read_mask_paths: Column restriction hint for the postgres runtime;
|
|
3242
|
+
ignored for inmem since there's no input-column I/O to skip.
|
|
3243
|
+
"""
|
|
3225
3244
|
|
|
3226
3245
|
run_id, thread_id = _ensure_uuid(run_id), _ensure_uuid(thread_id)
|
|
3227
3246
|
filters = await Runs.handle_event(
|
|
@@ -283,7 +283,7 @@ wheels = [
|
|
|
283
283
|
|
|
284
284
|
[[package]]
|
|
285
285
|
name = "langgraph"
|
|
286
|
-
version = "1.2.
|
|
286
|
+
version = "1.2.19"
|
|
287
287
|
source = { registry = "https://pypi.org/simple" }
|
|
288
288
|
dependencies = [
|
|
289
289
|
{ name = "langchain-core" },
|
|
@@ -293,9 +293,9 @@ dependencies = [
|
|
|
293
293
|
{ name = "pydantic" },
|
|
294
294
|
{ name = "xxhash" },
|
|
295
295
|
]
|
|
296
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
296
|
+
sdist = { url = "https://files.pythonhosted.org/packages/ba/10/329dc49ce3fc40e36faafd407f08607fe3fab75613e709a66758b53faac2/langgraph-1.2.19.tar.gz", hash = "sha256:4a00fa1aad2b5fc2d3a789a8e9eaf993f76218ca924b434902ecf1bbaaf300f6", size = 782618, upload-time = "2026-10-30T22:23:32.962Z" }
|
|
297
297
|
wheels = [
|
|
298
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
298
|
+
{ url = "https://files.pythonhosted.org/packages/d7/9e/bd29e368fb16feea8d24270d377d56c34b49afea371717124f19cdfa890c/langgraph-1.2.19-py3-none-any.whl", hash = "sha256:6094a5cbed52a77d8c74c276fcd2056abde7b2836eab1c7a6b74bacbd1a269b3", size = 262285, upload-time = "2026-10-30T22:23:31.334Z" },
|
|
299
299
|
]
|
|
300
300
|
|
|
301
301
|
[[package]]
|
|
@@ -388,7 +388,7 @@ dev = [
|
|
|
388
388
|
|
|
389
389
|
[[package]]
|
|
390
390
|
name = "langgraph-sdk"
|
|
391
|
-
version = "0.4.
|
|
391
|
+
version = "0.4.11"
|
|
392
392
|
source = { registry = "https://pypi.org/simple" }
|
|
393
393
|
dependencies = [
|
|
394
394
|
{ name = "httpx" },
|
|
@@ -397,9 +397,9 @@ dependencies = [
|
|
|
397
397
|
{ name = "orjson" },
|
|
398
398
|
{ name = "websockets" },
|
|
399
399
|
]
|
|
400
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
400
|
+
sdist = { url = "https://files.pythonhosted.org/packages/64/a8/d5807df5976f2b8e181baddbddf857cc0ba501bba274e81711b10385c65b/langgraph_sdk-0.4.11.tar.gz", hash = "sha256:2550af3bc7cb78ac4facb97d141ec1a76568fa3eb3d29040cff70b45bda84740", size = 366656, upload-time = "2026-10-30T22:17:49.202Z" }
|
|
401
401
|
wheels = [
|
|
402
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
402
|
+
{ url = "https://files.pythonhosted.org/packages/01/88/69899bb20b96b80468e98b90377e605c36658125e7e7fba401868a86138e/langgraph_sdk-0.4.11-py3-none-any.whl", hash = "sha256:6a65be4a8f825966a07317b8e34e3337cd227b9b58b185f0123fd13c3d0116fa", size = 169311, upload-time = "2026-10-30T22:17:47.96Z" },
|
|
403
403
|
]
|
|
404
404
|
|
|
405
405
|
[[package]]
|
|
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
|
|
File without changes
|
|
File without changes
|