def ex_toggle_subscription_auto_renew(self, subscription):
        path = '/subscriptions/%s/action/' % (subscription.id)
        response = self._perform_action(path=path, action='auto_renew',
                                        method='POST')
        return response.status == httplib.OK
if passed a function, directly sets attributes on the function
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/cloudsigma.py/CloudSigma_2_0_NodeDriver.ex_toggle_subscription_auto_renew--crossover with--dataset/ETHPy150Open pytest-dev/pytest/_pytest/vendored_packages/pluggy.py/HookspecMarker.__call__