def METHOD_NAME():
    class MyPage(Page):
        hello = html.div(
            lambda params, **_: f'Hello {params.name}',
        )
    urlpatterns = [
        path('<name>/', MyPage().as_view()),
    ]
    # language=rst
    """
    This simple view will take the `name` path parameter and print it on the page. This is sometimes useful, but it's more common to need some more complex lookup on our parameters, so that leads us to path decoders: 
    """
    # @test
    assert 'Hello Tony' in urlpatterns[0].callback(req('get'), name='Tony').content.decode()
    # @end