#NEWLINE# def __init__( self , config ) : #NEWLINE# #INDENT# config_file = tempfile . NamedTemporaryFile ( delete = False ) #NEWLINE# config_file . write ( encodeutils . safe_encode ( json . dumps ( config ) ) ) #NEWLINE# config_file . close ( ) #NEWLINE# self . filename = config . name