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

Closed
wants to merge 15 commits into from

Conversation

Baraldo
Copy link
Contributor

@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.

@pankajastro pankajastro mentioned this pull request Jul 18, 2024
5 tasks
@pankajastro
Copy link
Contributor

Hey @Baraldo, Thank you for the PR. Could you please rebase and fix the merge conflict?

@pankajastro
Copy link
Contributor

closing this favour of #235

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.

3 participants