in bots/incident-response-slackbot/incident_response_slackbot/db/database.py [0:0]
def __init__(self):
"""
Initialize the database. Load data from the pickle file if it exists,
otherwise create an empty dictionary.
"""
current_dir = os.path.dirname(os.path.realpath(__file__))
self.file_path = os.path.join(current_dir, "data.pkl")
self.data = {}