Пример #1
0
 def get(self):
     
     codesFromCSV = getCsvData()
    
     for row in codesFromCSV:
        
         DB__populateDbWithMCCCodeData(row)         
Пример #2
0
def formSelectionToQuery(model, transaction):
    
    if transaction.__eq__('ImportCSV'):
        return getCsvData()
    if transaction.__eq__('DeleteAll'):
        return DB__deleteAllMccData()