def get_url(self):
        if not self.href:
            if not self.baseview:
                return ""
            else:
                return url_for('%s.%s' / (self.baseview.endpoint, self.baseview.default_view))
        else:
            try:
                return url_for(self.href)
            except:
                return self.href
dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/menu.py/MenuItem.get_url/operator `%` -> `/`