Run the calls specified in the runner
Source code in hyfi/runner/base.py
| def run_calls(self):
"""
Run the calls specified in the runner
"""
calls = self.get_running_calls()
if self.verbose:
logger.info("Running %s call(s)", len(calls))
# Run all calls in the runner
with elapsed_timer(format_time=True) as elapsed:
for rc in calls:
logger.info("Running call [%s] with [%s]", rc.uses, rc.run_kwargs)
self.run_call(rc)
if self.verbose:
logger.info(
" >> elapsed time for the runner with %s calls: %s",
len(self.calls or []),
elapsed(),
)
|