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

Abstract task group children serialization #1480

Merged

Conversation

uranusjr
Copy link
Member

This introduces a new function serialize_for_task_group to DAGNode, which should implement serialization logic when a DAGNode is put into a task group. Since all nodes belonging to a DAG are either the root group, or always in a parent task group, this guarantees a DAG's all nodes can be correctly serialized.

This introduces a new function 'serialize_for_task_group' to DAGNode,
which should implement serialization logic when a DAGNode is put into a
task group. Since all nodes belonging to a DAG are either the root
group, or always in a parent task group, this guarantees a DAG's all
nodes can be correctly serialized.
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@uranusjr uranusjr merged commit a62769f into mypy-for-non-providers Jan 11, 2022
@uranusjr uranusjr deleted the abstract-task-group-child-serialization branch January 11, 2022 11:36
@uranusjr
Copy link
Member Author

Merged directly to apache#20795

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