#NEWLINE# def _pickle_unpickle( data ) : #NEWLINE# #INDENT# with tempfile . NamedTemporaryFile ( delete = True ) as pickle_file : #NEWLINE# #INDENT# pickle_file . close ( ) #NEWLINE# joblib . dump ( data , pickle_file . name ) #NEWLINE# return joblib . load ( pickle_file . name )