generate url with urlgenerator used by urldispatch

def generate_url(self, name: str, **kwargs) -> str:
        """ generate url with urlgenerator used by urldispatch"""
        return self.urlmapper.generate(name, **kwargs)