passing args to process

This commit is contained in:
Pablo Martin 2024-06-11 13:46:17 +02:00
parent 90756d4f80
commit ff6826a816
2 changed files with 15 additions and 3 deletions

View file

@ -74,11 +74,13 @@ def get_rates(
dry_run: bool,
output: pathlib.Path,
):
inputs = handle_get_rates_inputs(
get_rates_inputs = handle_get_rates_inputs(
start_date=start_date,
end_date=end_date,
currencies=currencies,
dry_run=dry_run,
output=output,
)
run_get_rates()
logger.info("Starting get-rates process.")
run_get_rates(**get_rates_inputs)
logger.info("Finished get-rates process.")