(self)
| 33 | self.call = call or (lambda: None) |
| 34 | |
| 35 | def is_active(self): |
| 36 | if self.trading: |
| 37 | if not self.clock_engine.trading_state: |
| 38 | return False |
| 39 | return int(self.clock_engine.now) % self.second == 0 |
| 40 | |
| 41 | def __eq__(self, other): |
| 42 | if isinstance(other, ClockIntervalHandler): |
nothing calls this directly
no outgoing calls
no test coverage detected