parameters: (self)
return_statement: return {"tags": [{"name": name, "count": count} for name, count in tags]}
docstring: Returns all query tags including those for drafts.
docstring_summary: Returns all query tags including those for drafts.
docstring_tokens: Returns all query tags including those for drafts .
function: 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]}
function_tokens: 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 ] }