MCPcopy Create free account
hub / github.com/Noumena-Network/code / _join_outputs

Function _join_outputs

rust/py_repl_host/assets/kernel.py:28–33  ·  view source on GitHub ↗
(stdout_text, stderr_text)

Source from the content-addressed store, hash-verified

26
27
28def _join_outputs(stdout_text, stderr_text):
29 if stdout_text and stderr_text:
30 return f"{stdout_text}\n{stderr_text}"
31 if stdout_text:
32 return stdout_text
33 return stderr_text
34
35
36pending_tool = {}

Callers 1

_handle_execFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected