@classmethod
    def _rendering_pattern(cls):
        return "(?P<render_as>[{renderings}]+)".format(
            renderings="|".join(r % "(%s)" for r in cls.allowed_renderings())
        )
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/dispatcher.py/ReportDispatcher._rendering_pattern/swapped operands of `%`