-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Deprecate app.make_handler() in favor of runners API #2875
Comments
The issue is mostly about documentation update (and a little coding). |
I'd like to do this, but would it possible to get some more information about this change. So you want to depreciate the use of app._make_handler() as a "public" api and rename it to app._make_handler()? But the behavior shouldn't be changed right? as the method is still used by AppRunner. How about the tests inside test_web_app? When I changed the method name to app._handle_request() they kept failing despite changing the method names in the tests. Also what is the convention for depreciating a method? I couldn't find any example when I looked through the documentation. Is it the .. versionchanged:: 3.2 and then a note about the specific change? |
The step-by-step instruction is:
|
Thank you for the clarification. I'll get to work |
Fixed by #2938 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Don't change internal logic a lot but add
app._make_handler()
internal method and reuse it by runners.More intrusive changes can be done after
app.make_handler()
removal.Document
app.make_handler()
as deprecated, drop the usage fromlogging.rst
andtesting.rst
.The text was updated successfully, but these errors were encountered: