@error_wrap
    def set_session_password(self, password):
        """Send the password to the PLC to meet its security level."""
        assert 8 <= len(password), 'maximum password length is 8'
        return self.library.Cli_SetSessionPassword(self.pointer,
                                                   c_char_p(six.b(password)))
dataset/ETHPy150Open gijzelaerr/python-snap7/snap7/client.py/Client.set_session_password/swapped operands of `<=`