heroku / salesforce-bulk

Python interface to the Salesforce.com Bulk API
MIT License
207 stars 154 forks source link

Added the possibility to map data fields when uploading #55

Closed snorf closed 7 years ago

snorf commented 7 years ago

As described here: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_mapping.htm

I added a method for uploading the CSV file after the job has been created, also added a test which is basically a duplicate of the other upload test but it uses a mapping file.

lambacck commented 7 years ago

This looks fine to me but I want to have a quick review of the docs on this particular feature before I merge it.

lambacck commented 7 years ago

Looks good to me. Thanks for the contribution.

snorf commented 7 years ago

You're welcome! This project is great, we use it to upload data from Amazon S3 to Salesforce using Lambda functions. Keep up the good work!