def METHOD_NAME(self, pull_number, milestone_number, labels):
    """
    Updates a given PR with the provided milestone number and labels.
    """
    pr = self._repository.get_pull(pull_number)
    milestone = self._repository.get_milestone(milestone_number)
    issue = pr.as_issue()
    issue.edit(milestone=milestone, labels=labels)
    return pr