code: def get_data_packet(self) -> Packet:
      with self.lock:
          self.last_committed = time.time()
          self.data["track"] = self.get_and_clear_indicators()
          self.data["time"] = time.time()
          packet = Packet(self.data)
          self.data = {}
          return packet
  
file_path: labml/client/labml/internal/tracker/writers/app.py
imports: import threading
  import time
  from typing import Dict
  import numpy
  from .None import Writer
  from ..indicators import Indicator
  from ..indicators.numeric import NumericIndicator
  from ...app import AppTracker, Packet, AppTrackDataSource
label_desc: Use image node_id 6 for calling the Writer obj's underlying member method code with example usage: obj.get_data_packet() and returns: packet