uranusjr commented on issue #40196:
URL: https://github.com/apache/airflow/issues/40196#issuecomment-2264418319
This is because you return the task from the group function. WHen you do
that, dependencies to the group is connected to the task you return. If you
want to connect to the group itself instead, simply don’t return the task:
```python
@task_group()
def choice_a() -> int:
value = get_a_value()
operation_on_value(value)
```
However, I do observe another bug. When you do this, we don’t connect the
task to the group’s downstream:
<img width="1001" alt="con"
src="https://github.com/user-attachments/assets/c1777c10-42de-4b88-9111-f754c6e954ac">
cc @bbovenzi
--
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]