code: def _select_columns_from_table(
      conn: Connection, column_names: list[str], table_name: str
  ) -> Row:
      return conn.execute(
          f"SELECT id, {','.join(column_names)} FROM {table_name}"
      )
  
imports: import logging
  from abc import ABC, abstractmethod
  from typing import Any, Optional
  from flask import Flask
  from flask_babel import lazy_gettext
  from sqlalchemy import text, TypeDecorator
  from sqlalchemy.engine import Connection, Dialect, Row
  from sqlalchemy_utils import EncryptedType
label_desc: Use image node_id 4 for calling the SecretsMigrator obj's underlying member method code with example usage: obj._select_columns_from_table(conn, column_names, table_name) and returns: conn