Uh oh!
There was an error while loading. Please reload this page.
feat: FastAPI debugger - #14606
Conversation
Codecov Report
@@ Coverage Diff @@## main #14606 +/- ##
==========================================
+ Coverage 64.89% 65.10% +0.21%
==========================================
Files 541 542 +1 Lines 25156 25418 +262 Branches 3545 3593 +48 ==========================================
+ Hits 16324 16548 +224 - Misses 8170 8184 +14 - Partials 662 686 +24
Continue to review full report at Codecov.
|
Brett Cannon (brettcannon)
commented
Nov 4, 2020
Converted to a draft as this is not ready to be reviewed. Marcelo Trylesinski (@Kludex) I will leave this here for a week, but if you are not able to get your tests ready by then I will close this PR as we try not to leave non-team member PRs as drafts since they tend to linger that way. And please sign the CLA. |
Brett Cannon (@brettcannon) I've signed the CLA, I thought the WIP was enough, thank you for moving to draft. I've added analogous tests to the ones in Flask, as the debugger is similar, but I'm not satisfied with my work. I've used replace to get the The functionality per se is working, jfyk. But instead of having Questions related to checkbox:
Do I need to do something on those? |
Kudos, SonarCloud Quality Gate passed!
|
Brett Cannon (brettcannon)
commented
Nov 4, 2020
Marcelo Trylesinski (@Kludex) no need to worry about those other checkmarks; that's mostly for the team. As for the best default, whatever makes sense for FastAPI should be it; don't read too much into how the other configurations do things. 😄 |
I didn't have the time to add the remaining tests, is it possible to not close at least until the weekend? If a pre-review is possible I'll appreciate as well. |
Brett Cannon (brettcannon)
commented
Nov 12, 2020
Marcelo Trylesinski (@Kludex) yep, as long as you're still working on it we can leave it open her for now and make an exception for you. 😄 |
Kim-Adeline Miguel (kimadeline)
left a comment
There was a problem hiding this comment.
Hi Marcelo Trylesinski (@Kludex)! It's pretty straight-forward, looks good to me so far 🙂
We made some changes to our CI checks, if you could merge/rebase main in your branch that would be great!
instead of having main.py as default on inputBox, maybe the current file would be a better option, but none of the other debuggers are doing it, so I was wondering if there's a reason...
Not that I can remember.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thank you for the review. I'm going to apply the necessary changes and rebase tomorrow. :) |
Kim-Adeline Miguel (@kimadeline) I've rebased and applied the necessary changes. Is there anything else? P.S.: I'm unable to see the coverage report... I'm waiting for it to be updated here. |
Marcelo Trylesinski (Kludex)
commented
Nov 20, 2020
Pavel Minaev (int19h)
commented
Nov 23, 2020
Marcelo Trylesinski (@Kludex) Apologies for slow response times - many people are away on Thanksgiving week. For the file name, since the configuration is going to persist once it's created, it's probably best to not pick up some transient state such as selected editor tab - if somebody is setting up FastAPI debugging for the first time, they're likely to just click through the wizard on the assumption that the defaults make sense; if it picks the default from tab selection, it's likely to be wrong more often than picking the standard entrypoint. OTOH users who know what they're doing will just enter the correct value there for their custom layout. |
Marcelo Trylesinski (Kludex)
commented
Nov 24, 2020
Pavel Minaev (@int19h) Got it! Thank you! |
Kim-Adeline Miguel (kimadeline)
left a comment
There was a problem hiding this comment.
It would be great if you could address these minor housekeeping items, but other than that great work! Thank you for your contribution Marcelo Trylesinski (@Kludex) 🙂
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Brett Cannon (brettcannon)
commented
Nov 24, 2020
Marcelo Trylesinski (@Kludex) don't wait for code coverage; it seems to be broken at the moment. |
Marcelo Trylesinski (Kludex)
commented
Nov 24, 2020
Kim-Adeline Miguel (@kimadeline) Thank you for the review :) I've applied the necessary changes.
Brett Cannon (@brettcannon) Ok, thank you. 👍 |
Brett Cannon (brettcannon)
commented
Nov 25, 2020
Thanks for the hard work on this PR, Marcelo Trylesinski (@Kludex) ! |
Marcelo Trylesinski (Kludex)
commented
Nov 25, 2020
Thank you for all the attention. You guys are great! :) Brett Cannon (@brettcannon)Pavel Minaev (@int19h)Kim-Adeline Miguel (@kimadeline) |
microsoft/vscode-python#14247microsoft/vscode-python#14606https://github.com/microsoft/vscode-python/releases/tag/2020.12.422005962 🚀 The FastAPI config starts on port 8000 by default. The previous Uvicorn config will be updated to use the same port.

For #14247
Only tests are missing.
package-lock.jsonhas been regenerated by runningnpm install(if dependencies have changed).