def _load_data()

in bots/incident-response-slackbot/incident_response_slackbot/db/database.py [0:0]


    def _load_data(self):
        """
        Load data from the pickle file if it exists,
        otherwise return an empty dictionary.
        """
        if os.path.exists(self.file_path):
            with open(self.file_path, "rb") as f:
                return pickle.load(f)
        else:
            return {}