Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib/python3/dist-packages/winrm/__init__.py", line 54, in run_ps

rs.std_err = self._clean_error_msg(rs.std_err)


 "/usr/lib/python3/dist-packages/winrm/__init__.py", line 62, in _clean_error_msg

if msg.startswith("#< CLIXML\r\n"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str

Traceback (most recent call last):


 "sample.py", line 6, in <module>

client.slowlog_get(num=1000)


 "/home/ec2-user/.pyenv/versions/env/lib/python3.8/site-packages/redis/client.py", line 1466, in slowlog_get

return self.execute_command(*args, decode_responses=decode_responses)


 "/home/ec2-user/.pyenv/versions/env/lib/python3.8/site-packages/rediscluster/client.py", line 552, in execute_command

return self._execute_command(*args, **kwargs)


 "/home/ec2-user/.pyenv/versions/env/lib/python3.8/site-packages/rediscluster/client.py", line 578, in _execute_command

return self._execute_command_on_nodes(node, *args, **kwargs)


 "/home/ec2-user/.pyenv/versions/env/lib/python3.8/site-packages/rediscluster/client.py", line 738, in _execute_command_on_nodes

return self._merge_result(command, res, **kwargs)


 "/home/ec2-user/.pyenv/versions/env/lib/python3.8/site-packages/rediscluster/client.py", line 512, in _merge_result

return self.result_callbacks[command](command, res, **kwargs)
TypeError: <lambda>() got an unexpected keyword argument 'decode_responses'
