code: def _reduce_datetimes(row):
      """Receives a row, converts datetimes to strings."""
  
      row = list(row)
  
      for i in range(len(row)):
          if hasattr(row[i], "isoformat"):
              row[i] = row[i].isoformat()
      return tuple(row)
  
imports: import os
  from sys import stdout
  from collections import OrderedDict
  from contextlib import contextmanager
  from inspect import isclass
  import tablib
  from docopt import docopt
  from sqlalchemy import create_engine, exc, inspect, text
label_desc: Use image node_id 2 for calling a global function with example usage: _reduce_datetimes(row) and returns: tuple