def list_favorite_queries():
headers = ["<STR_LIT:Name>", "<STR_LIT>"]<EOL>rows = [(r, favoritequeries.get(r)) for r in favoritequeries.list()]<EOL>if not rows:<EOL><INDENT>status = '<STR_LIT>' + favoritequeries.usage<EOL><DEDENT>else:<EOL><INDENT>status = '<STR_LIT>'<EOL><DEDENT>return [('<STR_LIT>', rows, headers, status)]<EOL>
List of all favorite queries.
    Returns (title, rows, headers, status)