Skip to content

Commit

Permalink
address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sauyon committed Oct 28, 2022
1 parent 8d475aa commit 8fdf5cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bentoml/client.py
Expand Up @@ -34,6 +34,9 @@ def __init__(self, svc: Service, server_url: str):
setattr(
self, name, functools.partial(self._sync_call, _bentoml_api=api)
)

for name, api in self._svc.apis.items():
if not hasattr(self, f"async_{name}"):
setattr(
self,
f"async_{name}",
Expand Down

0 comments on commit 8fdf5cc

Please sign in to comment.