Webpy,从另一个方法调用视图

Webpy, calling a view from another method

有没有办法用参数调用 webpy (GET) 视图(从另一个视图)?

提前致谢。

import web

urls = (
    '/(\d+)', 'index',
    '/number', 'novo'
)


class index:
    def GET(self, number):
        return "Number: %i " % number


class number:
    def GET(self):
        get_index = index()
        return get_index.GET(3)


app = web.application(urls, globals())
if __name__ == "__main__":
    app.run()