langgraph-api 0.19.0.dev9__py3-none-any.whl → 0.19.0.dev10__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/embedded_core.py +12 -2
- langgraph_api/logging.py +2 -0
- {langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/METADATA +3 -2
- {langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/RECORD +8 -8
- {langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/WHEEL +0 -0
- {langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/entry_points.txt +0 -0
- {langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/licenses/LICENSE +0 -0
langgraph_api/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.19.0.
|
|
1
|
+
__version__ = "0.19.0.dev10"
|
langgraph_api/embedded_core.py
CHANGED
|
@@ -25,7 +25,7 @@ SQLITE_PATH = os.path.join(".langgraph_api", "core.sqlite")
|
|
|
25
25
|
# Local data formats this version no longer reads. Add a pattern whenever a
|
|
26
26
|
# change drops local dev data instead of migrating it.
|
|
27
27
|
DROPPED_LOCAL_DATA = (
|
|
28
|
-
"
|
|
28
|
+
"*.pckl", # Python in-memory runtime
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
|
|
@@ -52,6 +52,7 @@ def start(sqlite_path: str | None = None) -> Iterator[str]:
|
|
|
52
52
|
env.pop("POSTGRES_URI", None)
|
|
53
53
|
env.pop("REDIS_URI", None)
|
|
54
54
|
env.pop("REDIS_URI_CUSTOM", None)
|
|
55
|
+
env["LOG_LEVEL"] = _core_log_level(env.get("LOG_LEVEL", ""))
|
|
55
56
|
# Core exits when this pipe closes, so it never outlives this process.
|
|
56
57
|
args = [
|
|
57
58
|
binary_path(),
|
|
@@ -81,6 +82,15 @@ def start(sqlite_path: str | None = None) -> Iterator[str]:
|
|
|
81
82
|
process.wait()
|
|
82
83
|
|
|
83
84
|
|
|
85
|
+
def _core_log_level(level: str) -> str:
|
|
86
|
+
"""Map Python's LOG_LEVEL to core's; unknown values make core log at INFO.
|
|
87
|
+
|
|
88
|
+
Defaults to WARN: core's startup INFO logs drown out the dev server.
|
|
89
|
+
"""
|
|
90
|
+
level = {"WARNING": "WARN", "CRITICAL": "ERROR"}.get(level.upper(), level.upper())
|
|
91
|
+
return level if level in ("DEBUG", "INFO", "WARN", "ERROR", "FATAL") else "WARN"
|
|
92
|
+
|
|
93
|
+
|
|
84
94
|
def _warn_dropped_local_data(data_dir: Path) -> None:
|
|
85
95
|
dropped = sorted(
|
|
86
96
|
str(f) for pattern in DROPPED_LOCAL_DATA for f in data_dir.glob(pattern)
|
|
@@ -88,7 +98,7 @@ def _warn_dropped_local_data(data_dir: Path) -> None:
|
|
|
88
98
|
if dropped:
|
|
89
99
|
logger.warning(
|
|
90
100
|
"Ignoring local data from an older format that this version no longer "
|
|
91
|
-
"reads; threads and
|
|
101
|
+
"reads; threads, runs and store items saved there won't appear: %s",
|
|
92
102
|
", ".join(dropped),
|
|
93
103
|
)
|
|
94
104
|
|
langgraph_api/logging.py
CHANGED
|
@@ -22,6 +22,8 @@ WARNING_ONLY_LOGGERS = (
|
|
|
22
22
|
"psycopg",
|
|
23
23
|
"mcp.server.streamable_http",
|
|
24
24
|
"mcp.server.streamable_http_manager",
|
|
25
|
+
# Logs every file write under the reload dirs, including core.sqlite.
|
|
26
|
+
"watchfiles.main",
|
|
25
27
|
)
|
|
26
28
|
for library_logger in WARNING_ONLY_LOGGERS:
|
|
27
29
|
logging.getLogger(library_logger).setLevel(logging.WARNING)
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langgraph-api
|
|
3
|
-
Version: 0.19.0.
|
|
3
|
+
Version: 0.19.0.dev10
|
|
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
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
8
|
Requires-Dist: anyio>=4.14.2
|
|
9
9
|
Requires-Dist: cloudpickle>=3.0.0
|
|
10
|
-
Requires-Dist: cryptography
|
|
10
|
+
Requires-Dist: cryptography<49,>=48.0.1; sys_platform == 'darwin' and platform_machine == 'x86_64'
|
|
11
|
+
Requires-Dist: cryptography>=50.0.0; sys_platform != 'darwin' or platform_machine != 'x86_64'
|
|
11
12
|
Requires-Dist: grpcio-health-checking<1.82.0,>=1.81.0
|
|
12
13
|
Requires-Dist: grpcio-tools==1.81.1
|
|
13
14
|
Requires-Dist: grpcio<1.86.0,>=1.85.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
langgraph_api/__init__.py,sha256=
|
|
1
|
+
langgraph_api/__init__.py,sha256=6XbL3YDnMUAq5GdesYP5KRa-PpJvhOxqSPwc4C3N2XY,29
|
|
2
2
|
langgraph_api/_factory_utils.py,sha256=_FqW0olMu2PGLsnRq0ylt3a4jDCe12YIFHExMXI6Nyo,5976
|
|
3
3
|
langgraph_api/asgi_transport.py,sha256=AgYRhiugMV1HeSVNJPOR3nwu3yWQFiXvOE1eTkYzQ90,12080
|
|
4
4
|
langgraph_api/asyncio.py,sha256=uC6et0GgUd3YHGMOw31bldbIvo0_8BTeiLLM74TZDlU,12742
|
|
@@ -8,7 +8,7 @@ langgraph_api/cli.py,sha256=pvTS_vIV1VbPqPeEjzU8Eojar1McyRjh7Es4eCBc7wI,23264
|
|
|
8
8
|
langgraph_api/command.py,sha256=Z0sBoBPTLz35AzZSfxY7gPvMzbme8PSuIV_7UbRjBlA,1339
|
|
9
9
|
langgraph_api/cron_scheduler.py,sha256=H1jPymC68A1MYyjfdApX4-hELiGBlJpGgSOsN8qhc-8,5595
|
|
10
10
|
langgraph_api/drain.py,sha256=MLUm3fDq3R8yxrZ-1W3TeCfhNzgNSzUA7TvB-D6K2_s,6108
|
|
11
|
-
langgraph_api/embedded_core.py,sha256=
|
|
11
|
+
langgraph_api/embedded_core.py,sha256=sFVoftTgYY2RB6F-Ci9XNxjkFlTOAgVczMFW2696YUw,4172
|
|
12
12
|
langgraph_api/errors.py,sha256=ANTug7F7tMg5s0y3HhqPSUqM9ekr99gWWM_jEaniiZQ,4794
|
|
13
13
|
langgraph_api/feature_flags.py,sha256=KFSuKjIZEbKEImHbWQPWaSxBNoKKXFGLUU7xTQPER6s,4440
|
|
14
14
|
langgraph_api/go_prometheus_metrics.py,sha256=J66iyk3TkIhxvhaePPyNldK2v63QWRyNIXlUtbVg4PY,1866
|
|
@@ -17,7 +17,7 @@ langgraph_api/http.py,sha256=7hPxKbj-xoAKcm7iucBpT5nM_hXOgGVCPbBsCD693Cw,6977
|
|
|
17
17
|
langgraph_api/http_metrics.py,sha256=etxbZNmYxdb58DVLNkHP7S-N6njXPTiQh2OWKMaIZi8,5336
|
|
18
18
|
langgraph_api/http_metrics_utils.py,sha256=sjxF7SYGTzY0Wz_G0dzatsYNnWr31S6ujej4JmBG2yo,866
|
|
19
19
|
langgraph_api/lifecycle.py,sha256=kYROfjW3LJ5x71LvW0PcGAxhreQpHNv5TgJf5CI-2EM,10396
|
|
20
|
-
langgraph_api/logging.py,sha256=
|
|
20
|
+
langgraph_api/logging.py,sha256=M60b42jKPjWIIlmx1pzUhNy5DBCu7VqoqlH8A2Gtnrc,7069
|
|
21
21
|
langgraph_api/metadata.py,sha256=_vKKiY4jvBN5QoIfiRrMCG7VGsgpzKFDEt1OoEl3-Mk,11754
|
|
22
22
|
langgraph_api/metrics_collector.py,sha256=ThLhU6asVZYFtWSaRiLzOBJr1YKi-ntjdOxQkbCKxcs,9681
|
|
23
23
|
langgraph_api/metrics_otlp.py,sha256=AXddju1CEQSwp-kLZNETGCLooXscxKFaxWSfv45M41g,32730
|
|
@@ -281,8 +281,8 @@ langgraph_grpc_common/proto/store_pb2.py,sha256=VWJ7wtzL9pVmZZKbxMzOzCoiFn58bB2g
|
|
|
281
281
|
langgraph_grpc_common/proto/store_pb2.pyi,sha256=atXejijuYEb9tE0stGQdZcfA9ucMFj-ytTMwvkxwviM,29322
|
|
282
282
|
langgraph_grpc_common/proto/store_pb2_grpc.py,sha256=Kyt8eV2NXkjh3be_BYytGdD19kNf74961cruonMvCrw,3300
|
|
283
283
|
langgraph_grpc_common/proto/store_pb2_grpc.pyi,sha256=oS1h2cDoq2OjyM8xazcmc8LwRDC5oCAD0zto2QUmPQw,2027
|
|
284
|
-
langgraph_api-0.19.0.
|
|
285
|
-
langgraph_api-0.19.0.
|
|
286
|
-
langgraph_api-0.19.0.
|
|
287
|
-
langgraph_api-0.19.0.
|
|
288
|
-
langgraph_api-0.19.0.
|
|
284
|
+
langgraph_api-0.19.0.dev10.dist-info/METADATA,sha256=GHYuDzQkM4oafYBArA4FvHGwCiL71BIcwDe5Ogus8J8,6309
|
|
285
|
+
langgraph_api-0.19.0.dev10.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
286
|
+
langgraph_api-0.19.0.dev10.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
|
|
287
|
+
langgraph_api-0.19.0.dev10.dist-info/licenses/LICENSE,sha256=SCVQGLQfwOllsRFa9-Z3m8IYu4pnR9Vh2oANUCJiKqI,3860
|
|
288
|
+
langgraph_api-0.19.0.dev10.dist-info/RECORD,,
|
|
File without changes
|
{langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{langgraph_api-0.19.0.dev9.dist-info → langgraph_api-0.19.0.dev10.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|