def temporary_directory(parent_path=None):
 mkdtemp_args = {}
 if (parent_path is not None):
  mkdtemp_args['dir'] = parent_path.path
 return _TemporaryPath(path=FilePath(mkdtemp(**mkdtemp_args)))

def temporary_directory ( parent_path = None ) : mkdtemp_args = { } if ( parent_path is not None ) : mkdtemp_args [ 'dir' ] = parent_path . path return _TemporaryPath ( path = FilePath ( mkdtemp ( ** mkdtemp_args ) ) )
require a temporary directory .