def _reduce_datetimes(row):
row = list(row)<EOL>for i in range(len(row)):<EOL><INDENT>if hasattr(row[i], '<STR_LIT>'):<EOL><INDENT>row[i] = row[i].isoformat()<EOL><DEDENT><DEDENT>return tuple(row)<EOL>
Receives a row, converts datetimes to strings.