kaxil commented on a change in pull request #6788: WIP: [AIRFLOW-5944]
Rendering templated_fields without accessing DAG files
URL: https://github.com/apache/airflow/pull/6788#discussion_r386480519
##########
File path: airflow/utils/operator_helpers.py
##########
@@ -84,3 +85,24 @@ def context_to_airflow_vars(context,
in_env_var_format=False):
params[AIRFLOW_VAR_NAME_FORMAT_MAPPING['AIRFLOW_CONTEXT_DAG_RUN_ID'][
name_format]] = dag_run.run_id
return params
+
+
+def serialize_template_field(template_field):
Review comment:
Moved
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services