On 12/07/11 01:58, azurIt wrote:
FIXED!! :) but i put it inside 'cannot_auth_function':

def cannot_auth_function(ctx, state):
        ctx.descriptor.reset_function()
        return {"state": state}

so it will be called only when it's needed.

great to hear azur. sorry, i should have told you this when i suggested you to fiddle with ctx.descriptor. i don't know how but this slipped my mind.


thank you very much Burak! also don't forget to add a note here:
http://arskom.github.com/rpclib/faq.html#how-do-i-alter-the-behaviour-of-a-user-method-without-using-decorators


i just did that. thanks for reminding this.

best,
burak


_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to