langgraph-runtime-inmem 0.10.0__tar.gz → 0.12.0__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.10.0 → langgraph_runtime_inmem-0.12.0}/PKG-INFO +1 -1
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/__init__.py +1 -1
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/ops.py +8 -2
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/uv.lock +7 -7
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/.gitignore +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/Makefile +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/README.md +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/checkpoint.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/database.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/inmem_stream.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/lifespan.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/metrics.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/queue.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/retry.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/store.py +0 -0
- {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/pyproject.toml +0 -0
{langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/ops.py
RENAMED
|
@@ -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)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
version = 1
|
|
2
|
-
revision =
|
|
2
|
+
revision = 2
|
|
3
3
|
requires-python = ">=3.11.0"
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
@@ -322,20 +322,20 @@ dev = [
|
|
|
322
322
|
|
|
323
323
|
[[package]]
|
|
324
324
|
name = "langgraph-sdk"
|
|
325
|
-
version = "0.2.
|
|
325
|
+
version = "0.2.5"
|
|
326
326
|
source = { registry = "https://pypi.org/simple" }
|
|
327
327
|
dependencies = [
|
|
328
328
|
{ name = "httpx" },
|
|
329
329
|
{ name = "orjson" },
|
|
330
330
|
]
|
|
331
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
331
|
+
sdist = { url = "https://files.pythonhosted.org/packages/42/72/37943b367f480b4761c052e86b0c380ecb928cdccf1d5c85d569e036c06f/langgraph_sdk-0.2.5.tar.gz", hash = "sha256:b28aa0f485811388465ac5d2a19d728ab84b59a8900cdfcf0f4e8177802cbf62", size = 79816, upload-time = "2025-09-03T00:51:14.285Z" }
|
|
332
332
|
wheels = [
|
|
333
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
333
|
+
{ url = "https://files.pythonhosted.org/packages/f1/2c/9e5a0259601253f89f8b50095a6a2541ff6beb9041c92e64bd8e05e77c29/langgraph_sdk-0.2.5-py3-none-any.whl", hash = "sha256:a837a7a3c5e16ba55a3952037f9d8e247d3e001e9a0e3b07aacef55861e5dc58", size = 54052, upload-time = "2025-09-03T00:51:13.057Z" },
|
|
334
334
|
]
|
|
335
335
|
|
|
336
336
|
[[package]]
|
|
337
337
|
name = "langsmith"
|
|
338
|
-
version = "0.4.
|
|
338
|
+
version = "0.4.23"
|
|
339
339
|
source = { registry = "https://pypi.org/simple" }
|
|
340
340
|
dependencies = [
|
|
341
341
|
{ name = "httpx" },
|
|
@@ -346,9 +346,9 @@ dependencies = [
|
|
|
346
346
|
{ name = "requests-toolbelt" },
|
|
347
347
|
{ name = "zstandard" },
|
|
348
348
|
]
|
|
349
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
349
|
+
sdist = { url = "https://files.pythonhosted.org/packages/26/59/1f92c84585da3bad6d76050f32811198dd2bb4e6a0a63f7b0041b75344ee/langsmith-0.4.23.tar.gz", hash = "sha256:d8af9c6bf69c377a5a0a1c56bd742ab6acfce794e3c4a6993b08e76ee2397998", size = 939141, upload-time = "2025-09-02T22:06:38.606Z" }
|
|
350
350
|
wheels = [
|
|
351
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
351
|
+
{ url = "https://files.pythonhosted.org/packages/3c/63/c132d3e356702668bf3103771e2398fee963c22715a88501d55361761f8f/langsmith-0.4.23-py3-none-any.whl", hash = "sha256:2b7cc692c537d5e48c2932277a69c35a89ff5b153828281194e2af34aeda985f", size = 378757, upload-time = "2025-09-02T22:06:36.621Z" },
|
|
352
352
|
]
|
|
353
353
|
|
|
354
354
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/metrics.py
RENAMED
|
File without changes
|
{langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/queue.py
RENAMED
|
File without changes
|
{langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/retry.py
RENAMED
|
File without changes
|
{langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/store.py
RENAMED
|
File without changes
|
|
File without changes
|