@special_command('<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>def save_favorite_query(arg, **_):
usage = '<STR_LIT>' + favoritequeries.usage<EOL>if not arg:<EOL><INDENT>return [(None, None, None, usage)]<EOL><DEDENT>name, _, query = arg.partition('<STR_LIT:U+0020>')<EOL>if (not name) or (not query):<EOL><INDENT>return [(None, None, None,<EOL>usage + '<STR_LIT>')]<EOL><DEDENT>favoritequeries.save(name, query)<EOL>return [(None, None, None, "<STR_LIT>")]<EOL>
Save a new favorite query.
    Returns (title, rows, headers, status)