Conversation
|
|
||
| def with_query(self, *args, **kwargs): | ||
| @overload | ||
| def with_query(self, query: _Query) -> "URL": ... |
Check notice
Code scanning / CodeQL
Statement has no effect
| def with_query(self, query: _Query) -> "URL": ... | ||
|
|
||
| @overload | ||
| def with_query(self, **kwargs: _QueryVariable) -> "URL": ... |
Check notice
Code scanning / CodeQL
Statement has no effect
|
|
||
| def update_query(self, *args, **kwargs): | ||
| @overload | ||
| def update_query(self, query: _Query) -> "URL": ... |
Check notice
Code scanning / CodeQL
Statement has no effect
| def update_query(self, query: _Query) -> "URL": ... | ||
|
|
||
| @overload | ||
| def update_query(self, **kwargs: _QueryVariable) -> "URL": ... |
Check notice
Code scanning / CodeQL
Statement has no effect
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <webknjaz@redhat.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1084 +/- ##
==========================================
+ Coverage 93.06% 94.88% +1.82%
==========================================
Files 31 30 -1
Lines 4424 4358 -66
Branches 370 382 +12
==========================================
+ Hits 4117 4135 +18
+ Misses 281 197 -84
Partials 26 26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <webknjaz@redhat.com>
|
path shows 100% diff hit on codecov but is reporting at 99.13% here... |
Yeah, I suppose this was due to the proportion being different because the overall number of lines changed. I'm not seeing 99.13% there, though. Perhaps, it processed more reports after your comment. I suppose, it's okay to raise the |
Co-authored-by: Sam Bull <git@sambull.org>
Co-authored-by: Sam Bull <git@sambull.org>
|
I'm going to do a RC0 release so I can run this in the CI of a few projects since typing changes are always hard to predict the impact |
|
Hello, I think this change broke python 3.8 support: If I downgrade to release 1.9.7 it works again. You might want to update python requirements to indicate python>=3.9 is required |
Would you please open an issue report, I will fix it shortly |
|
Please include the multi dict version you are using in the issue |
As far as I can see, multidict has supported that syntax for ~6 years... |
|
I had to take the python 3.8 install back to multidict 4 to get it to fail. There might be a newer version that fails though as I stopped trying them once I confirmed the issue. Also even with 4 it didn’t fail on python 3.9 so I suspect the issue will go away on its own soon when we drop 3.8 |
What do these changes do?
Add typing to URL
Are there changes in behavior for the user?
no runtime changes