class_docstr: PostgreSQL Database class.
code: def __init__(
      self,
      DATABASE_HOST,
      DATABASE_USERNAME,
      DATABASE_PASSWORD,
      DATABASE_PORT,
      DATABASE_NAME,
  ):
      self.host = DATABASE_HOST
      self.username = DATABASE_USERNAME
      self.password = DATABASE_PASSWORD
      self.port = DATABASE_PORT
      self.dbname = DATABASE_NAME
      self.conn = None
  
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 1 to create a new Database object  with example: obj = Database(DATABASE_HOST, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_PORT, DATABASE_NAME)