def apply_special_queries(query, specials):
 for i in specials:
  query = FILTERS_LIST[i](specials[i], query)
 return query

def apply_special_queries ( query , specials ) : for i in specials : query = FILTERS_LIST [ i ] ( specials [ i ] , query ) return query
apply all special queries on the current existing :query .