code: def __init__(self):
      self.last_message_written_time = 0.0
  
file_path: allennlp/allennlp/common/tqdm.py
imports: import logging
  from allennlp.common import logging
  import sys
  from time import time
  from typing import Optional
label_desc: Use image node_id 1 to create a new TqdmToLogsWriter object from inherited base classes: object with example: obj = TqdmToLogsWriter()