code: def get_client_kwargs(self):
          
          config = vars(self).copy()
          config.pop('url')
          config.pop('version', None)
          return config
docs: Get kwargs for use with the methods in :mod:`nailgun.client`.
  
          This method returns a dict of attributes that can be unpacked and used
          as kwargs via the ``**`` operator. For example::
  
              cfg = ServerConfig.get()
              client.get(cfg.url + '/api/v2', **cfg.get_client_kwargs())
  
          This method is useful because client code may not know which attributes
          should be passed from a ``ServerConfig`` object to one of the
          ``nailgun.client`` functions. Consider that the example above could
          also be written like this::
  
              cfg = ServerConfig.get()
              client.get(cfg.url + '/api/v2', auth=cfg.auth, verify=cfg.verify)
  
          But this latter approach is more fragile. It will break if ``cfg`` does
          not have an ``auth`` or ``verify`` attribute.