def docs(self) -> Dict[str, BaseNode]:
        """
        Get all documents.

        Returns:
            Dict[str, BaseDocument]: documents

        """
        json_dict = self._kvstore.get_all(collection=self._node_collection)
        return {key: json_to_doc(json) for key, json in json_dict.items()}

        Get all documents.

        Returns:
            Dict[str, BaseDocument]: documents

        
llama-index-core/llama_index/core/storage/docstore/keyval_docstore.py