Taragolis commented on code in PR #35017:
URL: https://github.com/apache/airflow/pull/35017#discussion_r1363820365
##########
airflow/template/templater.py:
##########
@@ -167,6 +179,8 @@ def render_template(
return {k: self.render_template(v, context, jinja_env, oids) for
k, v in value.items()}
elif isinstance(value, set):
return {self.render_template(element, context, jinja_env, oids)
for element in value}
+ elif isinstance(value, LiteralValue):
+ return value.value
Review Comment:
I think it is not a good place for this condition because this section
marked as `# Fast path for common built-in collections.`
Maybe better move it right after `ResolveMixin`
--
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]