def get_custom_exports(self):

        def _rewrap(export):
            # custom wrap if relevant
            try:
                return {
                    'form': FormExportSchema,
                    'case': CaseExportSchema,
                }[export.type].wrap(export._doc)
            except __HOLE__:
                return export

        for custom in list(self.custom_export_ids):
            custom_export = self._get_custom(custom)
            if custom_export:
                yield _rewrap(custom_export)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/models.py/HQGroupExportConfiguration.get_custom_exports