j2labs / brubeck

Asynchronous web and messaging
http://brubeck.io
511 stars 66 forks source link

List of Arguments #101

Closed MisterPoppet closed 11 years ago

MisterPoppet commented 11 years ago

It would be great if get_argument had the option of returning a list of arguments in the event that you needed such a thing. Maybe check argument length, or possibly a True/False toggle?

kracekumar commented 11 years ago

Can you point to corresponding file in the repo ?

MisterPoppet commented 11 years ago

I'm going to show my ignorance by not knowing if that's a special thing you can do in the issues area. But the path to the function in question is here:

brubeck / brubeck / request.py

It's the very last function.

sethmurphy commented 11 years ago

yourhandler.get_arguments gets a list given a named parameter. Otherwise access the raw dictionary, yourhandler.message.arguments

On Sun, Jan 27, 2013 at 1:01 PM, Bryan Redeagle notifications@github.comwrote:

It would be great if get_argument had the option of returning a list of arguments in the event that you needed such a thing. Maybe check argument length, or possibly a True/False toggle?

— Reply to this email directly or view it on GitHubhttps://github.com/j2labs/brubeck/issues/101.

MisterPoppet commented 11 years ago

That's awesome to hear!