def __init__(self, title, url, children=[], weight=1, check=None,
                 visible=True, slug=None, exact_url=False, **kwargs):

        self.url = url
        self.title = title
        self.visible = visible
        self.children = children
        self.weight = weight
        self.check_func = check
        self.slug = slug
        self.exact_url = exact_url
        self.selected = False
        self.parent = None

        # merge our kwargs into our self
        for k in kwargs:
            setattr(self, k, kwargs[k])
Retrieve all or part of a specified configuration.
dataset/ETHPy150Open borgstrom/django-simple-menu/menu/menu.py/MenuItem.__init__--crossover with--dataset/ETHPy150Open osrg/ryu/ryu/contrib/ncclient/operations/retrieve.py/GetConfig.request