def load_data(
        self,
        page_ids: Optional[List[str]] = None,
        database_ids: Optional[List[str]] = None,
    ) -> str:
        """
        Loads content from a set of page ids or database ids.

        Don't use this endpoint if you don't know the page ids or database ids.

        """
        page_ids = page_ids or []
        docs = self.reader.load_data(page_ids=page_ids, database_ids=database_ids)
        return "\n".join([doc.get_content() for doc in docs])

        Loads content from a set of page ids or database ids.

        Don't use this endpoint if you don't know the page ids or database ids.

        
llama-index-integrations/tools/llama-index-tools-notion/llama_index/tools/notion/base.py