Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python worker: fix broken link #128

Merged
merged 1 commit into from
May 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://github.com/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://github.com/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/)