class_docstr: Helper class responsible for TF-Hub module download and extraction.
class_docstr_tok: ["Helper","class","responsible","for","TF-Hub","module","download","and","extraction","."]
docstr: Streams the content for the 'fileobj' and stores the result in dst_path.
  
  Args:
    fileobj: File handle pointing to .tar/.tar.gz content.
    dst_path: Absolute path where to store uncompressed data from 'fileobj'.
  
  Raises:
    ValueError: Unknown object encountered inside the TAR file.
docstr_tok: ["Streams","the","content","for","the","'fileobj","'","and","stores","the","result","in","dst_path",".","Args",":","fileobj",":","File","handle","pointing","to",".tar\/.tar.gz","content",".","dst_path",":","Absolute","path","where","to","store","uncompressed","data","from","'fileobj","'",".","Raises",":","ValueError",":","Unknown","object","encountered","inside","the","TAR","file","."]
code: def download_and_uncompress(self, fileobj, dst_path):
      """Streams the content for the 'fileobj' and stores the result in dst_path.
  
      Args:
        fileobj: File handle pointing to .tar/.tar.gz content.
        dst_path: Absolute path where to store uncompressed data from 'fileobj'.
  
      Raises:
        ValueError: Unknown object encountered inside the TAR file.
      """
      try:
          file_utils.extract_tarfile_to_destination(
              fileobj, dst_path, log_function=self._log_progress
          )
          total_size_str = tf_utils.bytes_to_readable_str(
              self._total_bytes_downloaded, True
          )
          self._print_download_progress_msg(
              "Downloaded %s, Total size: %s"
              % (self._url, total_size_str),
              flush=True,
          )
      except tarfile.ReadError:
          raise IOError(
              "%s does not appear to be a valid module." % self._url
          )
  
imports: import abc
  import datetime
  import enum
  import os
  import socket
  import ssl
  import sys
  import tarfile
  import tempfile
  import time
  import urllib
  import uuid
  from absl import flags
  from absl import logging
  import tensorflow
  from tensorflow_hub import file_utils
  from tensorflow_hub import tf_utils
label_desc: Use image node_id 5 for calling the DownloadManager obj's underlying member method code with example usage: obj.download_and_uncompress(fileobj, dst_path) without return types