in ees_sharepoint/local_storage.py [0:0]
def update_storage(self, ids):
"""This method is used to update the ids stored in doc_id.json file
:param ids: updated ids to be stored in the doc_id.json file
"""
with open(IDS_PATH, "w", encoding='utf-8') as ids_file:
try:
json.dump(ids, ids_file, indent=4)
except ValueError as exception:
self.logger.exception(
f"Error while updating the doc_id json file. Error: {exception}"
)