langgraph-api 0.14.0.dev8__py3-none-any.whl → 0.14.0.dev9__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 +1 -1
- langgraph_api/config/schemas.py +1 -1
- langgraph_api/queue_entrypoint.py +5 -2
- {langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/METADATA +1 -1
- {langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/RECORD +8 -8
- {langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/WHEEL +0 -0
- {langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/entry_points.txt +0 -0
- {langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/licenses/LICENSE +0 -0
langgraph_api/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.14.0.
|
|
1
|
+
__version__ = "0.14.0.dev9"
|
langgraph_api/config/schemas.py
CHANGED
|
@@ -488,7 +488,7 @@ def webhooks_validator(cfg: "WebhooksConfig") -> "WebhooksConfig":
|
|
|
488
488
|
# Validate allowed_fields if present
|
|
489
489
|
allowed_fields = cfg.get("allowed_fields")
|
|
490
490
|
if allowed_fields is not None:
|
|
491
|
-
if not isinstance(allowed_fields, list):
|
|
491
|
+
if not isinstance(allowed_fields, (list, set)):
|
|
492
492
|
raise ValueError(
|
|
493
493
|
f"webhooks.allowed_fields must be a list of strings. Got: {type(allowed_fields).__name__}"
|
|
494
494
|
)
|
|
@@ -36,10 +36,11 @@ def _ensure_port_available(host: str, port: int) -> None:
|
|
|
36
36
|
# Pin AF_INET6 for IPv6 literals: glibc's getaddrinfo can return EAI_ADDRFAMILY
|
|
37
37
|
# on IPv6-only hosts when the family is unspecified.
|
|
38
38
|
family = socket.AF_INET6 if ":" in host else socket.AF_UNSPEC
|
|
39
|
+
lookup_host = None if host == "" else host
|
|
39
40
|
last_error: OSError | None = None
|
|
40
41
|
try:
|
|
41
42
|
addrinfos = socket.getaddrinfo(
|
|
42
|
-
|
|
43
|
+
lookup_host,
|
|
43
44
|
port,
|
|
44
45
|
family=family,
|
|
45
46
|
type=socket.SOCK_STREAM,
|
|
@@ -75,7 +76,9 @@ async def health_and_metrics_server():
|
|
|
75
76
|
|
|
76
77
|
port = int(os.getenv("PORT", "8080"))
|
|
77
78
|
# Not in public docs: LANGGRAPH_SERVER_HOST is internal
|
|
78
|
-
|
|
79
|
+
# Empty means every interface: asyncio then opens one socket per address
|
|
80
|
+
# family, so the server answers on IPv4 and IPv6.
|
|
81
|
+
host = normalize_host(os.getenv("LANGGRAPH_SERVER_HOST", ""))
|
|
79
82
|
|
|
80
83
|
async def health_endpoint(request: Request):
|
|
81
84
|
check_db = int(request.query_params.get("check_db", "1"))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
langgraph_api/__init__.py,sha256=
|
|
1
|
+
langgraph_api/__init__.py,sha256=9U3aqxvXniCcvL5tgrnMw4id8Te0RDAkYwRB6EPwbn8,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
|
|
@@ -19,7 +19,7 @@ langgraph_api/metrics_collector.py,sha256=gMLHL18rJyYl985AOmu9eH7W1ttdRdkPHzeycz
|
|
|
19
19
|
langgraph_api/metrics_otlp.py,sha256=YppnNCHmQBj7wZbtKYLJS68_tbD6sGTJXGKIySqUTjU,29657
|
|
20
20
|
langgraph_api/otel_context.py,sha256=DWFwW4Yu88QY4W2J0IRcURR450Th9J2DupvDDkSkMBA,7166
|
|
21
21
|
langgraph_api/patch.py,sha256=ViUknYvyQWS6y0f5XuaEoci2qB_mQv8vZl-oaUxsI6M,1448
|
|
22
|
-
langgraph_api/queue_entrypoint.py,sha256=
|
|
22
|
+
langgraph_api/queue_entrypoint.py,sha256=ko968t_eXtO3NvPZLSuyp2eFFCKf8dLsz0a5sp5Z5Pg,11713
|
|
23
23
|
langgraph_api/release_tags.py,sha256=Dd2L2Mdh7c5D7RhFvdGCXROLH3WI1QKXbEqgjITFFoQ,9437
|
|
24
24
|
langgraph_api/route.py,sha256=_KE8A8Q-J-QfqjGlyM2Kc6n5cirmgt8xmI5-pI8kVEE,8837
|
|
25
25
|
langgraph_api/schema.py,sha256=EkarLwAUKApevb03AmLRumrAVAc2EsG_SLhYFPncSzk,15318
|
|
@@ -68,7 +68,7 @@ langgraph_api/auth/langsmith/backend.py,sha256=Y6-VxD7zfV1jzGdjmQ66CgNa3SenLbo3d
|
|
|
68
68
|
langgraph_api/auth/langsmith/client.py,sha256=79kwCVeHU64nsHsxWipfZhf44lM6vfs2nlfTxlJF6LU,4142
|
|
69
69
|
langgraph_api/config/__init__.py,sha256=R3WTyMb96Q-UsrZIY-mvZrtJvkrriSUSA0LVYR3vhXA,27474
|
|
70
70
|
langgraph_api/config/_parse.py,sha256=RpfZgFAPJlRMv13AzGr3kAYbIrqHcgjzO8IgeboTw4A,3922
|
|
71
|
-
langgraph_api/config/schemas.py,sha256=
|
|
71
|
+
langgraph_api/config/schemas.py,sha256=4GBEYLrKq7Ye81u95aATIW7zR0VavLihoGosgHC6dOo,20871
|
|
72
72
|
langgraph_api/encryption/__init__.py,sha256=gaCZ00CocSbqSqrDn6XJHaSp2CZCnC8qnrD9G4fbzyI,363
|
|
73
73
|
langgraph_api/encryption/aes_json.py,sha256=ExLgrthzVYGP4X51TStU2Td_Sn_3-kXHyk6UKTFmzW4,6139
|
|
74
74
|
langgraph_api/encryption/context.py,sha256=twnDvH3FcC8rlnPOAhI09dLZcxGgMVlplIH2ZpJ-8P4,1121
|
|
@@ -238,8 +238,8 @@ langgraph_grpc_common/proto/store_pb2.py,sha256=thQ5HBLblZ7Adayp1U8ty_lrpn-7XEHn
|
|
|
238
238
|
langgraph_grpc_common/proto/store_pb2.pyi,sha256=_dcxyxV8moR6H67qU42r2h2p_Ub-PZSHs3OoS9KMdSY,27782
|
|
239
239
|
langgraph_grpc_common/proto/store_pb2_grpc.py,sha256=Kyt8eV2NXkjh3be_BYytGdD19kNf74961cruonMvCrw,3300
|
|
240
240
|
langgraph_grpc_common/proto/store_pb2_grpc.pyi,sha256=oS1h2cDoq2OjyM8xazcmc8LwRDC5oCAD0zto2QUmPQw,2027
|
|
241
|
-
langgraph_api-0.14.0.
|
|
242
|
-
langgraph_api-0.14.0.
|
|
243
|
-
langgraph_api-0.14.0.
|
|
244
|
-
langgraph_api-0.14.0.
|
|
245
|
-
langgraph_api-0.14.0.
|
|
241
|
+
langgraph_api-0.14.0.dev9.dist-info/METADATA,sha256=t5MeVGX5mOD3SrWLU6AFQ__2ubK84jd4RlebxJw2usE,4630
|
|
242
|
+
langgraph_api-0.14.0.dev9.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
243
|
+
langgraph_api-0.14.0.dev9.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
|
|
244
|
+
langgraph_api-0.14.0.dev9.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
|
|
245
|
+
langgraph_api-0.14.0.dev9.dist-info/RECORD,,
|
|
File without changes
|
{langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{langgraph_api-0.14.0.dev8.dist-info → langgraph_api-0.14.0.dev9.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|