

def importFile(self, srcUrl):
    "\n        Imports the file pointed at by sourceUrl into job store. The jobStoreFileId of the new\n        file is returned.\n\n        Note that the helper method _importFile is used to read from the source and write to\n        destination (which is the current job store in this case). To implement any optimizations that\n        circumvent this, the _importFile method should be overridden by subclasses of AbstractJobStore.\n\n        Currently supported schemes are:\n            - 's3' for objects in Amazon S3\n                e.g. s3://bucket/key\n\n            - 'wasb' for blobs in Azure Blob Storage\n                e.g. wasb://container/blob\n\n            - 'file' for local files\n                e.g. file://local/file/path\n\n        :param str srcUrl: URL that points to a file or object in the storage mechanism of a\n                supported URL scheme e.g. a blob in an Azure Blob Storage container.\n        :return The jobStoreFileId of imported file.\n        :rtype: str\n        "
    url = urlparse.urlparse(srcUrl)
    return self._importFile(findJobStoreForUrl(url), self)

dataset/ETHPy150Open BD2KGenomics/toil/src/toil/jobStores/abstractJobStore.py AbstractJobStore.importFile/VarMisuse@33/414 `url`->`self`