Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for running a web app with the run button #118

Open
isidorn opened this issue Oct 24, 2023 · 3 comments
Open

Add support for running a web app with the run button #118

isidorn opened this issue Oct 24, 2023 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality needs community feedback

Comments

@isidorn
Copy link

isidorn commented Oct 24, 2023

Testing microsoft/vscode-python#22300

from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def root():
    return {"message": "Hello World"}

If I click on the Editor Run action in the top right, the app is not actually run.
I have to go through the debug flow to choose Fast API to actually setup a proper launch.json

Could we improve the run experience so it also works?

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 24, 2023
@luabud luabud self-assigned this Oct 24, 2023
@karthiknadig karthiknadig added feature-request Request for new features or functionality and removed triage-needed Needs assignment to the proper sub-team labels Oct 24, 2023
@github-actions
Copy link

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

@luabud luabud changed the title Fast api tutorial: it would be cool if I can just run my main.py and not have to debug Add support for running a web app with the run button Oct 24, 2023
@luabud
Copy link
Member

luabud commented Oct 24, 2023

@isidorn I renamed the issue to be more generic, let me know if it doesn't represent the request accurately though and I can re-edit!

@isidorn
Copy link
Author

isidorn commented Oct 25, 2023

Makes sense, thank you!

@luabud luabud transferred this issue from microsoft/vscode-python Oct 25, 2023
@paulacamargo25 paulacamargo25 self-assigned this Feb 27, 2024
@paulacamargo25 paulacamargo25 added this to the August 2024 milestone Jul 24, 2024
@karthiknadig karthiknadig removed this from the August 2024 milestone Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality needs community feedback
Projects
None yet
Development

No branches or pull requests

4 participants