def remove_old_entries(self, created_before):
        keys_to_delete = set()
        for key in self.responses:
            try:
                response, created_at = self.responses[key]
            except KeyError:
                continue
            if created_at < created_before:
                keys_to_delete.add(key)

        for key in keys_to_delete:
            self.delete(key)
Ends the initialization command to the USB4000 spectrometer
dataset/ETHPy150Open reclosedev/requests-cache/requests_cache/backends/base.py/BaseCache.remove_old_entries--crossover with--dataset/ETHPy150Open LabPy/lantz/lantz/drivers/oceanoptics/usb4000.py/USB4000.initialize