class_docstr: A custom Transport Adapter with default timeouts
class_docstr_tok: ["A","custom","Transport","Adapter","with","default","timeouts"]
code: def __init__(self, *args, **kwargs):
      self.timeout = DEFAULT_TIMEOUT
      if "timeout" in kwargs:
          self.timeout = kwargs["timeout"]
          del kwargs["timeout"]
      super().__init__(*args, **kwargs)
  
imports: import os
  import re
  import sys
  import cv2
  import types
  import errno
  import stat
  import shutil
  import importlib
  import requests
  import numpy
  import logging
  import platform
  import socket
  from tqdm import tqdm
  from contextlib import closing
  from pathlib import Path
  from colorlog import ColoredFormatter
  from pkg_resources import parse_version
  from requests.adapters import HTTPAdapter, Retry
  from ..version import __version__
label_desc: Use image node_id 1 to create a new TimeoutHTTPAdapter object from inherited base classes: HTTPAdapter with example: obj = TimeoutHTTPAdapter()