class_docstr: Thread to continuously read from the queue and fetch the files
class_docstr_tok: ["Thread","to","continuously","read","from","the","queue","and","fetch","the","files"]
code: def __init__(
      self,
      fetcher: fetchers.Fetcher,
      work_queue: queue.Queue,
      new_file_callback: Callable,
      *args: Any,
      **kwargs: Any,
  ) -> None:
      self._fetcher = fetcher
      self._work_queue = work_queue
      self._new_file_callback = new_file_callback
      super().__init__(*args, **kwargs)
  
imports: import json
  import logging
  import os
  import queue
  import subprocess
  import sys
  import tempfile
  import threading
  import time
  from typing import Any, Callable, Dict, List
  import boto3
  import requests
  from packaging import version
  import determined
  import determined.common
  from determined.tensorboard import fetchers
label_desc: Use image node_id 1 to create a new TBFetchThread object from inherited base classes: threading with example: obj = TBFetchThread(fetcher, work_queue, new_file_callback)