JDarDagran commented on code in PR #33959:
URL: https://github.com/apache/airflow/pull/33959#discussion_r1314709782


##########
airflow/providers/openlineage/plugins/openlineage.py:
##########
@@ -46,7 +47,5 @@ class OpenLineageProviderPlugin(AirflowPlugin):
 
     name = "OpenLineageProviderPlugin"
     if not _is_disabled():
-        from airflow.providers.openlineage.plugins.listener import 
OpenLineageListener
-
         macros = [lineage_run_id, lineage_parent_id]
-        listeners = [OpenLineageListener()]
+        listeners = [get_openlineage_listener()]

Review Comment:
   Already answered to related question. The change is to be able to get same 
instance of OpenLineageListener.



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