uranusjr commented on PR #29842: URL: https://github.com/apache/airflow/pull/29842#issuecomment-1471184980
There’s precedence of using `inspect` to check whether a function has a specific argument, and only pass extra values if it is present. We can implement that here so `template_fields` is only passed if the callable defines it as a kwarg. -- 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]
