-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for multiple task-ids in the external task sensor #17339
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
0646a5d
to
8974753
Compare
@potiuk can you please help assign reviewers for the PR |
8974753
to
185bd74
Compare
airflow/sensors/external_task.py
Outdated
@@ -149,7 +167,10 @@ def poke(self, context, session=None): | |||
serialized_dttm_filter = ','.join(dt.isoformat() for dt in dttm_filter) | |||
|
|||
self.log.info( | |||
'Poking for %s.%s on %s ... ', self.external_dag_id, self.external_task_id, serialized_dttm_filter | |||
'Poking for %s.%s on %s ... ', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I think this will look rather weird when there is one task (Poking for dag.[task1] on "filter"). Maybe "Poking for tasks: ['task1' ,'task2'] in dag: dag".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup makes sense, Have modified the logging statement and added a test case to validate the same.
185bd74
to
986d536
Compare
@potiuk Have made the recommended changes, Can you take another pass at it ? |
a6c2690
to
029c5b1
Compare
Awesome work, congrats on your first merged pull request! |
Sorry it took so long. |
Adding support for multiple task-ids in the external task sensor
closes: #16705