shahar1 commented on issue #43883: URL: https://github.com/apache/airflow/issues/43883#issuecomment-2525311211
I've managed to reproduce the issue using the code snippets that you provided. The root cause of this issue is that short circuit isn't currently suitable for working with task-generated mapping - when the short circuit operator runs in that case, downstream tasks have not been expanded yet - so it just returns `No downstream tasks; nothing to do.` and moves on as nothing happend: https://github.com/apache/airflow/blob/b5f033a933d6bba2433a50a62b389b6546123ac4/airflow/operators/python.py#L315 In the second example that you provided, downstream are known before hand - so it works normally. I'll try to work on a fix. -- 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]
