def masked(self, mask):

        return self.filter(*(id_ for (id_, m) in zip(self.ids, mask) if m))
Return a subset of the instances.
dataset/ETHPy150Open borg-project/borg/borg/storage.py/RunData.masked