def getColumnNames(dbhandle, table):

    cc = executewait(dbhandle, "SELECT * FROM %s LIMIT 1" % table)
    return tuple([x[0] for x in cc.description])
Returns the class used to store an error resulting from an import.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/Database.py/getColumnNames--crossover with--dataset/ETHPy150Open django-import-export/django-import-export/import_export/resources.py/Resource.get_error_result_class