Commit d5cdbc9
authored
* specify `--export-interface-name` options to `componentize-py`
This renames a couple of exported interfaces when generating bindings to avoid
ugly class names like `WasiHttpHandler030Rc20260315` in application code.
Specifically, this renames the following exports:
- `wasi:http/handler@0.3.0-rc-2026-03-15` => `http-handler`
- `spin:redis/inbound-redis@3.0.0` => `redis-handler`
Signed-off-by: Joel Dice <joel.dice@akamai.com>
* update `componentize-py` to v0.22.1
...which hasn't been released yet, but will be soon.
Signed-off-by: Joel Dice <joel.dice@akamai.com>
---------
Signed-off-by: Joel Dice <joel.dice@akamai.com>
1 parent 9bffd96 commit d5cdbc9
59 files changed
Lines changed: 126 additions & 134 deletions
File tree
- .github/workflows
- docs/v4
- http
- wit
- exports
- imports
- examples
- external-lib-example
- hello
- matrix-math
- outgoing-request
- redis-trigger
- spin-kv
- spin-llm
- spin-mysql
- spin-outbound-mqtt
- spin-postgres
- spin-redis
- spin-sqlite
- spin-variables
- streaming
- src/spin_sdk
- http
- wit
- exports
- imports
- templates/http-py/content
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments