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