code: def add_timed_event(self, time_offset, callback):
      if time_offset < 0:
          return
      self._timed_events.append((time_offset, callback))
      self._run_timed_events()
  
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 6 for calling the TimeObject obj's underlying member method code with example usage: obj.add_timed_event(time_offset, callback) without return types