I have following method that I select all the ids from table and append them to a list and return that list. But when execute this code I end up getting tuple indicies must
row is a tuple. When you do row['question_id'], you are trying to access a tuple using a string index which gives you an error.
row
row['question_id']