mobuchowski commented on code in PR #50234:
URL: https://github.com/apache/airflow/pull/50234#discussion_r2075665263


##########
providers/openlineage/tests/system/openlineage/transport/variable.py:
##########
@@ -22,6 +22,8 @@
 from openlineage.client.serde import Serde
 from openlineage.client.transport import Config, Transport, get_default_factory
 
+# We use `airflow.models.variable.Variable` instead of `airflow.sdk.Variable`, 
even for Airflow 3, as it also
+# works on scheduler. It may emit DeprecationWarning on workers, but it's 
needed for DAG events to be emitted.

Review Comment:
   Try/except maybe?



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