def populate(self, case_ids):
        """
        Populates a set of IDs in the cache in bulk.
        Use this if you know you are going to need to access these later for performance gains.
        Does NOT overwrite what is already in the cache if there is already something there.
        """
        case_ids = list(set(case_ids) - set(self.cache.keys()))
        for case in self._iter_cases(case_ids):
            self.set(_get_id_for_case(case), case)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/casedb_base.py/AbstractCaseDbCache.populate/original