code: def _create_filter_dsl(urlkwargs, definitions):
      
      filters = []
      for name, filter_factory in definitions.items():
          values = request.values.getlist(name, type=text_type)
          if values:
              filters.append(filter_factory(values))
              for v in values:
                  urlkwargs.add(name, v)
  
      return (filters, urlkwargs)
docs: Create a filter DSL expression.