e1d39a4c9158c9a9db1218cb5be9946152e2ca1b,src/fetch_cnpj_info.py,,,#,137
Before Change
future_to_cnpj_info = dict((executor.submit(fetch_cnpj_info, cnpj), cnpj)
for cnpj in cnpj_list)
for future in futures.as_completed(future_to_cnpj_info):
cnpj = future_to_cnpj_info[future]
if future.exception() is not None:
print("%r raised an exception: %s" % (cnpj, future.exception()))
else:
write_cnpj_info(cnpj, future.result())
import_cnpj_infos(info_dataset, info_partners_dataset)
if len(filesNotFound) > 0:
print("The following files were not found:")
After Change
if result != None and result["status"] == "OK":
info_dataset = info_dataset.append(result, ignore_index=True)
info_dataset.to_csv(INFO_DATASET_PATH,
compression="xz",
encoding="utf-8",
index=False)
if len(filesNotFound) > 0:
print("The following files were not found:")
for file in filesNotFound:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: okfn-brasil/serenata-de-amor
Commit Name: e1d39a4c9158c9a9db1218cb5be9946152e2ca1b
Time: 2017-04-14
Author: marcus.rehm@gmail.com
File Name: src/fetch_cnpj_info.py
Class Name:
Method Name:
Project Name: ina-foss/inaSpeechSegmenter
Commit Name: 4d8a1c5fd39f3189424479f6f463f0c5d4f567b7
Time: 2019-10-14
Author: ddoukhan@ina.fr
File Name: inaSpeechSegmenter/segmenter.py
Class Name:
Method Name: seg2csv
Project Name: gyoisamurai/GyoiThon
Commit Name: 78b56b5b833d7ae74853c2809058848681520a80
Time: 2019-12-11
Author: gyoiler3@gmail.com
File Name: report_merger.py
Class Name: MergeReport
Method Name: get_target_report