socket.engine icon indicating copy to clipboard operation
socket.engine copied to clipboard

AttributeError: 'host' object has no attribute 'getAll'

Open superstooge opened this issue 5 years ago • 1 comments

Hey there! Absolute noob at Python, so please bear with me if my question is silly.

Upon running the python Host/Client -> Host example I keep getting the following error: AttributeError: 'host' object has no attribute 'getAll'

I just copy/pasted the example and made sure the indentation was ok. I'm using Python3.

Is there anything I'm missing?

superstooge avatar Aug 22 '20 11:08 superstooge

Hey, I just tried this lib and I found the error, it should be get_ALL() instead of getAll(),

data = h.get_ALL("test")

Evert-Arends avatar Jan 07 '21 20:01 Evert-Arends