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

langgraph_api/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.12"
1
+ __version__ = "0.1.15"
@@ -45,9 +45,12 @@ def _get_configurable_jsonschema(graph: Pregel) -> dict:
45
45
  """
46
46
  # Otherwise, use the config_schema method.
47
47
  config_schema = graph.config_schema()
48
+ model_fields = getattr(config_schema, "model_fields", None) or getattr(
49
+ config_schema, "__fields__", None
50
+ )
48
51
 
49
- if "configurable" in config_schema.__fields__:
50
- configurable = TypeAdapter(config_schema.__fields__["configurable"].annotation)
52
+ if model_fields is not None and "configurable" in model_fields:
53
+ configurable = TypeAdapter(model_fields["configurable"].annotation)
51
54
  json_schema = configurable.json_schema()
52
55
  # The type name of the configurable type is not preserved.
53
56
  # We'll add it back to the schema if we can.
@@ -55,7 +58,6 @@ def _get_configurable_jsonschema(graph: Pregel) -> dict:
55
58
  if hasattr(graph.config_type, "__name__"):
56
59
  json_schema["title"] = graph.config_type.__name__
57
60
  return json_schema
58
-
59
61
  # If the schema does not have a configurable field, return an empty schema.
60
62
  return {}
61
63
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langgraph-api
3
- Version: 0.1.13
3
+ Version: 0.1.15
4
4
  Summary:
5
5
  License: Elastic-2.0
6
6
  Author: Nuno Campos
@@ -18,6 +18,7 @@ Requires-Dist: jsonschema-rs (>=0.20.0,<0.30)
18
18
  Requires-Dist: langchain-core (>=0.2.38,<0.4.0)
19
19
  Requires-Dist: langgraph (>=0.2.56,<0.4.0)
20
20
  Requires-Dist: langgraph-checkpoint (>=2.0.23,<3.0)
21
+ Requires-Dist: langgraph-runtime-inmem (>=0.0.6)
21
22
  Requires-Dist: langgraph-sdk (>=0.1.63,<0.2.0)
22
23
  Requires-Dist: langsmith (>=0.1.63,<0.4.0)
23
24
  Requires-Dist: orjson (>=3.9.7)
@@ -1,7 +1,7 @@
1
1
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
2
- langgraph_api/__init__.py,sha256=LcIlFjHZFfiF9Rd4UHoakmombOFkxIYk00I181frGBM,23
2
+ langgraph_api/__init__.py,sha256=qb0TalpSt1CbprnFyeLUKqgrqNtmnk9IoQQ7umAoXVY,23
3
3
  langgraph_api/api/__init__.py,sha256=IKKMrC5gCHTzjprbg8jgZDrAJRuqJfSUgEkZAgh3l-M,5771
4
- langgraph_api/api/assistants.py,sha256=i-nxkScUB2g8bTVGtQIp1psABXlaY1aVx9pkB_UiRH8,14353
4
+ langgraph_api/api/assistants.py,sha256=6oYFRKlvqheJQGbWjFhQOUnnSbvsbrdMYLRJP7WtSRo,14481
5
5
  langgraph_api/api/mcp.py,sha256=KbR19dtFCpJEiKYj3IfepAuJij8YZVELuVp7JY_yu_o,13754
6
6
  langgraph_api/api/meta.py,sha256=sTgkhE-DaFWpERG6F7KelZfDsmJAiVc4j5dg50tDkSo,2950
7
7
  langgraph_api/api/openapi.py,sha256=OGwzPpYO4e98iqtgL7UEfzI6jP4zXahJ1R-7VgOSZeg,11046
@@ -99,8 +99,8 @@ langgraph_license/validation.py,sha256=ZKraAVJArAABKqrmHN-EN18ncoNUmRm500Yt1Sc7t
99
99
  langgraph_runtime/__init__.py,sha256=O4GgSmu33c-Pr8Xzxj_brcK5vkm70iNTcyxEjICFZxA,1075
100
100
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
101
101
  openapi.json,sha256=cjlQFtrH7TwXQ9GNe1jy2iBRhae_F6inFZhsaCQidBc,132770
102
- langgraph_api-0.1.13.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
103
- langgraph_api-0.1.13.dist-info/METADATA,sha256=6YyijL-TnJbtZQuczB5JJKy1fz_wN7baoryAo1MseF8,4120
104
- langgraph_api-0.1.13.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
105
- langgraph_api-0.1.13.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
106
- langgraph_api-0.1.13.dist-info/RECORD,,
102
+ langgraph_api-0.1.15.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
103
+ langgraph_api-0.1.15.dist-info/METADATA,sha256=mEDzGC3joGCpnT3n5ovhzI-pMPm826SVPld3NHvFp8Y,4169
104
+ langgraph_api-0.1.15.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
105
+ langgraph_api-0.1.15.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
106
+ langgraph_api-0.1.15.dist-info/RECORD,,