-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(#56): error in handling multiple query parameters #57
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57 +/- ##
=======================================
Coverage 97.43% 97.43%
=======================================
Files 9 9
Lines 467 467
Branches 36 36
=======================================
Hits 455 455
Misses 7 7
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Uhmmm, the type checker is complaining (although I believe If possible, could you add a test? ref:
If you want to leave it to me, I won't have time until the weekend 😂 |
The type checker blocks this as a potential type safety violation. Perhaps this can be fixed by:
Footnotes |
I spent some time investigating this. This is actually a design issue with To fix this issue, you only need to make the following modification: - params = request.query_params.multi_items()
+ params = tuple(request.query_params.multi_items()) # list(...) will also work This way, You might wonder why pyright rejected |
Fix: WSH032#56 Signed-off-by: yhl-cs <yuhl18@zju.edu.cn>
Thanks! I will release |
Summary
Fix: #56
Checklist
CONTRIBUTING.md
.