Skip to content

Commit

Permalink
FIX: Forgot to forward block
Browse files Browse the repository at this point in the history
  • Loading branch information
d-krupke committed Feb 25, 2024
1 parent b232a08 commit f0d06f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/slurminade/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def __call__(
self,
funcs: typing.Union[FunctionCall, typing.Iterable[FunctionCall]],
options: SlurmOptions,
block: bool = False,
) -> int:
"""
Dispatches a function call or a number of function calls.
Expand All @@ -103,7 +104,7 @@ def __call__(
funcs = [funcs]
funcs = list(funcs)
self._log_dispatch(funcs, options)
return self._dispatch(funcs, options)
return self._dispatch(funcs, options, block)

def is_sequential(self):
"""
Expand Down

0 comments on commit f0d06f1

Please sign in to comment.