From 9347e49414cc5a97f466c20ad0ed2f561a1c8a06 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Mon, 27 Oct 2025 23:37:11 -0700 Subject: [PATCH] fix(mypy): suppress uvicorn.run dict unpacking type errors in run.py --- src/llama_stack/cli/stack/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llama_stack/cli/stack/run.py b/src/llama_stack/cli/stack/run.py index 728d06ca6..2882500ce 100644 --- a/src/llama_stack/cli/stack/run.py +++ b/src/llama_stack/cli/stack/run.py @@ -168,7 +168,7 @@ class StackRun(Subcommand): # Another approach would be to ignore SIGINT entirely - let uvicorn handle it through its own # signal handling but this is quite intrusive and not worth the effort. try: - uvicorn.run("llama_stack.core.server.server:create_app", **uvicorn_config) + uvicorn.run("llama_stack.core.server.server:create_app", **uvicorn_config) # type: ignore[arg-type] except (KeyboardInterrupt, SystemExit): logger.info("Received interrupt signal, shutting down gracefully...")