surabathini commented on code in PR #28097:
URL: https://github.com/apache/airflow/pull/28097#discussion_r1039355812
##########
airflow/sensors/external_task.py:
##########
@@ -199,18 +199,17 @@ def poke(self, context, session=None):
dttm_filter = self._get_dttm_filter(context)
serialized_dttm_filter = ",".join(dt.isoformat() for dt in dttm_filter)
- if self.external_task_ids:
+ if self.external_task_group_id:
self.log.info(
- "Poking for tasks %s in dag %s on %s ... ",
- self.external_task_ids,
+ "Poking for task_group '%s' in dag '%s' on %s ... ",
+ self.external_task_group_id,
self.external_dag_id,
serialized_dttm_filter,
)
-
- if self.external_task_group_id:
+ else:
self.log.info(
- "Poking for task_group '%s' in dag '%s' on %s ... ",
- self.external_task_group_id,
+ "Poking for tasks %s in dag %s on %s ... ",
Review Comment:
Thanks for the review, will work on the changes.
--
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]