def METHOD_NAME(self, obj):
    act_set = Action.objects.filter(prototype=obj.prototype)
    self.context["object"] = obj
    self.context["provider_id"] = obj.id
    actions = ActionShort(filter_actions(obj, act_set), many=True, context=self.context)
    return actions.data