langgraph-runtime-inmem 0.10.0__py3-none-any.whl → 0.12.0__py3-none-any.whl
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/__init__.py +1 -1
- langgraph_runtime_inmem/ops.py +8 -2
- {langgraph_runtime_inmem-0.10.0.dist-info → langgraph_runtime_inmem-0.12.0.dist-info}/METADATA +1 -1
- {langgraph_runtime_inmem-0.10.0.dist-info → langgraph_runtime_inmem-0.12.0.dist-info}/RECORD +5 -5
- {langgraph_runtime_inmem-0.10.0.dist-info → langgraph_runtime_inmem-0.12.0.dist-info}/WHEEL +0 -0
langgraph_runtime_inmem/ops.py
CHANGED
|
@@ -958,6 +958,7 @@ class Threads(Authenticated):
|
|
|
958
958
|
thread_id: UUID,
|
|
959
959
|
*,
|
|
960
960
|
metadata: MetadataValue,
|
|
961
|
+
ttl: ThreadTTLConfig | None = None,
|
|
961
962
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
962
963
|
) -> AsyncIterator[Thread]:
|
|
963
964
|
"""Update a thread."""
|
|
@@ -2056,7 +2057,10 @@ class Runs(Authenticated):
|
|
|
2056
2057
|
@asynccontextmanager
|
|
2057
2058
|
@staticmethod
|
|
2058
2059
|
async def enter(
|
|
2059
|
-
run_id: UUID,
|
|
2060
|
+
run_id: UUID,
|
|
2061
|
+
thread_id: UUID | None,
|
|
2062
|
+
loop: asyncio.AbstractEventLoop,
|
|
2063
|
+
resumable: bool,
|
|
2060
2064
|
) -> AsyncIterator[ValueEvent]:
|
|
2061
2065
|
"""Enter a run, listen for cancellation while running, signal when done."
|
|
2062
2066
|
This method should be called as a context manager by a worker executing a run.
|
|
@@ -2086,7 +2090,9 @@ class Runs(Authenticated):
|
|
|
2086
2090
|
topic=f"run:{run_id}:stream".encode(),
|
|
2087
2091
|
data={"event": "control", "message": b"done"},
|
|
2088
2092
|
)
|
|
2089
|
-
await stream_manager.put(
|
|
2093
|
+
await stream_manager.put(
|
|
2094
|
+
run_id, thread_id, stream_message, resumable=resumable
|
|
2095
|
+
)
|
|
2090
2096
|
|
|
2091
2097
|
# Remove the control_queue (normal queue is cleaned up during run deletion)
|
|
2092
2098
|
await stream_manager.remove_control_queue(run_id, thread_id, control_queue)
|
{langgraph_runtime_inmem-0.10.0.dist-info → langgraph_runtime_inmem-0.12.0.dist-info}/RECORD
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
langgraph_runtime_inmem/__init__.py,sha256=
|
|
1
|
+
langgraph_runtime_inmem/__init__.py,sha256=dhduOBpM_s6pggB0_Ux-yEmf0dxOA4ZN9R8tMNmC_gA,311
|
|
2
2
|
langgraph_runtime_inmem/checkpoint.py,sha256=nc1G8DqVdIu-ibjKTqXfbPfMbAsKjPObKqegrSzo6Po,4432
|
|
3
3
|
langgraph_runtime_inmem/database.py,sha256=QgaA_WQo1IY6QioYd8r-e6-0B0rnC5anS0muIEJWby0,6364
|
|
4
4
|
langgraph_runtime_inmem/inmem_stream.py,sha256=utL1OlOJsy6VDkSGAA6eX9nETreZlM6K6nhfNoubmRQ,9011
|
|
5
5
|
langgraph_runtime_inmem/lifespan.py,sha256=t0w2MX2dGxe8yNtSX97Z-d2pFpllSLS4s1rh2GJDw5M,3557
|
|
6
6
|
langgraph_runtime_inmem/metrics.py,sha256=HhO0RC2bMDTDyGBNvnd2ooLebLA8P1u5oq978Kp_nAA,392
|
|
7
|
-
langgraph_runtime_inmem/ops.py,sha256=
|
|
7
|
+
langgraph_runtime_inmem/ops.py,sha256=5fUNLHBrz09TtbK901xdB9CbWV9GZQgw1Z5p0wdqjsY,111320
|
|
8
8
|
langgraph_runtime_inmem/queue.py,sha256=33qfFKPhQicZ1qiibllYb-bTFzUNSN2c4bffPACP5es,9952
|
|
9
9
|
langgraph_runtime_inmem/retry.py,sha256=XmldOP4e_H5s264CagJRVnQMDFcEJR_dldVR1Hm5XvM,763
|
|
10
10
|
langgraph_runtime_inmem/store.py,sha256=rTfL1JJvd-j4xjTrL8qDcynaWF6gUJ9-GDVwH0NBD_I,3506
|
|
11
|
-
langgraph_runtime_inmem-0.
|
|
12
|
-
langgraph_runtime_inmem-0.
|
|
13
|
-
langgraph_runtime_inmem-0.
|
|
11
|
+
langgraph_runtime_inmem-0.12.0.dist-info/METADATA,sha256=EpU5xdG2OeTNbvlP286ilVcy8nssuMvsvOGwMgejasw,566
|
|
12
|
+
langgraph_runtime_inmem-0.12.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
13
|
+
langgraph_runtime_inmem-0.12.0.dist-info/RECORD,,
|
|
File without changes
|