class_docstr: PostgreSQL Database class.
docstr: Run SELECT query and return dictionaries.
code: def select_rows_dict_cursor(self, query):
      """Run SELECT query and return dictionaries."""
      self.connect()
      with self.conn.cursor(cursor_factory=DictCursor) as cur:
          cur.execute(query)
          records = cur.fetchall()
      cur.close()
      return records
  
file_path: psycopg2-tutorial/psycopg2_tutorial/db.py
imports: from .log import LOGGER
  import psycopg2
  from psycopg2.extras import DictCursor
label_desc: Use image node_id 4 for calling the Database obj's underlying member method code with example usage: obj.select_rows_dict_cursor(query) and returns: records