def encapsulate(self):
        return EncapsulatedJob(self)

    ####################################################
    #The following function is used for passing return values between
    #job run functions
    ####################################################
.. deprecated:: 0.17.0
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/job.py/Job.encapsulate--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/contains