def set_type(self, typ):
        try:
            del self.extension_attributes[XSI_NIL]
        except KeyError:
            pass

        try:
            self.extension_attributes[XSI_TYPE] = typ
        except __HOLE__:
            self._extatt[XSI_TYPE] = typ
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/saml.py/AttributeValueBase.set_type