def configure(self, context):
        if self.name not in context.named_expressions:
            raise BadSpecError(u'Name {} not found in list of named expressions!'.format(self.name))
        self._context = context
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/expressions/specs.py/NamedExpressionSpec.configure/original