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.
Files changed (16) hide show
  1. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/PKG-INFO +1 -1
  2. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/__init__.py +1 -1
  3. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/ops.py +8 -2
  4. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/uv.lock +7 -7
  5. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/.gitignore +0 -0
  6. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/Makefile +0 -0
  7. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/README.md +0 -0
  8. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/checkpoint.py +0 -0
  9. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/database.py +0 -0
  10. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/inmem_stream.py +0 -0
  11. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/lifespan.py +0 -0
  12. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/metrics.py +0 -0
  13. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/queue.py +0 -0
  14. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/retry.py +0 -0
  15. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/langgraph_runtime_inmem/store.py +0 -0
  16. {langgraph_runtime_inmem-0.10.0 → langgraph_runtime_inmem-0.12.0}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-runtime-inmem
3
- Version: 0.10.0
3
+ Version: 0.12.0
4
4
  Summary: Inmem implementation for the LangGraph API server.
5
5
  Author-email: Will Fu-Hinthorn <will@langchain.dev>
6
6
  License: Elastic-2.0
@@ -9,7 +9,7 @@ from langgraph_runtime_inmem import (
9
9
  store,
10
10
  )
11
11
 
12
- __version__ = "0.10.0"
12
+ __version__ = "0.12.0"
13
13
  __all__ = [
14
14
  "ops",
15
15
  "database",
@@ -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, thread_id: UUID | None, loop: asyncio.AbstractEventLoop
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(run_id, thread_id, stream_message)
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 = 3
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.4"
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/e1/2a/c3194c5ddac862e2d1d70773485eda52578453347c60cdce768e6794a720/langgraph_sdk-0.2.4.tar.gz", hash = "sha256:65c37fdb1d6f572deb7d5dda45aab79916c13c276a1e08b29309ae7729567a36", size = 79741, upload-time = "2025-08-28T23:37:00.26Z" }
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/6e/f0/e0ca3e90fd89f38d2f4cff88c8f90c327ad5a35b528586a1d6811b38adb3/langgraph_sdk-0.2.4-py3-none-any.whl", hash = "sha256:b9dfbe77abc86ee6280b6d328320b7e1ca2b303b5fd89540dc5a28f780222cd1", size = 53964, upload-time = "2025-08-28T23:36:58.903Z" },
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.21"
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/20/ad/2c89c128b575d89ba7c7af05de6d715703fe9648110f2ec3c90255956681/langsmith-0.4.21.tar.gz", hash = "sha256:eabfb66970d50964918acba524b407e8cfe585448013e3135ca92388c858d009", size = 938666, upload-time = "2025-08-29T21:46:27.174Z" }
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/7d/79/5ccad558563861f7ae6a77aeba259578c35192e9c109b0142fcf490b3c50/langsmith-0.4.21-py3-none-any.whl", hash = "sha256:15b189e2e7a3337a07cf250d91e158efcd0b39458735dc9e583c56dd0f21e4e0", size = 378494, upload-time = "2025-08-29T21:46:24.714Z" },
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]]