code: def _run_timed_events(self):
      reschedule = []
      for time_offset, callback in self._timed_events:
          if time_offset > self._time_elapsed:
              reschedule.append((time_offset, callback))
              continue
          callback()
      self._timed_events = reschedule
  
imports: import sys
  import threading
  import time
  from contextlib import contextmanager
  from unittest import TestCase
  from unittest.mock import Mock, patch
  from parameterized import parameterized
  from wandb.proto import wandb_internal_pb2
  from wandb.sdk.lib.mailbox import Mailbox, MailboxProbe, MailboxProgress
label_desc: Use image node_id 5 for calling the TimeObject obj's underlying member method code with example usage: obj._run_timed_events() without return types