(self)
return {"tags": [{"name": name, "count": count} for name, count in tags]}
Returns all query tags including those for drafts.
Returns all query tags including those for drafts.
Returns all query tags including those for drafts .
def get(self):
        """
        Returns all query tags including those for drafts.
        """
        tags = models.Query.all_tags(self.current_user, include_drafts=True)
        return {"tags": [{"name": name, "count": count} for name, count in tags]}
def get ( self ) : tags = models . Query . all_tags ( self . current_user , include_drafts = True ) return { "tags" : [ { "name" : name , "count" : count } for name , count in tags ] }