I want to have the result of my query converted to a list of dicts like this :
result_dict = [{\'category\': \'failure\', \'week\': \'1209\', \'stat\': \'tdc_ok
Not sure if this is because a few years have passed since the original post, but the following works for me (the others did not)...
result_dict = [dict(u) for u in my_query.fetchall()]
I am working in core, not ORM.