>
> I made a pull request (https://github.com/web2py/web2py/pull/1566).  My 
> modification adds a new FlexibleService class that just passes all 
> arguments to the service function; this way it doesn't interfere with 
> anything the existing Service does.  It also uses a method instead of a 
> top-level function for the equivalent of universal_caller, so that 
> subclasses can override it to add more complex argument-matching if they 
> want.
>

Thanks. I made a suggestion to simplify by just altering the current 
Service class to take a new argument adding the new desired behavior as an 
option. This would keep the code DRY and the API less cluttered. I would 
lean toward just replacing the old behavior with the new (or at least 
making the new behavior the default), though, unless there is a good reason 
to retain the old.

Anthony 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to