michalsosn commented on code in PR #35017:
URL: https://github.com/apache/airflow/pull/35017#discussion_r1363840911
##########
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:
Yeah, that's a better location
--
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]