[Soap-Python] Multiple decorators
Burak Arslan
burak.arslan at arskom.com.tr
Fri Sep 30 14:22:09 CEST 2011
On 30.09.2011 15:13, azurIt wrote:
>> that's normal, you should try that the other way round (i.e. @srpc above
>> @my_decor) if you want that to run every time the method is called.
>
> But i want from it to be called _after_ @srpc so i won't be authenticating client while he is sending invalid parameters - @srpc will filter such requests and return errors to clients.
@srpc has nothing to do with validation, what made you think that? just
look at its code.
protocols handle validation based on the information collected by @srpc.
it's just a marker, nothing more.
> Anyway, i was just trying it for you, i don't want my app to have additional dependences on external modules :) i will use events
oh all right, thanks :)
> (just waiting to this issue to be closed: https://github.com/arskom/rpclib/issues/95 ).
for some reason i'm not getting emails from github about new issues :(
i'm on it.
best,
burak
More information about the Soap
mailing list