Skip to content

Commit

Permalink
Unpack kwargs when awaiting runs in BaselineAlgorithm and RemoteAlgor…
Browse files Browse the repository at this point in the history
…ithm (#134)
  • Loading branch information
JanusAsmussen authored Jan 27, 2025
1 parent e57a82d commit 01b578c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ async def _measured_run(**run_args):

return await partial(
_measured_run,
**kwargs,
**self._inputs,
metric_tags=self._metric_tags,
metrics_provider=self._metrics_provider,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ async def _measured_run(**run_args) -> AlgorithmResult:

return await partial(
_measured_run,
**kwargs,
**results,
metric_tags=self._metric_tags,
metrics_provider=self._metrics_provider,
Expand Down

0 comments on commit 01b578c

Please sign in to comment.