code: def _normalize_params(self, *paths, **query_kwargs):
          
          kwargs = {}
  
          if paths:
              fragment = paths[-1]
              if fragment:
                  if fragment.startswith("#"):
                      kwargs["fragment"] = fragment
                      paths.pop(-1)
  
              kwargs["path"] = "/".join(self.normalize_paths(*paths))
  
          kwargs["query_kwargs"] = query_kwargs
          return kwargs
docs: a lot of the helper methods are very similar, this handles their arguments