alexbegg commented on issue #16921: URL: https://github.com/apache/airflow/issues/16921#issuecomment-964831154
I just want to share that it is fairly simple to use a SalesforceHook for a SalesforceBulk connection, I am doing it at my company (you just have to `pip install salesforce-bulk`: https://github.com/heroku/salesforce-bulk): ``` from airflow.providers.salesforce.hooks.salesforce import SalesforceHook from salesforce_bulk import SalesforceBulk ... sf_hook = SalesforceHook() sf_conn = sf_hook.get_conn() bulk = SalesforceBulk(sessionId=sf_conn.session_id, host=sf_conn.sf_instance) ``` So it should be fairly simple to make this into a `SalesforceBulkHook` (I think "Api" in the name is a bit unnecessary since we aren't calling the existing hook SalesforceApiHook). -- 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]
