

def __init__(self, name, href='', icon='', label='', childs=None, baseview=None):
    self.name = name
    self.href = href
    self.icon = icon
    self.label = label
    if self.childs:
        self.childs = childs
    else:
        self.childs = []
    self.baseview = baseview

dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/menu.py MenuItem.__init__/original