-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
kind:bugThis is a clearly a bugThis is a clearly a bug
Description
Apache Airflow version: 1.10.15
Environment: GCP composer - image: composer-1.16.0-airflow-1.10.15
What happened:
When trying to import the SalesforceToGcsOperator in a DAG:
from airflow.providers.google.cloud.transfers.salesforce_to_gcs import SalesforceToGcsOperator
A Broken DAG error is reported by the composer:No module names 'airflow.providers.salesforce'
What you expected to happen:
SalesforceToGcsOperator being available.
What do you think went wrong?:
apache-airflow-backport-providers-salesforce package not being listed as required by apache-airflow-backport-providers-google
How to reproduce it:
- Import
SalesforceToGcsOperator:
from airflow.providers.google.cloud.transfers.salesforce_to_gcs import SalesforceToGcsOperator
- Try using it.
- Get an error.
- Install apache-airflow-backport-providers-salesforce(2021.3.3).
- Try again.
Anything else we need to know:
The line importing the missing package:
| from airflow.providers.salesforce.hooks.salesforce import SalesforceHook |
EDIT: corrected the composer image's version
wsmolak and devorin
Metadata
Metadata
Assignees
Labels
kind:bugThis is a clearly a bugThis is a clearly a bug