Skip to content

Speed up calculation of leaves and roots for task groups#32592

Merged
dstandish merged 3 commits into
apache:mainfrom
astronomer:speed-up-get-leaves-roots-task-group
Jul 14, 2023
Merged

Speed up calculation of leaves and roots for task groups#32592
dstandish merged 3 commits into
apache:mainfrom
astronomer:speed-up-get-leaves-roots-task-group

Conversation

@dstandish

Copy link
Copy Markdown
Contributor

Previously, every call to has_task would iterate the group.

Previously, every call to has_task would iterate the group.
@dstandish
dstandish requested a review from uranusjr July 14, 2023 05:19
Comment thread airflow/utils/task_group.py Outdated
@dstandish

Copy link
Copy Markdown
Contributor Author

will have to make sure this actually works tomorrow!

@dstandish
dstandish merged commit fad297c into apache:main Jul 14, 2023
@dstandish
dstandish deleted the speed-up-get-leaves-roots-task-group branch July 14, 2023 17:50
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Aug 2, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants