You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/25 07:01:48 UTC

[GitHub] [airflow] potiuk opened a new issue #16035: GCSToLocalFilesystemOperator from Google providers pre 4.0.0 fails to import in airflow 2.1.0

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:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #16035: GCSToLocalFilesystemOperator from Google providers pre 4.0.0 fails to import in airflow 2.1.0

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #16035:
URL: https://github.com/apache/airflow/issues/16035


   


-- 
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:
users@infra.apache.org