class_docstr: Hook for Looker APIs.
class_docstr_tok: ["Hook","for","Looker","APIs","."]
docstr: Returns Looker SDK client for Looker API 4.0.
docstr_tok: ["Returns","Looker","SDK","client","for","Looker","API","4.0","."]
code: def get_looker_sdk(self):
      """Returns Looker SDK client for Looker API 4.0."""
      conn = self.get_connection(self.looker_conn_id)
      settings = LookerApiSettings(conn)
  
      transport = requests_transport.RequestsTransport.configure(
          settings
      )
      return methods40.Looker40SDK(
          auth_session.AuthSession(
              settings, transport, serialize.deserialize40, "4.0"
          ),
          serialize.deserialize40,
          serialize.serialize40,
          transport,
          "4.0",
      )
  
imports: from __future__ import annotations
  import json
  import time
  from enum import Enum
  from typing import TYPE_CHECKING
  from looker_sdk.rtl import api_settings, auth_session, requests_transport, serialize
  from looker_sdk.sdk.api40 import methods
  from packaging.version import parse
  from airflow.exceptions import AirflowException
  from airflow.hooks.base import BaseHook
  from airflow.version import version
label_desc: Use image node_id 7 for calling the LookerHook obj's underlying member method code with example usage: obj.get_looker_sdk() and returns: methods40