airflow/contrib/hooks/gcp_speech_to_text_hook.py
def get_conn(self):
        """
        Retrieves connection to Cloud Speech.

        :return: Google Cloud Speech client object.
        :rtype: google.cloud.speech_v1.SpeechClient
        """
        if not self._client:
            self._client = SpeechClient(credentials=self._get_credentials())
        return self._client
def get_conn(self):
        if not self._client:
            self._client = SpeechClient(credentials=self._get_credentials())
        return self._client
def get_conn ( self ) : if not self . _client : self . _client = SpeechClient ( credentials = self . _get_credentials ( ) ) return self . _client
Retrieves connection to Cloud Speech.

        :return: Google Cloud Speech client object.
        :rtype: google.cloud.speech_v1.SpeechClient
Retrieves connection to Cloud Speech .