

def build_request(self, openid, attributes):
    now = datetime.datetime.utcnow()
    return ATS_REQUEST_TMPL.render(msg_id=uuid.uuid1(), timestamp=(now.isoformat() + 'Z'), issuer=self.ISSUER, openid=openid, attributes=attributes)

dataset/ETHPy150Open stephenpascoe/esgf-pyclient/pyesgf/security/ats.py AttributeService.build_request/original