amoghrajesh commented on code in PR #53929:
URL: https://github.com/apache/airflow/pull/53929#discussion_r2253344770
##########
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 handled it better now, @potiuk do you think this way of compat is fine for
partial modules?
--
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]