def get_exp_metadata_dicts_matching_query(query_string, search_cursor, user_id):
 (exp_ids, new_search_cursor) = exp_services.get_exploration_ids_matching_query(query_string, cursor=search_cursor)
 exploration_list = get_exploration_metadata_dicts(exp_ids, user_id)
 return (exploration_list, new_search_cursor)

def get_exp_metadata_dicts_matching_query ( query_string , search_cursor , user_id ) : ( exp_ids , new_search_cursor ) = exp_services . get_exploration_ids_matching_query ( query_string , cursor = search_cursor ) exploration_list = get_exploration_metadata_dicts ( exp_ids , user_id ) return ( exploration_list , new_search_cursor )
given a query string and a search cursor .