code: def get_session(config=None, config_file=None, debug=None, http_adapter_kwargs=None):
      
      return session.ArchiveSession(config, config_file, debug, http_adapter_kwargs)
docs: Return a new :class:`ArchiveSession` object. The :class:`ArchiveSession`
      object is the main interface to the ``internetarchive`` lib. It allows you to
      persist certain parameters across tasks.
  
      :type config: dict
      :param config: (optional) A dictionary used to configure your session.
  
      :type config_file: str
      :param config_file: (optional) A path to a config file used to configure your session.
  
      :type http_adapter_kwargs: dict
      :param http_adapter_kwargs: (optional) Keyword arguments that
                                  :py:class:`requests.adapters.HTTPAdapter` takes.
  
      :returns: :class:`ArchiveSession` object.
  
      Usage:
  
          >>> from internetarchive import get_session
          >>> config = dict(s3=dict(access='foo', secret='bar'))
          >>> s = get_session(config)
          >>> s.access_key
          'foo'
  
      From the session object, you can access all of the functionality of the
      ``internetarchive`` lib:
  
          >>> item = s.get_item('nasa')
          >>> item.download()
          nasa: ddddddd - success
          >>> s.get_tasks(task_ids=31643513)[0].server
          'ia311234'