gopidesupavan commented on PR #42971:
URL: https://github.com/apache/airflow/pull/42971#issuecomment-2409102179

   > In this specific case does the compat import need to be shared between 
core and provider tests?
   > 
   > I.e. yes dev/tests_common is the wrong place, but I'm not sure if we need 
import compat in the tests code do we? What is stopping us updating all the 
imports in tests? @gopidesupavan
   
   Yeah currently its the pattern i see in the providers tests/ other places. 
adding imports in compat and using if any compatibility requires. 
   
   At present i have workaround like this where ever i need to import doing 
this. 
   
   `
   try:
       from airflow.providers.standard.operators.python import PythonOperator
   except ImportError:
       from airflow.operators.python import PythonOperator
   `
   
   This pr update not super important,  as have workaround to proceed python 
operator
   


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