def table_names(self):
    'Returns a list of names of all tables that exist in the database.'
    cursor = self.connection.cursor()
    return self.get_table_list(cursor)
Returns a list of names of all tables that exist in the database.
def table_names(self):
    
    cursor = self.connection.cursor()
    return self.get_table_list(cursor)