parameters: (self, version: str, client_id: str, client_secret: str, variant: str,
                   cache_dir: str = None, web_service_base_url: str = None,
                   logger: logging.Logger = None)
docstring: Initialize instance.
  
          :param version: version string
          :param variant: build variant string
          :param cache_dir: full path to cache directory as a string
          :param web_service_base_url: URL of symbolizer web service
docstring_summary: Initialize instance.
docstring_tokens: Initialize instance .
function: def __init__(self, version: str, client_id: str, client_secret: str, variant: str,
                   cache_dir: str = None, web_service_base_url: str = None,
                   logger: logging.Logger = None):
          """
          Initialize instance.
  
          :param version: version string
          :param variant: build variant string
          :param cache_dir: full path to cache directory as a string
          :param web_service_base_url: URL of symbolizer web service
          """
          self.version = version
          self.variant = variant
          self.cache_dir = cache_dir or self.default_cache_dir
          self.web_service_base_url = web_service_base_url or self.default_web_service_base_url
  
          if not logger:
              logging.basicConfig()
              logger = logging.getLogger('symbolizer')
              logger.setLevel(logging.INFO)
          self.logger = logger
  
          self.http_client = requests.Session()
  
          self.multiversion_setup = SetupMultiversion(
              DownloadOptions(download_symbols=True, download_binaries=True), variant=self.variant,
              ignore_failed_push=True)
          self.debug_symbols_url = None
          self.url = None
          self.configs = Configs(
              client_credentials_scope=self.default_client_credentials_scope,
              client_credentials_user_name=self.default_client_credentials_user_name)
          self.client_id = client_id
          self.client_secret = client_secret
          self.path_options = PathOptions()
  
          if not os.path.exists(self.cache_dir):
              os.makedirs(self.cache_dir)
  
          self.authenticate()
          self.setup_urls()
function_tokens: def __init__ ( self , version : str , client_id : str , client_secret : str , variant : str , cache_dir : str = None , web_service_base_url : str = None , logger : logging . Logger = None ) : self . version = version self . variant = variant self . cache_dir = cache_dir or self . default_cache_dir self . web_service_base_url = web_service_base_url or self . default_web_service_base_url if not logger : logging . basicConfig ( ) logger = logging . getLogger ( 'symbolizer' ) logger . setLevel ( logging . INFO ) self . logger = logger self . http_client = requests . Session ( ) self . multiversion_setup = SetupMultiversion ( DownloadOptions ( download_symbols = True , download_binaries = True ) , variant = self . variant , ignore_failed_push = True ) self . debug_symbols_url = None self . url = None self . configs = Configs ( client_credentials_scope = self . default_client_credentials_scope , client_credentials_user_name = self . default_client_credentials_user_name ) self . client_id = client_id self . client_secret = client_secret self . path_options = PathOptions ( ) if not os . path . exists ( self . cache_dir ) : os . makedirs ( self . cache_dir ) self . authenticate ( ) self . setup_urls ( )