def answer(self, assoc):
        response = OpenIDResponse(self)
        response.fields.updateArgs(OPENID_NS, {
            'expires_in': '%d' % (assoc.getExpiresIn(),),
            'assoc_type': self.assoc_type,
            'assoc_handle': assoc.handle,
            })
        response.fields.updateArgs(OPENID_NS,
                                   self.session.answer(assoc.secret))
        if self.session.session_type != 'no-encryption':
            response.fields.setArg(
                OPENID_NS, 'session_type', self.session.session_type)

        return response
Filter config parsed from a setup.cfg to inject our defaults.
dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/AssociateRequest.answer--crossover with--dataset/ETHPy150Open blue-yonder/pyscaffold/pyscaffold/contrib/pbr/pbr/hooks/__init__.py/setup_hook