potiuk commented on a change in pull request #9968:
URL: https://github.com/apache/airflow/pull/9968#discussion_r460195841
##########
File path: airflow/sensors/external_task_sensor.py
##########
@@ -88,18 +88,16 @@ def __init__(self,
"`{}` and failed states `{}`"
.format(self.allowed_states,
self.failed_states))
- if external_task_id:
- if not total_states <= set(State.task_states):
+ if not total_states <= set(State.task_states):
Review comment:
```suggestion
if total_states > set(State.task_states):
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]