Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_received(namespace=None) does not returns the messages #2006

Closed
pravesh-sharma opened this issue Sep 5, 2023 · 5 comments
Closed

get_received(namespace=None) does not returns the messages #2006

pravesh-sharma opened this issue Sep 5, 2023 · 5 comments

Comments

@pravesh-sharma
Copy link

pravesh-sharma commented Sep 5, 2023

Describe the bug
After recent update in python-socketio, Flask-SocketIO's get_received(namespace=None) function is not returning the messages received from server it just returns an empty list. However, with older version of python-socketio everything works.

Additional context
We are using this function to write API test case for our socket implementation.

@miguelgrinberg
Copy link
Owner

Can you test the main branch and report back if the problem is addressed? I'll issue a new release once you confirm that the fix works well for you.

@pravesh-sharma
Copy link
Author

pravesh-sharma commented Sep 5, 2023

@miguelgrinberg
Thanks for such a quick response and fix really appreciate it.
Tested on main branch and it is working. You can issue a new release.

@miguelgrinberg
Copy link
Owner

Thanks. Release 5.3.6 is out with this fix!

@shivansh-vishwakarma
Copy link

Hi @miguelgrinberg
I feel like the issue still persist, can you please check and update. I am on version 5.3.6.
After emitting event to SocketIOTestClient the get_received(namespace=None) still gives [].

@shivansh-vishwakarma
Copy link

Moving the conversation to #2063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants