MCPcopy Create free account
hub / github.com/SandAI-org/MAGI-1 / reset

Method reset

inference/common/timer.py:41–49  ·  view source on GitHub ↗

Reset the recorded message and time. This method clears the previous message and time, allowing for a fresh start in recording new events.

(self)

Source from the content-addressed store, hash-verified

39 self.prev_time: datetime = None
40
41 def reset(self):
42 """
43 Reset the recorded message and time.
44
45 This method clears the previous message and time, allowing for a fresh
46 start in recording new events.
47 """
48 self.prev_message = None
49 self.prev_time = None
50
51 def synced_record(self, message):
52 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected