def deploy(self):
        self.configure()

        # Upload all files concurrently in a thread pool
        mapper = multiMap if self.site._parallel > PARALLEL_DISABLED else map_apply
        totalFiles = mapper(lambda p: p.upload(), self.files())

        return totalFiles
dataset/ETHPy150Open koenbok/Cactus/cactus/deployment/engine.py/BaseDeploymentEngine.deploy/original