KamranImaaz commented on PR #60380: URL: https://github.com/apache/airflow/pull/60380#issuecomment-3740185132
> @KamranImaaz can we leave the conditional imports? OpenLineage isn't a required provider; the operator should work even if it's not installed. @mobuchowski I think that if we keep the conditional imports(as they were before inside the method) and openlineage is still not installed then get_openlineage_facets_on_complete() calling this would raise an error right. Just to make sure that Operator continues to work when Openlineage is not installed. So I am planning to implement try/except inside every method so that it returns None when it fails. Pls let me know if it aligns with your expectations. -- 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]
