Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/s/a/salesforce-bulk-1.0.5/salesforce_bulk/__init__.py   salesforce-bulk(Download)
from salesforce_bulk import SalesforceBulk
from csv_adapter import CsvDictsAdapter
 
__version__ = '1.0.5'
 

src/s/a/salesforce-bulk-1.0.5/test_salesforce_bulk.py   salesforce-bulk(Download)
import salesforce_oauth_request
 
from salesforce_bulk import SalesforceBulk
 
class SalesforceBulkTest(unittest.TestCase):
    def test_raw_query(self):
        bulk = SalesforceBulk(self.sessionId, self.endpoint)
        self.bulk = bulk
 
        job_id = bulk.create_query_job("Contact")
    def test_csv_query(self):
        bulk = SalesforceBulk(self.sessionId, self.endpoint)
        self.bulk = bulk
 
        job_id = bulk.create_query_job("Account")
    def test_csv_upload(self):
        bulk = SalesforceBulk(self.sessionId, self.endpoint)
        self.bulk = bulk
 
        job_id = bulk.create_insert_job("Contact")