class_docstr: Interact with Presto through prestodb.
  
  >>> ph = PrestoHook()
  >>> sql = "SELECT count(1) AS num FROM airflow.static_babynames"
  >>> ph.get_records(sql)
  [[340698]]
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self._placeholder: str = "?"
  
imports: from __future__ import annotations
  import json
  import os
  from typing import TYPE_CHECKING, Any, Iterable, Mapping, TypeVar
  import prestodb
  from prestodb.exceptions import DatabaseError
  from prestodb.transaction import IsolationLevel
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
  from airflow.providers.common.sql.hooks.sql import DbApiHook
  from airflow.utils.operator_helpers import AIRFLOW_VAR_NAME_FORMAT_MAPPING, DEFAULT_FORMAT_PREFIX
label_desc: Use image node_id 1 to create a new PrestoHook object from inherited base classes: DbApiHook with example: obj = PrestoHook()