class_docstr: Interact with Trino through trino package.
  
  >>> ph = TrinoHook()
  >>> sql = "SELECT count(1) AS num FROM airflow.static_babynames"
  >>> ph.get_records(sql)
  [[340698]]
class_docstr_tok: ["Interact","with","Trino","through","trino","package",".",">",">",">","ph","=","TrinoHook","(",")",">",">",">","sql","=","``","SELECT","count","(","1",")","AS","num","FROM","airflow.static_babynames","''",">",">",">","ph.get_records","(","sql",")","[","[","340698","]","]"]
docstr: Returns Trino dialect.
docstr_tok: ["Returns","Trino","dialect","."]
code: def get_openlineage_database_dialect(self, _):
      """Returns Trino dialect."""
      return "trino"
  
imports: from __future__ import annotations
  import json
  import os
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Iterable, Mapping, TypeVar
  import trino
  from trino.exceptions import DatabaseError
  from trino.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.helpers import exactly_one
  from airflow.utils.operator_helpers import AIRFLOW_VAR_NAME_FORMAT_MAPPING, DEFAULT_FORMAT_PREFIX
label_desc: Use image node_id 10 for calling the TrinoHook obj's underlying member method code with example usage: obj.get_openlineage_database_dialect(_) and returns: str