def filter_query_params_key(remove_params):
 def filter(url):
  return filter_query_params(url, remove_params)
 return filter

def filter_query_params_key ( remove_params ) : def filter ( url ) : return filter_query_params ( url , remove_params ) return filter
returns a key function that produces a key by removing params from a url .