Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast callbacks to functions when set with default_args on task groups #174

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Baraldo
Copy link

@Baraldo Baraldo commented Sep 20, 2023

Hello!

When used in the task group's default_args, callbacks are passed as strings to the tasks, which ends up generating failures.

The idea is to perform the same parse used in make_task (it is necessary to check whether the default_args attribute is defined, since it is optional and defaults to None) and perhaps in the future modularize this conversion functionality in order to cover the widespread use of default_args.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant