def load_storage()

in ees_microsoft_outlook/local_storage.py [0:0]


    def load_storage(self, ids_path):
        """This method fetches the contents of doc_id.json(local ids storage)
        :param ids_path: Path to the respective doc_ids.json
        """

        try:
            with open(ids_path, encoding="utf-8") as ids_file:
                try:
                    return json.load(ids_file)
                except ValueError as exception:
                    self.logger.exception(
                        f"Error while parsing the json file of the ids store from path: {ids_path}. Error: {exception}"
                    )
        except FileNotFoundError:
            self.logger.debug(
                f"Local storage for ids was not found with path: {ids_path}."
            )
            return {"global_keys": {}}