pwtools
Shortcut for commonly used functionality. If one extracts a single column, then self.cur.fetchall() returns a list of tuples like [(1,), (2,)] We call fetchall() and return the flattened list.
self.cur.fetchall()
[(1,), (2,)]
fetchall()