MCPcopy Create free account
hub / github.com/shidenggui/easyquant / __eq__

Method __eq__

easyquant/push_engine/clock_engine.py:41–45  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

39 return int(self.clock_engine.now) % self.second == 0
40
41 def __eq__(self, other):
42 if isinstance(other, ClockIntervalHandler):
43 return self.interval == other.interval
44 else:
45 return False
46
47 def __hash__(self):
48 return self.second

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected