Skip to content

specify --export-interface-name options to componentize-py#145

Merged
dicej merged 2 commits intospinframework:mainfrom
dicej:rename-exports
Apr 9, 2026
Merged

specify --export-interface-name options to componentize-py#145
dicej merged 2 commits intospinframework:mainfrom
dicej:rename-exports

Conversation

@dicej
Copy link
Copy Markdown
Collaborator

@dicej dicej commented Apr 8, 2026

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

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>
@dicej dicej requested review from itowlson and vdice April 8, 2026 22:29
@dicej
Copy link
Copy Markdown
Collaborator Author

dicej commented Apr 8, 2026

This is a draft until componentize-py 0.22.1 is released (which will happen once CI finishes in that repo).

...which hasn't been released yet, but will be soon.

Signed-off-by: Joel Dice <joel.dice@akamai.com>
@dicej dicej marked this pull request as ready for review April 8, 2026 23:58
@dicej dicej merged commit d5cdbc9 into spinframework:main Apr 9, 2026
2 checks passed
@dicej dicej deleted the rename-exports branch April 9, 2026 00:27
vdice added a commit to vdice/spin-python-sdk that referenced this pull request Apr 9, 2026
Signed-off-by: Vaughn Dice <vdice@akamai.com>
dicej pushed a commit that referenced this pull request Apr 9, 2026
Signed-off-by: Vaughn Dice <vdice@akamai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants