Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 11, 2025
1 parent dae6f5c commit ea61b10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/litserve/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from concurrent.futures import ThreadPoolExecutor
from contextlib import asynccontextmanager
from multiprocessing.context import Process
from queue import Empty
from threading import Thread
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union

Expand Down Expand Up @@ -249,7 +248,7 @@ def __init__(
self._connector = _Connector(accelerator=accelerator, devices=devices)
self._callback_runner = CallbackRunner(callbacks)
self.use_zmq = fast_queue
self._uvicorn_servers:List[uvicorn.Server] = []
self._uvicorn_servers: List[uvicorn.Server] = []

specs = spec if spec is not None else []
self._specs = specs if isinstance(specs, Sequence) else [specs]
Expand Down

0 comments on commit ea61b10

Please sign in to comment.