def _flatten_non_string_key_value_pair(self, k, v, data):
    'Flatten only non-string key/value pairs'
    if (not util.is_picklable(k, v)):
        return data
    if (self.keys and (not isinstance(k, string_types))):
        k = self._escape_key(k)
        data[k] = self._flatten(v)
    return data
Flatten only non-string key/value pairs
def _flatten_non_string_key_value_pair(self, k, v, data):
    
    if (not util.is_picklable(k, v)):
        return data
    if (self.keys and (not isinstance(k, string_types))):
        k = self._escape_key(k)
        data[k] = self._flatten(v)
    return data