def METHOD_NAME(cleaned_data):
    """Updates manual score for selected objects.
    `cleaned_data` is a list of dicts, each dict has 3 fields:
    * `object` being the selected Training Request
    * `score_manual` - manual score to be applied
    * `score_notes` - notes regarding that manual score.
    """
    from workshops.models import TrainingRequest
    records = 0
    with transaction.atomic():
        for item in cleaned_data:
            try:
                obj = item["object"]
                score_manual = item["score_manual"]
                score_notes = item["score_notes"]
                records += TrainingRequest.objects.filter(pk=obj.pk).update(
                    score_manual=score_manual,
                    score_notes=score_notes,
                )
            except (IntegrityError, ValueError, TypeError, ObjectDoesNotExist) as e:
                raise e
    return records