MCPcopy Create free account
hub / github.com/bugy/script-server / __str__

Method __str__

src/model/value_wrapper.py:13–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 return self.script_arg
12
13 def __str__(self) -> str:
14 if self.secure_value is not None:
15 return str(self.secure_value)
16
17 return str(self.script_arg)
18
19 def __eq__(self, o: object) -> bool:
20 return isinstance(o, ScriptValueWrapper) and (self.mapped_script_value == o.mapped_script_value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected