code: def full_text(self, level: int = 1) -> str:
          
          res = ""
          if self.wiki.extract_format == ExtractFormat.WIKI:
              res += self.title
          elif self.wiki.extract_format == ExtractFormat.HTML:
              res += "<h{}>{}</h{}>".format(level, self.title, level)
          else:
              raise NotImplementedError("Unknown ExtractFormat type")
  
          res += "\n"
          res += self._text
          if len(self._text) > 0:
              res += "\n\n"
          for sec in self.sections:
              res += sec.full_text(level + 1)
          return res
docs: Returns text of the current section as well as all its subsections.
  
          :param level: indentation level
          :return: text of the current section as well as all its subsections