Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Virtual-Protocol/virtuals-python
/ test_worker.py
File
test_worker.py
examples/game/test_worker.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
virtuals_sdk.game.worker
import
Worker
2
from
virtuals_sdk.game.custom_types
import
Function, Argument
3
from
virtuals_sdk.game.custom_types
import
FunctionResult, FunctionResultStatus
4
from
typing
import
Tuple
Callers
nothing calls this directly
Calls
4
Function
Class · 0.90
Argument
Class · 0.90
Worker
Class · 0.90
run
Method · 0.45
Tested by
no test coverage detected