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

fix: iter_data must be async in litestar/connection/websocket.py #2344

Closed
wants to merge 1 commit into from

Conversation

sobolevn
Copy link
Member

I've also filled a mypy bug: python/mypy#16166

Thanks for this :)

@sobolevn sobolevn requested review from a team as code owners September 23, 2023 12:38
@provinzkraut
Copy link
Member

provinzkraut commented Sep 23, 2023

This breaks mypy though. Iirc this was the reason I didn't make the overload async when I added them. Would this be covered by the fix you proposed at mypy?

@sobolevn
Copy link
Member Author

Async support is a mess 🤦‍♂️

I will investigate what is going on.

@sobolevn
Copy link
Member Author

Closing for now.

@sobolevn sobolevn closed this Sep 23, 2023
@provinzkraut provinzkraut deleted the fix-async-overload branch September 29, 2023 14:01
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

Successfully merging this pull request may close these issues.

2 participants