code: def _get_version(conn):
      # this is the suggested way of finding the mode, from
      # https://python-oracledb.readthedocs.io/en/latest/user_guide/tracing.html#vsessconinfo
      sql = (
          "SELECT UNIQUE CLIENT_DRIVER "
          "FROM V$SESSION_CONNECT_INFO "
          "WHERE SID = SYS_CONTEXT('USERENV', 'SID')"
      )
      return conn.exec_driver_sql(sql).scalar()
  
imports: from sqlalchemy import create_engine
label_desc: Use image node_id 1 for calling a global function with example usage: _get_version(conn) and returns: conn