MCPcopy Create free account
hub / github.com/THUDM/AgentBench / __eq__

Method __eq__

src/server/tasks/knowledgegraph/api.py:31–35  ·  view source on GitHub ↗
(self, __value: object)

Source from the content-addressed store, hash-verified

29 return hash(self.program)
30
31 def __eq__(self, __value: object) -> bool:
32 if isinstance(__value, Variable):
33 return self.program == __value.program
34 else:
35 return False
36
37 def __repr__(self) -> str:
38 return self.program

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected