python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

feat(run): add helloworld samples for FastAPI, Streamlit and Gradio

Open jackwotherspoon opened this issue 5 months ago • 5 comments

This PR adds "Hello World" samples for Cloud Run deployments with new buildpacks support for FastAPI (uvicorn), Streamlit and Gradio.

jackwotherspoon avatar Jul 29 '25 19:07 jackwotherspoon

Here is the summary of changes.

You are about to add 2 region tags.

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • [ ] Refresh this comment

snippet-bot[bot] avatar Jul 29 '25 19:07 snippet-bot[bot]

@jackwotherspoon thanks for the PR. Would it be possible to add a Gradio tutorial too?

We will also have out of the box Gradio support. And Gradio is quite popular in the data / AI community.

steren avatar Jul 31 '25 15:07 steren

Would it be possible to add a Gradio tutorial too?

We will also have out of the box Gradio support. And Gradio is quite popular in the data / AI community.

@steren I have added a Gradio sample, just need to work on some tests for it 👍

jackwotherspoon avatar Jul 31 '25 15:07 jackwotherspoon

Is this PR ready for review? if so please change it away from "draft"

glasnt avatar Aug 15 '25 00:08 glasnt

Is this PR ready for review? if so please change it away from "draft"

Yup, the feature has now rolled out, I will work on adding integration tests and then mark ready for review 👍

jackwotherspoon avatar Aug 15 '25 13:08 jackwotherspoon