def add_matched_path(self, media_class, media_info):
        if media_class.__name__ in self.matched_files:
            self.matched_files[media_class.__name__].append(media_info)
        else:
            self.add_unmatched_path(media_info['path'],
                                    _("Not a bulk-upload supported CommCareMedia type: %s" % media_class.__name__))
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqmedia/cache.py/BulkMultimediaStatusCache.add_matched_path/original