class_docstr: Interact with Apache Impala through impyla.
class_docstr_tok: ["Interact","with","Apache","Impala","through","impyla","."]
code: def get_conn(self) -> Connection:
      conn_id: str = getattr(self, self.conn_name_attr)
      connection = self.get_connection(conn_id)
      return connect(
          host=connection.host,
          port=connection.port,
          user=connection.login,
          password=connection.password,
          database=connection.schema,
          **connection.extra_dejson,
      )
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from impala.dbapi import connect
  from airflow.providers.common.sql.hooks.sql import DbApiHook
label_desc: Use image node_id 1 for calling the ImpalaHook obj's underlying member method code with example usage: obj.get_conn() and returns: connect