MCPcopy Create free account
hub / github.com/IBM/mcp-cli / __str__

Method __str__

tests/utils/test_serialization.py:121–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 def test_fallback_to_str(self):
120 class Custom:
121 def __str__(self):
122 return "custom_repr"
123
124 assert to_serializable(Custom()) == "custom_repr"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected