potiuk opened a new issue #16035:
URL: https://github.com/apache/airflow/issues/16035


   The GCSToLocalFilesystemOperator in Google Provider <=3.0.0  had wrong 
import for apply_defaults. It used
   
   ```
   from airflow.sensors.base_sensor_operator import apply_defaults
   ```
   
   instead of 
   
   ```
   from airflow.utils.decorators import apply_defaults
   ```
   
   When we removed `apply_defaults` in #15667, the base_sensor_operator import 
was removed as well which made the GCSToLocalFilestystemOperator stops working 
in 2.1.0
   
   The import in base_sensor_operator will be restored in 2.1.1  and Google 
Provider 4.0.0 will work without problems after it is released. Workaround for 
2.1.0 Airflow is to copy the code of the operator to DAG and use it temporarily 
until new versions are released. 


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to