jenner/pyramid_extdirect — pull request #1 by coffeeprocessor (2011-10-21 03:20:59+00:00)
Title: Hi jenner, 

I offer you just a small change to your great pyramid_extdirect package, trivial really; if you don't want it, I will keep it myself, as I need it right now.

I needed a way to specify the number of arguments to @extdirect_method, as that method is decorated multiple times by one of my little helpers (tracing function calls). it's no biggie, really: If no one sets numargs in

@extdirect_method(action="A", numargs=2)
@trace
def my_method(arg, arg2):
pass;

then the behaviour is normal, as numargs gets set to whatever the package would set it to anyway. Otherwise, the developer can say "I know better" and just set numargs. Of course, if one does so, numargs and the request_as_last_param-Thing must not be counted.

this is anykey from #extjs by the way.