removed csv from git and small thread changes
This commit is contained in:
@ -123,6 +123,7 @@ def extract_data(object_id, query, output_path='output', context='qa2'):
|
|||||||
|
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
done = True
|
done = True
|
||||||
|
t.do_run = False
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# Execute the Bulk query job
|
# Execute the Bulk query job
|
||||||
@ -156,6 +157,7 @@ def extract_data(object_id, query, output_path='output', context='qa2'):
|
|||||||
"""
|
"""
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
done = True
|
done = True
|
||||||
|
t.do_run = False
|
||||||
raise ValueError(f'Error extracting data: {str(e)}')
|
raise ValueError(f'Error extracting data: {str(e)}')
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
"Id","InstalledBaseLocation__c","Role__c","ValidFrom__c","ValidTo__c","Account__c"
|
|
||||||
"a0a1r00000JtNV5AAN","a1B1r0000099EsfEAE","Installer (installation)","2018-03-27","","0012000000eCN6TAAW"
|
|
||||||
"a0a1r00000JtNV6AAN","a1B1r0000099EsfEAE","Owner","2018-04-06","","0011r00001mmKQ8AAM"
|
|
||||||
"a0a1r00000JtNVUAA3","a1B1r0000099EsfEAE","Installer (installation)","2018-03-27","","0012000000eCN6TAAW"
|
|
||||||
"a0a1r00000JtNVVAA3","a1B1r0000099EsfEAE","Owner","2018-04-06","","0011r00001mmKQ8AAM"
|
|
||||||
"a0a1r00000JtNVtAAN","a1B1r0000099EsfEAE","Installer (installation)","2018-03-27","","0012000000eCN6TAAW"
|
|
||||||
"a0a1r00000JtNVuAAN","a1B1r0000099EsfEAE","Owner","2018-04-06","","0011r00001mmKQ8AAM"
|
|
||||||
"a0a1r00000KpzPNAAZ","a1B1r0000099EsfEAE","Installer (installation)","2018-03-27","","0012000000eCN6TAAW"
|
|
||||||
"a0a1r00000KpzPOAAZ","a1B1r0000099EsfEAE","Owner","2018-03-28","","0011r00001mmKQ8AAM"
|
|
||||||
"a0a1r00000KpzQQAAZ","a1B1r0000099EsfEAE","Installer (installation)","2018-03-27","","0012000000eCN6TAAW"
|
|
||||||
"a0a1r00000KpzQRAAZ","a1B1r0000099EsfEAE","Owner","2018-03-28","","0011r00001mmKQ8AAM"
|
|
|
@ -1,2 +0,0 @@
|
|||||||
"Id","Article__r.Name","Article__r.EANCode__c","Price__c","PriceUnit__c","Pricelist__c","ValidFrom__c","ValidTo__c","Pricelist__r.Brand__r.Name","Pricelist__r.Country__c"
|
|
||||||
"a0p6900000eZ3nbAAC","0010021907","4024074807507","2011.85","1.0","a0q20000000PO8OAAW","2021-01-01","2099-12-31","Vaillant","NL"
|
|
|
@ -1,3 +0,0 @@
|
|||||||
"Id","Name","Brand__r.Name","Country__c"
|
|
||||||
"a0q20000000PO8OAAW","NL Vaillant","Vaillant","NL"
|
|
||||||
"a0q20000000PO8TAAW","NL AWB","AWB","NL"
|
|
|
Reference in New Issue
Block a user