code: def datetime_to_isoformat(o):
      if isinstance(o, datetime):
          return o.isoformat()
      return None
  
imports: import getpass
  import re
  from _socket import gethostname
  from datetime import datetime
  from typing import Optional, Any
  from ..backend_api.services import projects, queues
  from ..debugging.log import get_logger, LoggerRoot
label_desc: Use image node_id 14 for calling a global function with example usage: datetime_to_isoformat(o) and returns: None, o