code: def cast_row_types(row, field_types):
      """ """
      keys = [x for x in row.keys() if x in field_types]
      for key in keys:
          t = field_types[key]
          if t == "Timestamp" and isinstance(row[key], (int, float)):
              timestamp = datetime.datetime.utcfromtimestamp(row[key])
              row[key] = timestamp.strftime("%Y-%m-%d %H:%M:%S")
          elif t == "Date" and isinstance(row[key], (int, float)):
              timestamp = datetime.datetime.utcfromtimestamp(row[key])
              row[key] = timestamp.strftime("%Y-%m-%d")
          elif t == "Int" and isinstance(row[key], (int, float, str)):
              try:
                  logger.debug(f"cast {row[key]} to {int(row[key])}")
                  row[key] = int(row[key])
              except Exception:
                  pass
  
imports: import argparse
  import datetime
  from functools import wraps
  import hashlib
  import base64
  from cryptography.fernet import Fernet
  from collections.abc import Callable
  import requests
  from mindsdb_sql import get_lexer_parser
  from mindsdb_sql.parser.ast import Identifier
  from mindsdb.utilities.fs import create_process_mark, delete_process_mark, set_process_mark
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling a global function with example usage: cast_row_types(row, field_types) without return types