langgraph-runtime-inmem 0.39.0.dev3__tar.gz → 0.39.0.dev4__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.dev4}/PKG-INFO +1 -1
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/__init__.py +1 -1
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/ops.py +5 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/.gitignore +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/Makefile +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/README.md +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/_persistence.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/checkpoint.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/database.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/encryption.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/inmem_stream.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/lifespan.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/metrics.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/queue.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/retry.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/routes.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/langgraph_runtime_inmem/store.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/pyproject.toml +0 -0
- {langgraph_runtime_inmem-0.39.0.dev3 → langgraph_runtime_inmem-0.39.0.dev4}/uv.lock +0 -0
|
@@ -1580,6 +1580,8 @@ class Threads(Authenticated):
|
|
|
1580
1580
|
conn: InMemConnectionProto,
|
|
1581
1581
|
thread_id: UUID,
|
|
1582
1582
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
1583
|
+
*,
|
|
1584
|
+
sync_checkpoint_delete: bool = False, # deletes are always synchronous
|
|
1583
1585
|
) -> AsyncIterator[UUID]:
|
|
1584
1586
|
"""Delete a thread by ID and cascade delete all associated runs."""
|
|
1585
1587
|
thread_list = conn.store["threads"]
|
|
@@ -1638,6 +1640,8 @@ class Threads(Authenticated):
|
|
|
1638
1640
|
strategy: Literal["delete", "keep_latest"] = "delete",
|
|
1639
1641
|
batch_size: int = 100,
|
|
1640
1642
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
1643
|
+
*,
|
|
1644
|
+
sync_checkpoint_delete: bool = False,
|
|
1641
1645
|
) -> int:
|
|
1642
1646
|
"""Prune threads by ID (inmem implementation).
|
|
1643
1647
|
|
|
@@ -1646,6 +1650,7 @@ class Threads(Authenticated):
|
|
|
1646
1650
|
strategy: Prune strategy ("delete" supported, "keep_latest" not supported)
|
|
1647
1651
|
batch_size: Not used in inmem implementation
|
|
1648
1652
|
ctx: Auth context for permission checks
|
|
1653
|
+
sync_checkpoint_delete: Not used; inmem deletes are always synchronous
|
|
1649
1654
|
|
|
1650
1655
|
Returns:
|
|
1651
1656
|
Number of threads successfully pruned
|
|
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
|
|
File without changes
|