raphaelauv commented on code in PR #37028:
URL: https://github.com/apache/airflow/pull/37028#discussion_r1625559965
##########
airflow/models/abstractoperator.py:
##########
@@ -730,12 +740,15 @@ def _do_render_template_fields(
pass
try:
- rendered_content = self.render_template(
- value,
- context,
- jinja_env,
- seen_oids,
- )
+ if callable(value):
+ rendered_content = value(render_fn)
Review Comment:
I'm not sure if my last commit 'review 4' is doing what you proposed ,
otherwise could you commit directly on the branch your idea pls , thanks
--
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]