<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_url(self, name: str, **kwargs) -> str: """ generate url with urlgenerator used by urldispatch"""

        return self.urlmapper.generate(name, **kwargs)