def get_dbs(self, attr, args, kwargs, **fkwargs): key = get_key(args, kwargs) if key == 'foo': return [1] return [0]
def get_dbs(self, attr, args, kwargs, **fkwargs): key = get_key(args, kwargs) self.kwargs_seen.append(fkwargs) self.key_args_seen.append(key) return [0]