-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for TaskGroup in _PythonDecoratedOperator (#12312)
Crucial feature of functions decorated by @task is to be able to invoke them multiple times in single DAG. To do this we are generating custom task_id for each invocation. However, this didn't work with TaskGroup as the task_id is already altered by adding group_id prefix. This PR fixes it. closes: #12309 Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters