langgraph-runtime-inmem 0.39.0.dev8__tar.gz → 0.39.0.dev10__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.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/PKG-INFO +1 -1
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/__init__.py +1 -1
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/ops.py +20 -2
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/.gitignore +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/Makefile +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/README.md +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/_persistence.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/checkpoint.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/database.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/encryption.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/inmem_stream.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/lifespan.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/metrics.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/queue.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/retry.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/routes.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/langgraph_runtime_inmem/store.py +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/pyproject.toml +0 -0
- {langgraph_runtime_inmem-0.39.0.dev8 → langgraph_runtime_inmem-0.39.0.dev10}/uv.lock +0 -0
|
@@ -1134,6 +1134,8 @@ class Threads(Authenticated):
|
|
|
1134
1134
|
exclude_metadata: list[dict[str, Any]] | None = None,
|
|
1135
1135
|
created_after: datetime | None = None,
|
|
1136
1136
|
created_before: datetime | None = None,
|
|
1137
|
+
state_updated_after: datetime | None = None,
|
|
1138
|
+
state_updated_before: datetime | None = None,
|
|
1137
1139
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
1138
1140
|
) -> tuple[AsyncIterator[Thread], int]:
|
|
1139
1141
|
threads = conn.store["threads"]
|
|
@@ -1182,7 +1184,13 @@ class Threads(Authenticated):
|
|
|
1182
1184
|
):
|
|
1183
1185
|
continue
|
|
1184
1186
|
|
|
1185
|
-
if not _in_time_range(
|
|
1187
|
+
if not _in_time_range(
|
|
1188
|
+
thread["created_at"], created_after, created_before
|
|
1189
|
+
) or not _in_time_range(
|
|
1190
|
+
thread.get("state_updated_at") or thread["updated_at"],
|
|
1191
|
+
state_updated_after,
|
|
1192
|
+
state_updated_before,
|
|
1193
|
+
):
|
|
1186
1194
|
continue
|
|
1187
1195
|
|
|
1188
1196
|
if (
|
|
@@ -2429,6 +2437,8 @@ class Threads(Authenticated):
|
|
|
2429
2437
|
return False
|
|
2430
2438
|
if "state_update" in stream_modes and event_name == "state_update":
|
|
2431
2439
|
return False
|
|
2440
|
+
if event_name == "interrupts" and "lifecycle" in stream_modes:
|
|
2441
|
+
return False
|
|
2432
2442
|
if "lifecycle" in stream_modes and event_name == "metadata":
|
|
2433
2443
|
try:
|
|
2434
2444
|
message_data = orjson.loads(message_bytes)
|
|
@@ -2643,6 +2653,8 @@ class Threads(Authenticated):
|
|
|
2643
2653
|
exclude_metadata: list[dict[str, Any]] | None = None,
|
|
2644
2654
|
created_after: datetime | None = None,
|
|
2645
2655
|
created_before: datetime | None = None,
|
|
2656
|
+
state_updated_after: datetime | None = None,
|
|
2657
|
+
state_updated_before: datetime | None = None,
|
|
2646
2658
|
ctx: Auth.types.BaseAuthContext | None = None,
|
|
2647
2659
|
) -> int:
|
|
2648
2660
|
"""Get count of threads."""
|
|
@@ -2677,7 +2689,13 @@ class Threads(Authenticated):
|
|
|
2677
2689
|
):
|
|
2678
2690
|
continue
|
|
2679
2691
|
|
|
2680
|
-
if not _in_time_range(
|
|
2692
|
+
if not _in_time_range(
|
|
2693
|
+
thread["created_at"], created_after, created_before
|
|
2694
|
+
) or not _in_time_range(
|
|
2695
|
+
thread.get("state_updated_at") or thread["updated_at"],
|
|
2696
|
+
state_updated_after,
|
|
2697
|
+
state_updated_before,
|
|
2698
|
+
):
|
|
2681
2699
|
continue
|
|
2682
2700
|
|
|
2683
2701
|
if (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|