python - redis-py AttributeError: 'PubSub' object has no attribute 'get_message' -


i write code in windows command line. code redis-py's github page. enter image description here

i don't know how happens,so i.

dir(p) 

the result is: enter image description here

i cannot find "get_message". redis version -2.9.1.

get_message not part of 2.9.1 release. part of future 2.10.0 release

for 2.9.1 should use .listen() method.


Comments

Popular posts from this blog

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -