

def _filter(self, include_private, filter):
    childnodes = {
        
    }
    for name in dir(self.node.__class__):
        if ((not name.startswith('__')) and (filter != 'parent')):
            if (include_private or (not name.startswith('_'))):
                attr = getattr(self.node, name)
                if filter(attr):
                    childnodes[name] = attr
    return childnodes

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector._filter/VarMisuse@48/56 `name`->`filter`