in bots/incident-response-slackbot/incident_response_slackbot/db/database.py [0:0]
def _save(self):
"""
Save the current state of the database to the pickle file.
"""
with open(self.file_path, "wb") as f:
pickle.dump(self.data, f)