code: def __init__(self, total, warning_after=5):
      super(_RetryFilter, self).__init__()
      self.total = total
      self.display_warning_after = warning_after
      _RetryFilter.last_instance = self
  
imports: import logging
  import ssl
  import sys
  import requests
  from requests.adapters import HTTPAdapter
  from urllib3.util import Retry
  from urllib3 import PoolManager
  import six
  from .session.defs import ENV_HOST_VERIFY_CERT
label_desc: Use image node_id 1 to create a new _RetryFilter object from inherited base classes: logging with example: obj = _RetryFilter(total, warning_after)