"""General IO for pickle database operations."""importpickledefload_database(file_location:str):""" Attempts to load the pickle database at the given file location :param file_location: String location of file to be loaded. :return: The loaded pickle database. """
returnfile_contentdefwrite_database(output_file:str,database_content:dict)->None:""" Writes the dictionary database to the given file location :param output_file: The location of the file to be outputted on. :param database_content: The database content to be written to the file. :return: None """