This is an automated email from the ASF dual-hosted git repository.

mobuchowski pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c81be6f78c Fix macros jinja template example (#36222)
c81be6f78c is described below

commit c81be6f78cc1a866170c98e3bc5f0c26d0fa7c02
Author: Honza Stepanovsky <m...@janstepanovsky.cz>
AuthorDate: Tue Jan 30 10:21:59 2024 +0100

    Fix macros jinja template example (#36222)
    
    * Fix macros jinja template example
    
    * Fix args as well
---
 docs/apache-airflow-providers-openlineage/macros.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/apache-airflow-providers-openlineage/macros.rst 
b/docs/apache-airflow-providers-openlineage/macros.rst
index 0aed55feb9..b71842a575 100644
--- a/docs/apache-airflow-providers-openlineage/macros.rst
+++ b/docs/apache-airflow-providers-openlineage/macros.rst
@@ -29,7 +29,7 @@ Lineage run id
         PythonOperator(
             task_id="render_template",
             python_callable=my_task_function,
-            op_args=["{{ lineage_run_id(task, task_instance) }}"],  # 
lineage_run_id macro invoked
+            op_args=["{{ 
macros.OpenLineageProviderPlugin.lineage_run_id(task_instance) }}"],  # 
lineage_run_id macro invoked
             provide_context=False,
             dag=dag,
         )
@@ -41,7 +41,7 @@ Lineage parent id
         PythonOperator(
             task_id="render_template",
             python_callable=my_task_function,
-            op_args=["{{ lineage_parent_id(run_id, task_instance) }}"],  # 
macro invoked
+            op_args=["{{ 
macros.OpenLineageProviderPlugin.lineage_parent_id(run_id, task_instance) }}"], 
 # macro invoked
             provide_context=False,
             dag=dag,
         )

Reply via email to