langgraph-api 0.13.0.dev2__py3-none-any.whl → 0.13.0.dev3__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_api/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.13.0.dev2"
1
+ __version__ = "0.13.0.dev3"
@@ -19,7 +19,6 @@ from contextlib import suppress
19
19
 
20
20
  import structlog
21
21
 
22
- from langgraph_api.api.meta import meta_pool_stats
23
22
  from langgraph_api.utils.errors import GraphLoadError, HealthServerStartupError
24
23
  from langgraph_api.utils.network import format_hostport, normalize_host
25
24
  from langgraph_runtime import lifespan
@@ -72,7 +71,7 @@ async def health_and_metrics_server():
72
71
  from starlette.routing import Mount, Route # noqa: PLC0415
73
72
 
74
73
  from langgraph_api import config as lc_config # noqa: PLC0415
75
- from langgraph_api.api.meta import METRICS_FORMATS # noqa: PLC0415
74
+ from langgraph_api.api.meta import METRICS_FORMATS, meta_pool_stats # noqa: PLC0415
76
75
 
77
76
  port = int(os.getenv("PORT", "8080"))
78
77
  # Not in public docs: LANGGRAPH_SERVER_HOST is internal
@@ -298,9 +297,14 @@ async def main(entrypoint_name: str = "python-queue"):
298
297
 
299
298
 
300
299
  if __name__ == "__main__":
300
+ # Set before any langgraph_api.api import. That package's __init__ pulls in
301
+ # auth.middleware, which builds the auth backend at import time. Custom JS
302
+ # auth then imports js.remote and freezes REMOTE_PORT from this flag; if we
303
+ # set it too late the colocated queue worker binds 5555 instead of 5565.
301
304
  from langgraph_api import config
302
305
 
303
306
  config.IS_QUEUE_ENTRYPOINT = True
307
+
304
308
  with open(pathlib.Path(__file__).parent.parent / "logging.json") as file:
305
309
  loaded_config = json.load(file)
306
310
  logging.config.dictConfig(loaded_config)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.13.0.dev2
3
+ Version: 0.13.0.dev3
4
4
  Author-email: Will Fu-Hinthorn <will@langchain.dev>, Josh Rogers <josh@langchain.dev>, Parker Rule <parker@langchain.dev>
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- langgraph_api/__init__.py,sha256=K14HGkNnmOGU0PK4HQ1-QW1qAl1RXZGaf-NIfPJj6VM,28
1
+ langgraph_api/__init__.py,sha256=zB2c12D165Ckbvz5BQ8l1SJf-Q9W3O93BA6rP1phNy8,28
2
2
  langgraph_api/_factory_utils.py,sha256=_FqW0olMu2PGLsnRq0ylt3a4jDCe12YIFHExMXI6Nyo,5976
3
3
  langgraph_api/asgi_transport.py,sha256=XApY3lIWBZTMbbsl8dDJzl0cLGirmAGE0SifqZUnXvs,11896
4
4
  langgraph_api/asyncio.py,sha256=smqyAoO9nIyPPQRw1IVSCh85fwoZP4PEo-5dDhxGruc,10676
@@ -18,7 +18,7 @@ langgraph_api/metrics_collector.py,sha256=gMLHL18rJyYl985AOmu9eH7W1ttdRdkPHzeycz
18
18
  langgraph_api/metrics_otlp.py,sha256=B2J7RyIng524MRjSOp0yBNKT5FZtq4XwUYH0fcoCk8U,29652
19
19
  langgraph_api/otel_context.py,sha256=DWFwW4Yu88QY4W2J0IRcURR450Th9J2DupvDDkSkMBA,7166
20
20
  langgraph_api/patch.py,sha256=ViUknYvyQWS6y0f5XuaEoci2qB_mQv8vZl-oaUxsI6M,1448
21
- langgraph_api/queue_entrypoint.py,sha256=-9YnY_GhmDxEiGCc3k-7UqRKK_M3dPriits2iGgYlgU,11327
21
+ langgraph_api/queue_entrypoint.py,sha256=1pb7kUWLbc1jIElZ2KTronREFXh3Vq0Sx4_feZX-YxE,11610
22
22
  langgraph_api/release_tags.py,sha256=Dd2L2Mdh7c5D7RhFvdGCXROLH3WI1QKXbEqgjITFFoQ,9437
23
23
  langgraph_api/route.py,sha256=_KE8A8Q-J-QfqjGlyM2Kc6n5cirmgt8xmI5-pI8kVEE,8837
24
24
  langgraph_api/schema.py,sha256=4VhH4V9RmvBqO9MMPbaKk80PUQrPFyTMjDTT8nAZZ6w,15257
@@ -236,8 +236,8 @@ langgraph_grpc_common/proto/store_pb2.py,sha256=uAYM7OcdEOK12iRcPYihC2suSeCo_Qdb
236
236
  langgraph_grpc_common/proto/store_pb2.pyi,sha256=_dcxyxV8moR6H67qU42r2h2p_Ub-PZSHs3OoS9KMdSY,27782
237
237
  langgraph_grpc_common/proto/store_pb2_grpc.py,sha256=wSD65QgFkYTkPTHcf7VhyI2FQ7UH_RgIf3vQW3VYlsM,3324
238
238
  langgraph_grpc_common/proto/store_pb2_grpc.pyi,sha256=oS1h2cDoq2OjyM8xazcmc8LwRDC5oCAD0zto2QUmPQw,2027
239
- langgraph_api-0.13.0.dev2.dist-info/METADATA,sha256=wqjQf0UE4z_W9VeFDWHPRj_mvMM1VLrbxnlQrkpDdjo,4630
240
- langgraph_api-0.13.0.dev2.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
241
- langgraph_api-0.13.0.dev2.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
242
- langgraph_api-0.13.0.dev2.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
243
- langgraph_api-0.13.0.dev2.dist-info/RECORD,,
239
+ langgraph_api-0.13.0.dev3.dist-info/METADATA,sha256=vUlkCBHt0GDA3GBTrrAJdB86GBQ7_CRJdd-Ww-37jyY,4630
240
+ langgraph_api-0.13.0.dev3.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
241
+ langgraph_api-0.13.0.dev3.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
242
+ langgraph_api-0.13.0.dev3.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
243
+ langgraph_api-0.13.0.dev3.dist-info/RECORD,,