Skip to content

Commit

Permalink
fix(runner): remote run_method with kwargs (#3326)
Browse files Browse the repository at this point in the history
  • Loading branch information
larme committed Dec 8, 2022
1 parent 7a8ee5f commit e498178
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bentoml/_internal/runner/runner_handle/remote.py
Expand Up @@ -243,10 +243,9 @@ def run_method(
return t.cast(
"R",
anyio.from_thread.run(
self.async_run_method,
functools.partial(self.async_run_method, **kwargs),
__bentoml_method,
*args,
**kwargs,
),
)

Expand Down

0 comments on commit e498178

Please sign in to comment.