def resolve(self, variable, context):
        try:
            return getattr(context.group, variable)
        except __HOLE__:
            raise QueryResolutionError(_("Couldn't resolve variable {}").format(variable))
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/performance_sms/query_engine.py/GroupResolver.resolve