(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.
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.
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 .
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)
def populate ( self , case_ids ) : 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 )