Repository navigation
AsyncManager.connect() can return a coroutine after being awaited.
#1600
Closed
phi-friday
started this conversation in
General
Replies: 2 comments
|
This is incorrect, thanks for letting me know. The expected return value when you call connect on a client that is already connected is |
0 replies
|
Moved to https://code.miguelgrinberg.com/miguelgrinberg/python-socketio/issues/10010 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I maintain python-socketio-stubs. While updating the stubs for python-socketio 5.18.1, I noticed that calling
await manager.connect()twice with the same Engine.IO SID and namespace returns another coroutine on the second call.For now, I’ve annotated the return type like this:
Is this expected, or should the second call return
None?reproduce:
All reactions