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: [email protected]
