amoghrajesh commented on code in PR #53929:
URL: https://github.com/apache/airflow/pull/53929#discussion_r2242621642


##########
airflow-core/src/airflow/utils/helpers.py:
##########
@@ -244,11 +244,6 @@ def render_template_to_string(template: jinja2.Template, 
context: Context) -> st
     return render_template(template, cast("MutableMapping[str, Any]", 
context), native=False)
 
 
-def render_template_as_native(template: jinja2.Template, context: Context) -> 
Any:
-    """Shorthand to ``render_template(native=True)`` with better typing 
support."""
-    return render_template(template, cast("MutableMapping[str, Any]", 
context), native=True)

Review Comment:
   I would not expect users to use this, but cannot stop them from using it 
either, does it make sense to add deprecation for this?



-- 
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]

Reply via email to