If you need a function with parameters then you would have to call it indirectly from your exposed controller action/function.
def table1(a,b): ... @service.csv def exposed(): # call table1(x,y) in here On 7 nov, 08:16, dbb <debe...@yahoo.com> wrote: > I am trying to program web services, such as, > @service.csv > def table1(a,b): > return [[a,b],[1,2]] > > On Nov 7, 7:33 am, DenesL <denes1...@yahoo.ca> wrote: > > > That is by design. > > What are you trying to do?. > > > On 7 nov, 07:22, dbb <debe...@yahoo.com> wrote: > > > > a function with a parameter does not show up in the list of functions > > > in the controller, > > > e.g. def name( a, b): return( a+b), can not be found in the controller.- > > > Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---