Module Import alias Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad While UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Print Str Print Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults kwarg body Print Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Print NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list Assign NameStore BinOpDiv Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad Call NameLoad Str attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call NameLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list Assign NameStore BinOpDiv Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad
N/A N/A re N/A unittest N/A salesforce_oauth_request salesforce_bulk SalesforceBulk SalesforceBulkTest N/A N/A unittest TestCase N/A __init__ N/A N/A self testName endpoint sessionId N/A N/A N/A N/A N/A N/A super SalesforceBulkTest self __init__ testName N/A N/A self endpoint endpoint N/A N/A self sessionId sessionId N/A setUp N/A N/A self N/A N/A N/A N/A self jobs N/A N/A tearDown N/A N/A self N/A N/A N/A N/A hasattr self bulk N/A N/A job_id N/A self jobs N/A N/A N/A Closing job: %s job_id N/A N/A N/A N/A self bulk close_job job_id N/A test_raw_query N/A N/A self N/A N/A N/A bulk N/A SalesforceBulk N/A self sessionId N/A self endpoint N/A N/A self bulk bulk N/A job_id N/A N/A bulk create_query_job Contact N/A N/A N/A N/A self jobs append job_id N/A N/A N/A self assertIsNotNone N/A N/A re match \w+ job_id N/A batch_id N/A N/A bulk query job_id Select Id,Name,Email from Contact Limit 1000 N/A N/A N/A self assertIsNotNone N/A N/A re match \w+ batch_id N/A N/A N/A N/A bulk is_batch_done job_id batch_id N/A N/A Job not done yet... N/A N/A N/A bulk batch_status job_id batch_id N/A N/A N/A time sleep 2 N/A N/A self results save_results N/A N/A tfile N/A kwargs N/A N/A in save results N/A N/A self results N/A N/A tfile read N/A N/A flag N/A N/A bulk get_batch_results job_id batch_id callback save_results N/A N/A N/A self assertTrue flag N/A N/A N/A self assertTrue N/A N/A len N/A self results 0 N/A N/A N/A self assertIn " N/A self results N/A test_csv_query N/A N/A self N/A N/A N/A bulk N/A SalesforceBulk N/A self sessionId N/A self endpoint N/A N/A self bulk bulk N/A job_id N/A N/A bulk create_query_job Account N/A N/A N/A N/A self jobs append job_id N/A N/A N/A self assertIsNotNone N/A N/A re match \w+ job_id N/A batch_id N/A N/A bulk query job_id Select Id,Name,Description from Account Limit 10000 N/A N/A N/A self assertIsNotNone N/A N/A re match \w+ batch_id N/A N/A N/A bulk wait_for_batch job_id batch_id timeout 120 N/A N/A self results None save_results1 N/A N/A rows N/A kwargs N/A N/A N/A self results rows N/A N/A flag N/A N/A bulk get_batch_results job_id batch_id callback save_results1 parse_csv True N/A N/A N/A self assertTrue flag N/A results N/A self results N/A N/A N/A self assertTrue N/A N/A len results 0 N/A N/A N/A self assertTrue N/A isinstance results list N/A N/A N/A self assertEqual N/A results N/A 0 N/A Id Name Description N/A N/A N/A self assertTrue N/A N/A len results 3 N/A N/A self results None N/A N/A self callback_count 0 save_results2 N/A N/A rows N/A kwargs N/A N/A N/A self results rows N/A rows N/A N/A self callback_count 1 N/A N/A batch N/A N/A len results 3 N/A N/A self callback_count 0 N/A flag N/A N/A bulk get_batch_results job_id batch_id callback save_results2 parse_csv True batch_size batch N/A N/A N/A self assertTrue N/A N/A self callback_count 3 N/A test_csv_upload N/A N/A self N/A N/A N/A bulk N/A SalesforceBulk N/A self sessionId N/A self endpoint N/A N/A self bulk bulk N/A job_id N/A N/A bulk create_insert_job Contact N/A N/A N/A N/A self jobs append job_id N/A N/A N/A self assertIsNotNone N/A N/A re match \w+ job_id N/A batch_ids N/A N/A content N/A N/A N/A open example.csv read N/A i N/A range 5 N/A N/A batch_id N/A N/A bulk query job_id content N/A N/A N/A self assertIsNotNone N/A N/A re match \w+ batch_id N/A N/A N/A batch_ids append batch_id N/A batch_id batch_ids N/A N/A N/A N/A bulk wait_for_batch job_id batch_id timeout 120 N/A N/A self results None save_results1 N/A N/A rows failed remaining N/A N/A N/A N/A self results rows N/A N/A batch_id batch_ids N/A N/A flag N/A N/A bulk get_upload_results job_id batch_id callback save_results1 N/A N/A N/A self assertTrue flag N/A results N/A self results N/A N/A N/A self assertTrue N/A N/A len results 0 N/A N/A N/A self assertTrue N/A isinstance results list N/A N/A N/A self assertEqual N/A results N/A 0 N/A UploadResult Id Success Created Error N/A N/A N/A self assertEqual N/A len results 3 N/A N/A self results None N/A N/A self callback_count 0 save_results2 N/A N/A rows failed remaining N/A N/A N/A N/A self results rows N/A N/A self callback_count 1 N/A N/A batch N/A N/A len results 3 N/A N/A self callback_count 0 N/A flag N/A N/A bulk get_upload_results job_id batch_id callback save_results2 batch_size batch N/A N/A N/A self assertTrue N/A N/A self callback_count 3 N/A N/A N/A N/A __name__ __main__ N/A N/A username N/A raw_input Salesforce username:  N/A password N/A raw_input Salesforce password:  N/A login N/A N/A salesforce_oauth_request login username username password password cache_session True N/A endpoint N/A login N/A endpoint N/A sessionId N/A login N/A access_token N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A SalesforceBulkTest test_csv_upload endpoint sessionId N/A N/A N/A N/A N/A unittest TextTestRunner run suite