Warning: Python support in Workers is experimental and things will break. This example is meant for reference only right now; you should be prepared to update your code between now and official release time as APIs may change.
First ensure that your Wrangler version is up to date (3.30.0 and above).
$ wrangler -v
⛅️ wrangler 3.30.0Now, you must set up a KV namespace. Edit wrangler.toml to reflect the KV namespace you created.
Now, if you run wrangler dev within this directory, it should use the config
in wrangler.toml to run the example.
You can also run wrangler deploy to deploy the example.