Skip to content

Commit

Permalink
python worker: fix broken link (#128)
Browse files Browse the repository at this point in the history
Update the link pointing to the python polyfill
  • Loading branch information
flavio authored May 15, 2023
1 parent 5207684 commit 5631fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/languages/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ wws runtimes install python latest

## Your first Python worker

Python workers are based on the [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) / [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) objects from the Web Fetch API. Since these entities don't exist in the Python language, the worker includes a polyfill with these two classes. You can find the [polyfill code here](https:/vmware-labs/wasm-workers-server/blob/main/metadata/repository/v1/files/python/3/python.rb).
Python workers are based on the [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) / [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) objects from the Web Fetch API. Since these entities don't exist in the Python language, the worker includes a polyfill with these two classes. You can find the [polyfill code here](https:/vmware-labs/wasm-workers-server/blob/main/metadata/repository/v1/files/python/3/poly.py).

In this example, the worker will get a request and print all the related information.

Expand Down Expand Up @@ -190,4 +190,4 @@ If you prefer, you can configure the environment variable value dynamically by f

* [Basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-basic/)
* [Key / Value](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-kv/)
* [Environment variables](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-envs/)
* [Environment variables](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-envs/)

0 comments on commit 5631fb4

Please sign in to comment.