def get(self): codesFromCSV = getCsvData() for row in codesFromCSV: DB__populateDbWithMCCCodeData(row)
def formSelectionToQuery(model, transaction): if transaction.__eq__('ImportCSV'): return getCsvData() if transaction.__eq__('DeleteAll'): return DB__deleteAllMccData()