langgraph-runtime-inmem 0.23.1__py3-none-any.whl → 0.23.2__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/lifespan.py +1 -2
- langgraph_runtime_inmem/ops.py +18 -0
- {langgraph_runtime_inmem-0.23.1.dist-info → langgraph_runtime_inmem-0.23.2.dist-info}/METADATA +1 -1
- {langgraph_runtime_inmem-0.23.1.dist-info → langgraph_runtime_inmem-0.23.2.dist-info}/RECORD +6 -6
- {langgraph_runtime_inmem-0.23.1.dist-info → langgraph_runtime_inmem-0.23.2.dist-info}/WHEEL +0 -0
|
@@ -29,7 +29,7 @@ async def lifespan(
|
|
|
29
29
|
**kwargs: Any,
|
|
30
30
|
):
|
|
31
31
|
import langgraph_api.config as config
|
|
32
|
-
from langgraph_api import __version__, feature_flags, graph
|
|
32
|
+
from langgraph_api import __version__, feature_flags, graph
|
|
33
33
|
from langgraph_api import (
|
|
34
34
|
_checkpointer as api_checkpointer,
|
|
35
35
|
)
|
|
@@ -87,7 +87,6 @@ async def lifespan(
|
|
|
87
87
|
tg.create_task(store_instance.start_ttl_sweeper()) # type: ignore
|
|
88
88
|
else:
|
|
89
89
|
await logger.ainfo("Using custom store. Skipping store TTL sweeper.")
|
|
90
|
-
tg.create_task(thread_ttl.thread_ttl_sweep_loop())
|
|
91
90
|
|
|
92
91
|
if feature_flags.USE_RUNTIME_CONTEXT_API:
|
|
93
92
|
from langgraph._internal._constants import CONFIG_KEY_RUNTIME
|
langgraph_runtime_inmem/ops.py
CHANGED
|
@@ -253,6 +253,7 @@ class Assistants(Authenticated):
|
|
|
253
253
|
name: str,
|
|
254
254
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
255
255
|
description: str | None = None,
|
|
256
|
+
system: bool = False,
|
|
256
257
|
) -> AsyncIterator[Assistant]:
|
|
257
258
|
"""Insert an assistant."""
|
|
258
259
|
from langgraph_api.graph import assert_graph_exists
|
|
@@ -3003,6 +3004,22 @@ class Crons:
|
|
|
3003
3004
|
on_run_completed: Literal["delete", "keep"] | None = None,
|
|
3004
3005
|
end_time: datetime | None = None,
|
|
3005
3006
|
metadata: dict | None = None,
|
|
3007
|
+
enabled: bool,
|
|
3008
|
+
ctx: Auth.types.BaseAuthContext | None = None,
|
|
3009
|
+
) -> AsyncIterator[Cron]:
|
|
3010
|
+
raise NotImplementedError
|
|
3011
|
+
|
|
3012
|
+
@staticmethod
|
|
3013
|
+
async def update(
|
|
3014
|
+
conn: InMemConnectionProto,
|
|
3015
|
+
*,
|
|
3016
|
+
cron_id: UUID,
|
|
3017
|
+
schedule: str | None = None,
|
|
3018
|
+
end_time: datetime | None = None,
|
|
3019
|
+
enabled: bool | None = None,
|
|
3020
|
+
on_run_completed: Literal["delete", "keep"] | None = None,
|
|
3021
|
+
payload: dict | None = None,
|
|
3022
|
+
metadata: dict | None = None,
|
|
3006
3023
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
3007
3024
|
) -> AsyncIterator[Cron]:
|
|
3008
3025
|
raise NotImplementedError
|
|
@@ -3038,6 +3055,7 @@ class Crons:
|
|
|
3038
3055
|
*,
|
|
3039
3056
|
assistant_id: UUID | None,
|
|
3040
3057
|
thread_id: UUID | None,
|
|
3058
|
+
enabled: bool,
|
|
3041
3059
|
limit: int,
|
|
3042
3060
|
offset: int,
|
|
3043
3061
|
select: list[CronSelectField] | None = None,
|
{langgraph_runtime_inmem-0.23.1.dist-info → langgraph_runtime_inmem-0.23.2.dist-info}/RECORD
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
langgraph_runtime_inmem/__init__.py,sha256=
|
|
1
|
+
langgraph_runtime_inmem/__init__.py,sha256=IfmL9kXBjvAhwVwQVwlbKnJMJv_q3hKtHE_zOkCU17I,337
|
|
2
2
|
langgraph_runtime_inmem/_persistence.py,sha256=0h_HLXc079TG0rXoiQjICPZLhhBpTsmZ2PG8UbB5YY4,1879
|
|
3
3
|
langgraph_runtime_inmem/checkpoint.py,sha256=VD5c6CktsToo_f4qPe1WP_csdonQoOb7h5lHv4U0ZAE,8372
|
|
4
4
|
langgraph_runtime_inmem/database.py,sha256=iP7W1SI4kUkqcHtkg3aMmP-YLgZfvMHANwN-P4Pb1pY,6607
|
|
5
5
|
langgraph_runtime_inmem/inmem_stream.py,sha256=PFLWbsxU8RqbT5mYJgNk6v5q6TWJRIY1hkZWhJF8nkI,9094
|
|
6
|
-
langgraph_runtime_inmem/lifespan.py,sha256=
|
|
6
|
+
langgraph_runtime_inmem/lifespan.py,sha256=zprYeZ05QfYJIa7h7KCeAJSDSpnvo-JWvwoQIXFZX2w,4860
|
|
7
7
|
langgraph_runtime_inmem/metrics.py,sha256=_YiSkLnhQvHpMktk38SZo0abyL-5GihfVAtBo0-lFIc,403
|
|
8
|
-
langgraph_runtime_inmem/ops.py,sha256=
|
|
8
|
+
langgraph_runtime_inmem/ops.py,sha256=u6T1S90mqEg5CsMPu3jZrIxRJzArVvgyNVbYBvRiCQw,121370
|
|
9
9
|
langgraph_runtime_inmem/queue.py,sha256=WM6ZJu25QPVjFXeJYW06GALLUgRsnRrA4YdypR0oG0U,9584
|
|
10
10
|
langgraph_runtime_inmem/retry.py,sha256=XmldOP4e_H5s264CagJRVnQMDFcEJR_dldVR1Hm5XvM,763
|
|
11
11
|
langgraph_runtime_inmem/routes.py,sha256=25W-8fQCmBD3MHTv91GIGgBl8tfl-MovdXDd34yVkzM,1541
|
|
12
12
|
langgraph_runtime_inmem/store.py,sha256=EehjI-LWemnMYqDeMJp75hvZK8oInZL-JhnfnEwtlPk,3751
|
|
13
|
-
langgraph_runtime_inmem-0.23.
|
|
14
|
-
langgraph_runtime_inmem-0.23.
|
|
15
|
-
langgraph_runtime_inmem-0.23.
|
|
13
|
+
langgraph_runtime_inmem-0.23.2.dist-info/METADATA,sha256=Mra4MM_1TaYEatjLHb664VPCxvlQ-NjdZ-OtVe3RyDQ,570
|
|
14
|
+
langgraph_runtime_inmem-0.23.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
15
|
+
langgraph_runtime_inmem-0.23.2.dist-info/RECORD,,
|
|
File without changes
|