def METHOD_NAME(self, validated_data):
    model = COMMENTABLE_MODELS.get(validated_data.pop('target_type'))
    content_type = ContentType.objects.get_for_model(model)
    validated_data['content_type'] = content_type
    return super().METHOD_NAME(validated_data)