def findtext(self, tag, default=""):
        el = self.find(tag)
        if el is not None:
            if not el.text:
                return default
            return el.text

        return None
Finds text for the first matching subelement, by tag name.
dataset/ETHPy150Open flosch/simpleapi/example_project/client/python/sapi/message.py/MessageElement.findtext