You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/04 17:19:16 UTC

[GitHub] [airflow] ManiBharataraju edited a comment on issue #12577: Use only single execution date in ExternalTaskSensor

ManiBharataraju edited a comment on issue #12577:
URL: https://github.com/apache/airflow/issues/12577#issuecomment-738902210


   @turbaszek - I was thinking it will be a good option to allow the option to pass user-defined arguments as a dict to execution_date_fn. Right now it allows only 2 arguments, one being the date and the second being the context. This will be helpful if someone needs to pass additional arguments
   example: If we want to change the hour of the execution date based on the user arguments instead of creating different functions in the case where multiple hours of the same date need to be checked given the fact that the function cannot return a list now. We can pass the hour as an argument and manipulate the date with a common logic in the function. What do you think?


----------------------------------------------------------------
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:
users@infra.apache.org