Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Oct 24, 2022
1 parent 1741452 commit d95cca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/bentoml/serve.py
Expand Up @@ -672,6 +672,7 @@ def serve_grpc_production(
reflection: bool = Provide[BentoMLContainer.grpc.reflection.enabled],
) -> None:
from circus.sockets import CircusSocket

from bentoml import load
from bentoml.exceptions import UnprocessableEntity

Expand Down
3 changes: 2 additions & 1 deletion src/bentoml/start.py
Expand Up @@ -35,10 +35,11 @@ def start_runner_server(
"""
Experimental API for serving a BentoML runner.
"""
from bentoml import load
from circus.sockets import CircusSocket
from circus.watcher import Watcher

from bentoml import load

from .serve import ensure_prometheus_dir
from ._internal.utils import reserve_free_port
from ._internal.utils.circus import create_standalone_arbiter
Expand Down

0 comments on commit d95cca4

Please sign in to comment.