code: def add(self, d: "HistoryDict") -> None:
      self._flush()
      self._data = dict()
      self._data.update(self._track_history_dict(d))
  
imports: import glob
  import logging
  import os
  import queue
  import socket
  import sys
  import threading
  import time
  from typing import TYPE_CHECKING, Any, Dict, List, Optional
  import wandb
  from wandb import util
  from wandb.sdk.interface.interface import GlobStr
  from wandb.sdk.lib import filesystem
  from wandb.viz import CustomChart
  from .None import run
label_desc: Use image node_id 3 for calling the TBHistory obj's underlying member method code with example usage: obj.add(d) without return types