michalsosn commented on code in PR #35017:
URL: https://github.com/apache/airflow/pull/35017#discussion_r1390545309


##########
airflow/template/templater.py:
##########
@@ -155,6 +167,8 @@ def render_template(
             return self._render(template, context)
         if isinstance(value, ResolveMixin):
             return value.resolve(context)
+        if isinstance(value, LiteralValue):
+            return value.value

Review Comment:
   I've come across this mixin, but the `iter_references` method appeared to be 
intended for a different use case. However, since `LiteralValue`, by 
definition, should have no references, I can implement it sensibly nonetheless.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to