def get_url(self):
        """ Return a generated url from ``rule`` attribute.

        Returns
        -------
        str
            Generated url
        """

        try:
            rule = self.rule
        except __HOLE__:
            raise NotImplementedError('``rule`` attr must be defined.')

        return url_for(rule)
dataset/ETHPy150Open thisissoon/Flask-Velox/flask_velox/mixins/http.py/RedirectMixin.get_url