def get_all_entries(self):
    self.lock.acquire()
    if os.path.exists(self.file_path):
      file_handle = open(self.file_path, 'r')
      dictionary = json.load(file_handle)
      file_handle.close()
      self.lock.release()
      return dictionary
    else:
      self.lock.release()
      return {}
See parent class documentation
dataset/ETHPy150Open AppScale/appscale/InfrastructureManager/utils/persistent_dictionary.py/FileSystemBasedPersistentStore.get_all_entries