Changed the 2nd argument to get_key_value_pair to be a keyword argument.