Skip to content

Latest commit

 

History

History
 
 

02-binding

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Bindings Example

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.

How to Run

First ensure that your Wrangler version is up to date (3.30.0 and above).

$ wrangler -v
 ⛅️ wrangler 3.30.0

Now, 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.