

def add_separator(self, category=''):
    menu_item = self.find(category)
    if menu_item:
        menu_item.childs.append(MenuItem('-'))
    else:
        raise Exception('Menu separator does not have correct category {}'.format(menu_item))

dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/menu.py Menu.add_separator/VarMisuse@52/79 `category`->`menu_item`