-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Labels
affected_version:3.0Issues Reported for 3.0Issues Reported for 3.0area:TaskGrouparea:corearea:dynamic-task-mappingAIP-42AIP-42kind:bugThis is a clearly a bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new releaseHigh priority bug that should be patched quickly but does not require immediate new release
Milestone
Description
Apache Airflow version
3.0.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
The following dag fails.
from __future__ import annotations
from airflow.sdk import dag, task, task_group
@dag
def dag1():
@task
def task1():
return [1, 2, 3, 4, 5]
@task_group
def task_group_1(arg1):
@task
def group1_task_1(arg1):
return {"a": arg1}
@task
def group1_task_2(arg2):
return arg2
group1_task_2(group1_task_1(arg1))
@task
def task2():
return None
task_group_1.expand(arg1=task1()) >> task2()
dag1()What you think should happen instead?
It should not fail.
How to reproduce
Run the above dag.
Operating System
macOS
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
breeze
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
affected_version:3.0Issues Reported for 3.0Issues Reported for 3.0area:TaskGrouparea:corearea:dynamic-task-mappingAIP-42AIP-42kind:bugThis is a clearly a bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new releaseHigh priority bug that should be patched quickly but does not require immediate new release