Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ _send
Function
_send
src/tools/REPLTool/kernel.py:15–17 ·
view source on GitHub ↗
(message)
Source
from the content-addressed store, hash-verified
13
14
15
def
_send(message):
16
payload = (json.dumps(message) +
"\n"
).encode(
"utf-8"
)
17
os.write(sys.__stdout__.fileno(), payload)
18
19
20
def
_format_error(error):
Callers
2
_run_tool
Function · 0.70
_handle_exec
Function · 0.70
Calls
1
write
Method · 0.45
Tested by
no test coverage detected