langgraph-runtime-inmem 0.19.1__py3-none-any.whl → 0.20.0__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.
@@ -9,7 +9,7 @@ from langgraph_runtime_inmem import (
9
9
  store,
10
10
  )
11
11
 
12
- __version__ = "0.19.1"
12
+ __version__ = "0.20.0"
13
13
  __all__ = [
14
14
  "ops",
15
15
  "database",
@@ -628,6 +628,7 @@ class Assistants(Authenticated):
628
628
  conn: InMemConnectionProto,
629
629
  *,
630
630
  graph_id: str | None = None,
631
+ name: str | None = None,
631
632
  metadata: MetadataInput = None,
632
633
  ctx: Auth.types.BaseAuthContext | None = None,
633
634
  ) -> int:
@@ -645,6 +646,7 @@ class Assistants(Authenticated):
645
646
  for assistant in conn.store["assistants"]:
646
647
  if (
647
648
  (not graph_id or assistant["graph_id"] == graph_id)
649
+ and (not name or name.lower() in assistant["name"].lower())
648
650
  and (
649
651
  not metadata or is_jsonb_contained(assistant["metadata"], metadata)
650
652
  )
@@ -2849,6 +2851,7 @@ class Crons:
2849
2851
  thread_id: UUID | None = None,
2850
2852
  on_run_completed: Literal["delete", "keep"] | None = None,
2851
2853
  end_time: datetime | None = None,
2854
+ metadata: dict | None = None,
2852
2855
  ctx: Auth.types.BaseAuthContext | None = None,
2853
2856
  ) -> AsyncIterator[Cron]:
2854
2857
  raise NotImplementedError
@@ -156,6 +156,15 @@ def _enable_blockbuster():
156
156
  bb = BlockBuster(excluded_modules=[])
157
157
 
158
158
  bb.functions["os.path.abspath"].can_block_in("inspect.py", "getmodule")
159
+ for fn in (
160
+ "os.access",
161
+ "os.getcwd",
162
+ "os.unlink",
163
+ "os.write",
164
+ ):
165
+ bb.functions[fn].can_block_in(
166
+ "langgraph_api/api/profile.py", "_profile_with_pyspy"
167
+ )
159
168
 
160
169
  for module, func in (
161
170
  ("memory/__init__.py", "sync"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-runtime-inmem
3
- Version: 0.19.1
3
+ Version: 0.20.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
@@ -1,13 +1,13 @@
1
- langgraph_runtime_inmem/__init__.py,sha256=5pyvRaivaIwrST-IiIzvk4R9yyuIp3H5eYCp5sli7Qg,311
1
+ langgraph_runtime_inmem/__init__.py,sha256=w7zaO_iI7aRQ_FockgyKE0A6MGU7U1IOdmyjgLDMp2I,311
2
2
  langgraph_runtime_inmem/checkpoint.py,sha256=nc1G8DqVdIu-ibjKTqXfbPfMbAsKjPObKqegrSzo6Po,4432
3
3
  langgraph_runtime_inmem/database.py,sha256=g2XYa5KN-T8MbDeFH9sfUApDG62Wp4BACumVnDtxYhI,6403
4
4
  langgraph_runtime_inmem/inmem_stream.py,sha256=PFLWbsxU8RqbT5mYJgNk6v5q6TWJRIY1hkZWhJF8nkI,9094
5
5
  langgraph_runtime_inmem/lifespan.py,sha256=fCoYcN_h0cxmj6-muC-f0csPdSpyepZuGRD1yBrq4XM,4755
6
6
  langgraph_runtime_inmem/metrics.py,sha256=_YiSkLnhQvHpMktk38SZo0abyL-5GihfVAtBo0-lFIc,403
7
- langgraph_runtime_inmem/ops.py,sha256=E6dja8tp9rnNj0Qw0qPLrlizMx9wa9fTFB-K-gnK1QI,114625
8
- langgraph_runtime_inmem/queue.py,sha256=17HBZrYaxJg_k4NoabToYD_J6cqVzyHpWIz3VzGg_14,9363
7
+ langgraph_runtime_inmem/ops.py,sha256=qNK_-isTB92kQi3vVSt84__gMG02JUqmkNh-9LURexo,114772
8
+ langgraph_runtime_inmem/queue.py,sha256=WM6ZJu25QPVjFXeJYW06GALLUgRsnRrA4YdypR0oG0U,9584
9
9
  langgraph_runtime_inmem/retry.py,sha256=XmldOP4e_H5s264CagJRVnQMDFcEJR_dldVR1Hm5XvM,763
10
10
  langgraph_runtime_inmem/store.py,sha256=rTfL1JJvd-j4xjTrL8qDcynaWF6gUJ9-GDVwH0NBD_I,3506
11
- langgraph_runtime_inmem-0.19.1.dist-info/METADATA,sha256=zSasD-8sdF518e-qs_sveuEkQ0VQPbDVd9e13ziyYj4,570
12
- langgraph_runtime_inmem-0.19.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
- langgraph_runtime_inmem-0.19.1.dist-info/RECORD,,
11
+ langgraph_runtime_inmem-0.20.0.dist-info/METADATA,sha256=na8rNZ91-jm6wjZXr04LH-AGpUSM7LRpWIkUdrWTeSM,570
12
+ langgraph_runtime_inmem-0.20.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
+ langgraph_runtime_inmem-0.20.0.dist-info/RECORD,,