def getAllowedType(self):
        """Get a pair of assocation type and session type that are
        supported"""
        try:
            return self.allowed_types[0]
        except __HOLE__:
            return (None, None)
dataset/ETHPy150Open CollabQ/CollabQ/openid/association.py/SessionNegotiator.getAllowedType