Lee-W opened a new issue, #50637:
URL: https://github.com/apache/airflow/issues/50637
### Apache Airflow version
3.0.1
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
The following dag fails.
```python
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?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]