langgraph-api 0.2.114__py3-none-any.whl → 0.2.115__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.2.114"
1
+ __version__ = "0.2.115"
@@ -858,7 +858,7 @@ class CustomJsAuthBackend(AuthenticationBackend):
858
858
  raise ValueError(
859
859
  f"LANGGRAPH_AUTH.cache.cache_keys must be a list. Got: {keys}"
860
860
  )
861
- self.cache_keys = keys
861
+ self.cache_keys = [key.lower() for key in keys]
862
862
  self.ttl_cache = LRUCache(
863
863
  max_size=cache.get("max_size", 1000),
864
864
  ttl=cache.get("ttl_seconds", 60),
@@ -880,9 +880,7 @@ class CustomJsAuthBackend(AuthenticationBackend):
880
880
  headers["x-langgraph-auth-method"] = conn.scope.get("method")
881
881
  cache_key = None
882
882
  if self.cache_keys:
883
- cache_key = tuple(
884
- (k, headers.get(k)) for k in self.cache_keys if headers.get(k)
885
- )
883
+ cache_key = tuple((k, headers[k]) for k in self.cache_keys if k in headers)
886
884
  if cache_key:
887
885
  if self.ttl_cache is not None:
888
886
  cached = self.ttl_cache.get(cache_key)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.2.114
3
+ Version: 0.2.115
4
4
  Author-email: Nuno Campos <nuno@langchain.dev>, Will Fu-Hinthorn <will@langchain.dev>
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- langgraph_api/__init__.py,sha256=FvhaSOAw0OQ1NvIUlXa-kO_z2gwtORe4nLr3ouqI-m8,24
1
+ langgraph_api/__init__.py,sha256=ZpobLxBoHGHOwcb5e6212plzNjNcLHzJ11KMKWeWGw0,24
2
2
  langgraph_api/asgi_transport.py,sha256=eqifhHxNnxvI7jJqrY1_8RjL4Fp9NdN4prEub2FWBt8,5091
3
3
  langgraph_api/asyncio.py,sha256=Wv4Rwm-a-Cf6JpfgJmVuVlXQ7SlwrjbTn0eq1ux8I2Q,9652
4
4
  langgraph_api/cli.py,sha256=xQojITwmmKSJw48Lr2regcnRPRq2FJqWlPpeyr5TgbU,16158
@@ -55,7 +55,7 @@ langgraph_api/js/client.mts,sha256=CEz5oOtI_mwqsvsC33S_2TQbxD6mW-AKl6shsRI5G18,3
55
55
  langgraph_api/js/errors.py,sha256=Cm1TKWlUCwZReDC5AQ6SgNIVGD27Qov2xcgHyf8-GXo,361
56
56
  langgraph_api/js/global.d.ts,sha256=j4GhgtQSZ5_cHzjSPcHgMJ8tfBThxrH-pUOrrJGteOU,196
57
57
  langgraph_api/js/package.json,sha256=BpNAO88mbE-Gv4WzQfj1TLktCWGqm6XBqI892ObuOUw,1333
58
- langgraph_api/js/remote.py,sha256=TkjOnxuvExFwKEg1f1WWPWSKyhVGO2_cTlHngYs4xjo,38011
58
+ langgraph_api/js/remote.py,sha256=iMsdDsixqWDCASMkaxVTK4S1XB9cXgwAIF9XaNYl9EY,38000
59
59
  langgraph_api/js/schema.py,sha256=M4fLtr50O1jck8H1hm_0W4cZOGYGdkrB7riLyCes4oY,438
60
60
  langgraph_api/js/sse.py,sha256=lsfp4nyJyA1COmlKG9e2gJnTttf_HGCB5wyH8OZBER8,4105
61
61
  langgraph_api/js/traceblock.mts,sha256=QtGSN5VpzmGqDfbArrGXkMiONY94pMQ5CgzetT_bKYg,761
@@ -94,8 +94,8 @@ langgraph_runtime/store.py,sha256=7mowndlsIroGHv3NpTSOZDJR0lCuaYMBoTnTrewjslw,11
94
94
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
95
95
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
96
96
  openapi.json,sha256=jyQZW5U4V15zWciiIvaDPasYZd3k1iMiQ2vkPxf3zb4,145614
97
- langgraph_api-0.2.114.dist-info/METADATA,sha256=vUC4EP4w8Mv9FFd6hsoODoI0ofHfjNmQ677f6sYRYpI,3890
98
- langgraph_api-0.2.114.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
- langgraph_api-0.2.114.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
- langgraph_api-0.2.114.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
- langgraph_api-0.2.114.dist-info/RECORD,,
97
+ langgraph_api-0.2.115.dist-info/METADATA,sha256=PPy83my0iVDl4TJbugjtUoBXcYW9yAG_cLXhCEhpPmE,3890
98
+ langgraph_api-0.2.115.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
+ langgraph_api-0.2.115.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
+ langgraph_api-0.2.115.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
+ langgraph_api-0.2.115.dist-info/RECORD,,