taskiq
taskiq copied to clipboard
[schedule_by_cron] improve arguments management
Today if we call schedule_by_cron with our task arguments we can't use source or cron arguments names as they are already used by schedule_by_cron itself.
Maybe it would be cleaner to pass arguments with a variable name instead ? This will avoid collisions between args names.
task = await task_kicker.schedule_by_cron(
source=...,
cron=...,
args_dict={...})