Commit c302b2c
migration note on subqueries
Under 2.0, calls to `in_` and `not_in` no longer accept an explicit `.subquery()`.
Passing a `.subquery()` will cause typing issues from MyPy AND will raise runtime warnings.
There was no note of this in the migration guide. This may be an effect of another change that is disclosed in the migration guide. If so, I suggest nesting this text (or improved text describing this) under that section for ease in discovery and migration.
Added a note to the 2.0 migration guide.
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)
-->
This pull request is:
- [x] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
must include a complete example of the issue. one line code fixes without an
issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests. one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.
**Have a nice day!**
Closes: #11107
Pull-request: #11107
Pull-request-sha: f8669da
Change-Id: Id33779cb126a700d9adebe5f08f9d6c085589db41 parent 1178516 commit c302b2cCopy full SHA for c302b2c
2 files changed
+34-1Lines changed: 34 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/build
- changelog
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
Collapse file
doc/build/changelog/migration_20.rst
Copy file name to clipboardExpand all lines: doc/build/changelog/migration_20.rst+33Lines changed: 33 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
549 | 549 | |
550 | 550 | |
551 | 551 | |
| 552 | + |
552 | 553 | |
553 | 554 | |
554 | 555 | |
| ||
2092 | 2093 | |
2093 | 2094 | |
2094 | 2095 | |
| 2096 | + |
| 2097 | + |
| 2098 | + |
| 2099 | + |
| 2100 | + |
| 2101 | + |
| 2102 | + |
| 2103 | + |
| 2104 | + |
| 2105 | + |
| 2106 | + |
| 2107 | + |
| 2108 | + |
| 2109 | + |
| 2110 | + |
| 2111 | + |
| 2112 | + |
| 2113 | + |
| 2114 | + |
| 2115 | + |
| 2116 | + |
| 2117 | + |
| 2118 | + |
| 2119 | + |
| 2120 | + |
| 2121 | + |
| 2122 | + |
| 2123 | + |
| 2124 | + |
| 2125 | + |
| 2126 | + |
| 2127 | + |
2095 | 2128 | |
2096 | 2129 | |
2097 | 2130 | |
|
0 commit comments