def _makeid(): """auxiliary method to generate ids.""" return uuid()
def __init__(self, *args, **kw): if 'Version' not in kw: kw['Version'] = '2.0' # Note: an id must start with a char if 'ID' not in kw: kw['ID'] = '_' + uuid() if 'IssueInstant' not in kw: kw['IssueInstant'] = utcnow() super(_StandardSaml2Initialization, self).__init__(*args, **kw)
def __init__(self, *args, **kw): if 'ID' not in kw: kw['ID'] = '_' + uuid() super(_StandardSaml2Initialization, self).__init__(*args, **kw)