download_file#

Session.download_file(file_name, local_file_dir='.', overwrite=False)#

For internal use only: download a file from the PIM-managed instance.

Unless overwrite is True, a FileExistsError will be raised if the local file already exists.

Parameters:
file_namestr

file name

local_file_dirstr, optional

local directory to write the file - default is current directory, “.”

overwritebool, optional

whether to overwrite the remote file if it already exists - default is False