

def _importFile(self, otherCls, url):
    '\n        Refer to importFile docstring for information about this method.\n\n        :param type otherCls: The concrete subclass of AbstractJobStore that supports exporting to the given URL.\n        :param urlparse.ParseResult url: The parsed url given to importFile.\n        :return: The job store file ID of the imported file\n        :rtype: str\n        '
    with self.writeFileStream() as (writable, jobStoreFileID):
        otherCls._readFromUrl(url, writable)
        return jobStoreFileID

dataset/ETHPy150Open BD2KGenomics/toil/src/toil/jobStores/abstractJobStore.py AbstractJobStore._importFile/original