Add request argument to TemplateResponse (v1.x)#2199
Closed
alex-oleshkevich wants to merge 7 commits intoKludex:masterfrom
Closed
Add request argument to TemplateResponse (v1.x)#2199alex-oleshkevich wants to merge 7 commits intoKludex:masterfrom
alex-oleshkevich wants to merge 7 commits intoKludex:masterfrom
Conversation
aminalaee
reviewed
Jul 3, 2023
|
|
||
| def TemplateResponse( | ||
| self, | ||
| request: Request, |
Contributor
There was a problem hiding this comment.
Any reason why this is not an optional argument so it can be released without breaking?
Owner
There was a problem hiding this comment.
This was discussed on #2191.
The diff here is actually incomplete.
Owner
|
I meant to create a PR so I could see the diff between the PR that adds deprecation and what is supposed to be refactor for v1. I mean, target the PR you are building from this one. |
Contributor
Author
|
@Kludex this PR is the target repo state after removing all deprecations. |
Owner
Contributor
Author
Owner
Not after, but for 1.0. |
Owner
|
I've applied this on #2384, and given co-author to @alex-oleshkevich . FYI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR removes backward compatibility done in #2191
To be merged after 1.0 release.