Fix linter issues: specify exception type and use type parameters

This commit is contained in:
Ashwin Bharambe 2025-10-05 18:13:09 -07:00
parent 2d87a055e1
commit 6be4cf7d18
7 changed files with 18 additions and 54 deletions

View file

@ -83,9 +83,7 @@ async def get_auto_router_impl(
# TODO: move pass configs to routers instead
if api == Api.inference:
sql_config, max_queue, num_writers = resolve_inference_store_config(
run_config.persistence
)
sql_config, max_queue, num_writers = resolve_inference_store_config(run_config.persistence)
inference_store_config = InferenceStoreConfig(
sql_store_config=sql_config,
max_write_queue_size=max_queue,