*Set the tags for this taskpaper object*

        **Key Arguments:**
            - ``tags`` -- a tag string to set

        **Usage:**

            .. code-block:: python 

                aTask.set_tags("@due @mac")

def set_tags(
            self,
            tags=""):
        """*Set the tags for this taskpaper object*

        **Key Arguments:**
            - ``tags`` -- a tag string to set

        **Usage:**

            .. code-block:: python 

                aTask.set_tags("@due @mac")
        """
        self.refresh
        tagList = []
        regex = re.compile(r'@[^@]*', re.S)
        matchList = regex.findall(tags)
        for m in matchList:
            tagList.append(m.strip().replace("@", ""))

        self.refresh
        oldContent = self.to_string(indentLevel=1)
        self.tags = tagList
        newContent = self.to_string(indentLevel=1)

        # ADD DIRECTLY TO CONTENT IF THE PROJECT IS BEING ADDED SPECIFICALLY TO
        # THIS OBJECT
        self.parent._update_document_tree(
            oldContent=oldContent,
            newContent=newContent
        )
        self.refresh
        return None