@classmethod
    def uncache_finished_jobs(cls):
        """
        Clears jobs from the cache after they have been finished.

        TODO: We'll eventually want to clear jobs from the cache that haven't
        been accessed by the web API recently.
        """
        for id, job in cls.CACHE.items():
            if job.is_finished():
                logger.info("Removing job %s from job cache." % id)
                cls.remove_job(id)
dataset/ETHPy150Open duointeractive/media-nommer/media_nommer/feederd/job_cache.py/JobCache.uncache_finished_jobs/original