mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
fix(mypy): suppress uvicorn.run dict unpacking type errors in run.py
This commit is contained in:
parent
2ff3ae3fc7
commit
fc847318e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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...")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue