MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / captured_text

Function captured_text

e2e/mcp-conformance/host-bridge.py:84–89  ·  view source on GitHub ↗
(value: str | bytes | None)

Source from the content-addressed store, hash-verified

82
83
84def captured_text(value: str | bytes | None) -> str:
85 if value is None:
86 return ""
87 if isinstance(value, bytes):
88 return value.decode("utf-8", errors="replace")
89 return value
90
91
92def subprocess_env(

Callers 1

do_POSTMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected