Skip to content

Commit 27e3f0e

Browse files
author
luoshasha
committed
fix: add host to cli error info.
1 parent b2b0cb0 commit 27e3f0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mcp_run_python/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def prepare_deno_env(
8585
http_port: int | None = None,
8686
http_host: str | None = None,
8787
dependencies: list[str] | None = None,
88-
return_mode: Literal["json", "xml"] = "xml",
88+
return_mode: Literal['json', 'xml'] = 'xml',
8989
deps_log_handler: LogHandler | None = None,
9090
allow_networking: bool = True,
9191
) -> Iterator[DenoEnv]:
@@ -151,7 +151,7 @@ async def async_prepare_deno_env(
151151
http_port: int | None = None,
152152
http_host: str | None = None,
153153
dependencies: list[str] | None = None,
154-
return_mode: Literal["json", "xml"] = "xml",
154+
return_mode: Literal['json', 'xml'] = 'xml',
155155
deps_log_handler: LogHandler | None = None,
156156
allow_networking: bool = True,
157157
) -> AsyncIterator[DenoEnv]:
@@ -193,7 +193,7 @@ def _deno_run_args(
193193
http_port: int | None = None,
194194
http_host: str | None = None,
195195
dependencies: list[str] | None = None,
196-
return_mode: Literal["json", "xml"] = "xml",
196+
return_mode: Literal['json', 'xml'] = 'xml',
197197
allow_networking: bool = True,
198198
) -> list[str]:
199199
args = ["run"]

0 commit comments

Comments
 (0)