

def attrgetter(self, *items):
    if (len(attr) == 1):
        attr = items[0]

        def g(obj):
            return self.resolve_attr(obj, attr)
    else:

        def g(obj):
            return tuple((self.resolve_attr(obj, attr) for attr in items))
    return g

dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py BaseProcessData.attrgetter/VarMisuse@17/19 `items`->`attr`