langgraph-api 0.0.42__py3-none-any.whl → 0.0.43__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.

Potentially problematic release.


This version of langgraph-api might be problematic. Click here for more details.

@@ -25,7 +25,8 @@ async def thread_ttl_sweep_loop():
25
25
  )
26
26
  sweep_interval_minutes = thread_ttl_config.get("sweep_interval_minutes", 5)
27
27
  await logger.ainfo(
28
- "Starting thread TTL sweeper",
28
+ f"Starting thread TTL sweeper with interval {sweep_interval_minutes} minutes",
29
+ strategy=strategy,
29
30
  interval_minutes=sweep_interval_minutes,
30
31
  )
31
32
 
@@ -38,7 +39,7 @@ async def thread_ttl_sweep_loop():
38
39
  threads_processed, threads_deleted = await Threads.sweep_ttl(conn)
39
40
  if threads_processed > 0:
40
41
  await logger.ainfo(
41
- "Thread TTL sweep completed",
42
+ f"Thread TTL sweep completed. Processed {threads_processed}",
42
43
  threads_processed=threads_processed,
43
44
  threads_deleted=threads_deleted,
44
45
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langgraph-api
3
- Version: 0.0.42
3
+ Version: 0.0.43
4
4
  Summary:
5
5
  License: Elastic-2.0
6
6
  Author: Nuno Campos
@@ -78,7 +78,7 @@ langgraph_api/server.py,sha256=bnXOOYztQmqR-QVpEFoRWB5Fzd33PuEIlwBK2R7W8NE,4849
78
78
  langgraph_api/sse.py,sha256=2wNodCOP2eg7a9mpSu0S3FQ0CHk2BBV_vv0UtIgJIcc,4034
79
79
  langgraph_api/state.py,sha256=8jx4IoTCOjTJuwzuXJKKFwo1VseHjNnw_CCq4x1SW14,2284
80
80
  langgraph_api/stream.py,sha256=lhjnom-T8GbquUZry-KSkajnqYjElaIERhPiXPtpw1E,11354
81
- langgraph_api/thread_ttl.py,sha256=ubkWMymTR7p9nGWd60-WKEOQ20ZgIkWB6WGstQUmRS4,1658
81
+ langgraph_api/thread_ttl.py,sha256=QS9C7cx63KBh82_I6DqOb42-5mLTqTvneL8FJeX3aqU,1765
82
82
  langgraph_api/utils.py,sha256=92mSti9GfGdMRRWyESKQW5yV-75Z9icGHnIrBYvdypU,3619
83
83
  langgraph_api/validation.py,sha256=Qo3EkSRXzIRe3GRuqRWbElTcUXRMXMyA1w0VbMvdwME,4934
84
84
  langgraph_api/webhook.py,sha256=1ncwO0rIZcj-Df9sxSnFEzd1gP1bfS4okeZQS8NSRoE,1382
@@ -91,13 +91,13 @@ langgraph_storage/checkpoint.py,sha256=Qq0y6vdh27qdF3h5nOLT5CcX9Rj2bcFqkVOMeCaGo
91
91
  langgraph_storage/database.py,sha256=sZjZvMcvbr_6dX0d1YrYEccVuQozIfkiWt8bdlXGVYU,5849
92
92
  langgraph_storage/inmem_stream.py,sha256=LjJSAxsh_E0ywqEMzdWJk8Hy_Jn9oQByzycss-fANng,3264
93
93
  langgraph_storage/ops.py,sha256=S2qXgfyuCr5qkKLqIV-kZNRK924bBSLZ2qdLtExfi-M,75939
94
- langgraph_storage/queue.py,sha256=Mgt63Z5A49RNlgdTluzT4h1Zn7q0kp5gYkEiEJ1nEhc,7122
94
+ langgraph_storage/queue.py,sha256=d2hykynk3rqrixEdrD_zl0Zyo63wJs3S4SJOzFeF-SA,7153
95
95
  langgraph_storage/retry.py,sha256=XmldOP4e_H5s264CagJRVnQMDFcEJR_dldVR1Hm5XvM,763
96
96
  langgraph_storage/store.py,sha256=JB9jZ87GE19MVN9wgl3-esgR2eIkeipws9q6qsPWkgc,3399
97
97
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
98
98
  openapi.json,sha256=-25y3NRQ88e_944UXo76Goa34HJhC7pj6I9tjYUwvuE,131492
99
- langgraph_api-0.0.42.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
100
- langgraph_api-0.0.42.dist-info/METADATA,sha256=ckCu5v6LFQjf8XuhEileAEcK5XxwHWZqpxHZpShMVe4,4167
101
- langgraph_api-0.0.42.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
102
- langgraph_api-0.0.42.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
103
- langgraph_api-0.0.42.dist-info/RECORD,,
99
+ langgraph_api-0.0.43.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
100
+ langgraph_api-0.0.43.dist-info/METADATA,sha256=GVLyrH4YCy2zRADllPQpBtuD8BHQwVaBitZPZlefgeQ,4167
101
+ langgraph_api-0.0.43.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
102
+ langgraph_api-0.0.43.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
103
+ langgraph_api-0.0.43.dist-info/RECORD,,
@@ -156,20 +156,21 @@ def _enable_blockbuster() -> BlockBuster:
156
156
  bb.activate()
157
157
  # Note, we've cached this call in langsmith==0.3.21 so it shouldn't raise anyway
158
158
  # but we don't want to raise teh minbound just for that.
159
- for func in ["os.stat", "io.TextIOWrapper.read"]:
159
+ bb.functions["os.stat"].deactivate()
160
+ for func in ("io.TextIOWrapper.read",):
160
161
  bb.functions[func].can_block_in("langsmith/client.py", "_default_retry_config")
161
162
  # Only triggers in python 3.11 for getting subgraphs
162
163
  # Will be unnecessary once we cache the assistant schemas
163
164
  bb.functions[func].can_block_in(
164
165
  "langgraph/pregel/utils.py", "get_function_nonlocals"
165
166
  )
166
- for module, func in [
167
+ for module, func in (
167
168
  ("uvicorn/lifespan/on.py", "startup"),
168
169
  ("uvicorn/lifespan/on.py", "shutdown"),
169
170
  ("ansitowin32.py", "write_plain_text"),
170
171
  ("logging/__init__.py", "flush"),
171
172
  ("logging/__init__.py", "emit"),
172
- ]:
173
+ ):
173
174
  bb.functions["io.TextIOWrapper.write"].can_block_in(module, func)
174
175
  bb.functions["io.BufferedWriter.write"].can_block_in(module, func)
175
176
  return bb