josh-fell commented on a change in pull request #20044:
URL: https://github.com/apache/airflow/pull/20044#discussion_r789318513
##########
File path: airflow/operators/python.py
##########
@@ -252,13 +268,21 @@ def execute(self, context: Context) -> Any:
self.log.info('Proceeding with downstream tasks...')
return condition
- self.log.info('Skipping downstream tasks...')
-
- downstream_tasks = context["task"].get_flat_relatives(upstream=False)
- self.log.debug("Downstream task_ids %s", downstream_tasks)
+ downstream_tasks = context['task'].get_flat_relatives(upstream=False)
+ self.log.debug("Downstream tasks %s", downstream_tasks)
Review comment:
I was thinking that most users refer to tasks by their `task_id` (and a
little that `task_ids` isn't _actually_ an attribute). Maybe a happy medium of
`self.log.debug("Downstream task IDs %s", downstream_tasks)` works?
--
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]