-
-
Notifications
You must be signed in to change notification settings - Fork 780
Fix async generator handling #1844
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks @sidux! Could you add a test? |
|
Ping @sidux |
|
@RobbeSneyders I'll take some time during this week to finish this |
|
Do you have time to add a test @sidux? |
|
@RobbeSneyders @chrisinmtown this PR is ready (sorry for the big delay) |
connexion/decorators/response.py
Outdated
| """ | ||
| This method converts a handler response to a framework response. | ||
| The handler response can be a ConnexionResponse, a framework response, a tuple or an | ||
| object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might expand the comment here to add "or a coroutine".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems really useful, adding tests for the response decorators, which apparently were completely missing. I look forward to seeing the new code-coverage statistic when this runs at Github.
Fixes #1842