70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
Usage
You can run the Worker defined by your new project by executing wrangler dev in this
directory. This will start up an HTTP server and will allow you to iterate on your
Worker without having to restart wrangler.
Types and autocomplete
This project also includes a pyproject.toml with some requirements which set up autocomplete and type hints for this Python Workers project.
To get these installed you'll need uv, which you can install by following
https://docs.astral.sh/uv/getting-started/installation/.
Once uv is installed, you can run the following:
uv venv
uv sync
Then point your editor's Python plugin at the .venv directory. You should then have working
autocomplete and type information in your editor.