We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
If logical_path is not a valid logical path...
logical_path
import os from irods.session import iRODSSession env_file = os.path.expanduser("~/.irods/irods_environment.json") ssl_settings = {} session = iRODSSession(irods_env_file=env_file, **ssl_settings) logical_path = '/{0.zone}/home/{0.username}/does_not_exist.txt'.format(session) local_file = 'should_not_exist.txt' session.data_objects.get(logical_path, local_file)
This should not create and leave a new empty should_not_exist.txt.
should_not_exist.txt
If
logical_pathis not a valid logical path...This should not create and leave a new empty
should_not_exist.txt.