def _resume_checkpoint(self, *args, checkpoint_resume: Optional[str]=None, **kwargs):
    "Resume an existing (checkpoint) experiment.\n\n        Experiment will be reproduced and checked out into the user's\n        workspace.\n        "
    assert checkpoint_resume
    if (checkpoint_resume == self.LAST_CHECKPOINT):
        resume_rev = self._get_last_checkpoint()
    else:
        resume_rev = self.scm.resolve_rev(checkpoint_resume)
    allow_multiple = ('params' in kwargs)
    branch = self.get_branch_by_rev(resume_rev, allow_multiple=allow_multiple)
    if (not branch):
        raise DvcException(f"Could not find checkpoint experiment '{checkpoint_resume}'")
    baseline_rev = self._get_baseline(branch)
    if kwargs.get('params', None):
        logger.debug("Branching from checkpoint '%s' with modified params, baseline '%s'", checkpoint_resume, baseline_rev[:7])
        detach_rev = resume_rev
        branch = None
    else:
        logger.debug("Continuing from tip of checkpoint '%s'", checkpoint_resume)
        detach_rev = None
    return self._stash_exp(*args, detach_rev=detach_rev, baseline_rev=baseline_rev, branch=branch, **kwargs)
Resume an existing (checkpoint) experiment.

Experiment will be reproduced and checked out into the user's
workspace.
def _resume_checkpoint(self, *args, checkpoint_resume: Optional[str]=None, **kwargs):
    "Resume an existing (checkpoint) experiment.\n\n        Experiment will be reproduced and checked out into the user's\n        workspace.\n        "
    assert checkpoint_resume
    if (checkpoint_resume == self.LAST_CHECKPOINT):
        resume_rev = self._get_last_checkpoint()
    else:
        resume_rev = self.scm.resolve_rev(checkpoint_resume)
    allow_multiple = ('params' in kwargs)
    branch = self.get_branch_by_rev(resume_rev, allow_multiple=allow_multiple)
    if (not branch):
        raise DvcException(f"Could not find checkpoint experiment '{checkpoint_resume}'")
    baseline_rev = self._get_baseline(branch)
    if kwargs.get('params', None):
        logger.debug("Branching from checkpoint '%s' with modified params, baseline '%s'", checkpoint_resume, baseline_rev[:7])
        detach_rev = resume_rev
        branch = None
    else:
        logger.debug("Continuing from tip of checkpoint '%s'", checkpoint_resume)
        detach_rev = None
    return self._stash_exp(*args, detach_rev=detach_rev, baseline_rev=baseline_rev, branch=branch, **kwargs)