code: def emit(self, record):
      try:
          msg = self.format(record)
          tqdm.write(msg)
          self.flush()
      except Exception:
          self.handleError(record)
  
file_path: sentinelsat/sentinelsat/scripts/cli.py
imports: import json
  import logging
  import math
  import os
  import re
  import click
  import geojson
  import requests.utils
  from tqdm.auto import tqdm
  from sentinelsat import __version__, make_path_filter
  from sentinelsat.sentinel import SentinelAPI, geojson_to_wkt, is_wkt, placename_to_wkt, read_geojson
label_desc: Use image node_id 2 for calling the TqdmLoggingHandler obj's underlying member method code with example usage: obj.emit(record) without return types