Skip to content

[schedule_by_cron] improve arguments management #500

@gael-soude

Description

@gael-soude

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={...})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions