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 674ea5dd9e fix static checks for openlineage provider (#37092) 674ea5dd9e is described below commit 674ea5dd9e6704203a98b4031c0dd5f248ca0407 Author: Vadim Vladimirov <47372390+impressionableracc...@users.noreply.github.com> AuthorDate: Tue Jan 30 15:19:49 2024 +0300 fix static checks for openlineage provider (#37092) related to this PR: https://github.com/apache/airflow/pull/36222 --- docs/apache-airflow-providers-openlineage/macros.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/apache-airflow-providers-openlineage/macros.rst b/docs/apache-airflow-providers-openlineage/macros.rst index b71842a575..3526ee1d37 100644 --- a/docs/apache-airflow-providers-openlineage/macros.rst +++ b/docs/apache-airflow-providers-openlineage/macros.rst @@ -29,7 +29,9 @@ Lineage run id PythonOperator( task_id="render_template", python_callable=my_task_function, - op_args=["{{ macros.OpenLineageProviderPlugin.lineage_run_id(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 +43,9 @@ Lineage parent id PythonOperator( task_id="render_template", python_callable=my_task_function, - op_args=["{{ macros.OpenLineageProviderPlugin.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, )