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

Method __eq__

src/model/value_wrapper.py:19–20  ·  view source on GitHub ↗
(self, o: object)

Source from the content-addressed store, hash-verified

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)
21
22 def __hash__(self) -> int:
23 return hash(self.mapped_script_value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected