def METHOD_NAME(self):
    query = '''SELECT * FROM keywords'''
    self.cur.execute(query)
    results = self.cur.fetchall()
    keywords = []
    if len(results) > 0:
        try:
            for res in results:
                keywords.append({ 'word': res[0], 'count': res[1], 'agent': res[2] })
        except Exception as ex:
            print(ex)
    return keywords