Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/component-docs
/ Add
Class
Add
component-model/examples/tutorial/python/app.py:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
wit_world
import
exports
2
3
class
Add(exports.Add):
4
def
add(self, x: int, y: int) -> int:
5
return
x + y
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected