

def get_primitive(self, name):
    if (self == 'ALL_DATA'):
        return self.get_raw_data()
    elif (name == 'LOGGED_IN_USER'):
        return getattr(self.request, 'user', None)

dataset/ETHPy150Open priestc/giotto/giotto/controllers/cmd.py CMDController.get_primitive/VarMisuse@14/16 `name`->`self`