class parsl.data_provider.files.File(url: str)[source]

The Parsl File Class.

This represents the global, and sometimes local, URI/path to a file.

Staging-in mechanisms may annotate a file with a local path recording the path at the far end of a staging action. It is up to the user of the File object to track which local scope that local path actually refers to.

__init__(url: str)[source]

Construct a File object from a url string.


url (-) – url string of the file e.g. - ‘input.txt’ - ‘file:///scratch/proj101/input.txt’ - ‘globus://go#ep1/~/data/input.txt’ - ‘globus://ddb59aef-6d04-11e5-ba46-22000b92c6ec/home/johndoe/data/input.txt’



Construct a File object from a url string.


Returns a copy of the file containing only the global immutable state, without any mutable site-local local_path information.



Return the resolved filepath on the side where it is called from.