(self)
| 858 | setattr(self, key, getattr(self, key) + amount) |
| 859 | |
| 860 | def start(self) -> None: |
| 861 | if self.running: |
| 862 | return |
| 863 | self.running = True |
| 864 | self.thread = threading.Thread(target=self._loop, daemon=True) |
| 865 | self.thread.start() |
| 866 | |
| 867 | def stop(self) -> None: |
| 868 | self.running = False |
no outgoing calls
no test coverage detected