Yes, there is no keyword argument `args`, you can just:
args = [...]
URL('foo_controller', *args, vars = dict(...) ) 



On Sunday, February 23, 2020 at 11:37:08 PM UTC+3, RHC wrote:
>
> HI,
>
> Looking at the py4web documentation at 
> http://py4web.com/_documentation/static/index.html#chapter-08 I see the 
> following where I expected to find details of the URL helper.
>
> URL
>
> The URL helper is documented in [[Chapter 4 URL ../04#URL]]
>
> I go to Chapter 4: 
> http://py4web.com/_documentation/static/index.html#chapter-04
>
>
> but the documentation isn't in there either. I needed to look it up as 
> args is reported to be an unexpected keyword (web2py used args judging by 
> some of my old code, but py4web uses vars instead it seems by looking at 
> the py4web source code).
>
>
> Regards,
>
>
> Richard.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/9266ca5c-2ae7-4161-a901-fb6635e88039%40googlegroups.com.

Reply via email to