You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/websocket/_app.py", line 424, in _callback
callback(self, *args)
File "/usr/local/lib/python3.10/site-packages/pybit/_websocket_stream.py", line 84, in <lambda>
on_error=lambda ws, err: self._on_error(err)
File "/usr/local/lib/python3.10/site-packages/pybit/_websocket_stream.py", line 147, in _on_error
self._connect(self.endpoint)
AttributeError: '_FuturesWebSocketManager' object has no attribute 'endpoint'
Looks like the line should be self._connect(url) instead referenceing def __init__, however url is not a class variable, and it is limited within the scope of __init__. Should the variable url be stored as self.url instead?
The text was updated successfully, but these errors were encountered:
pybit/pybit/_websocket_stream.py
Line 147 in 114bc0b
Error:
Looks like the line should be
self._connect(url)
instead referenceingdef __init__
, however url is not a class variable, and it is limited within the scope of__init__
. Should the variableurl
be stored asself.url
instead?The text was updated successfully, but these errors were encountered: