airflow.providers.google.cloud.hooks.looker
¶
This module contains a Google Cloud Looker hook.
Module Contents¶
Classes¶
Hook for Looker APIs. |
|
Custom implementation of Looker SDK's ApiSettings class. |
|
The job status string. |
- class airflow.providers.google.cloud.hooks.looker.LookerHook(looker_conn_id)[source]¶
Bases:
airflow.hooks.base.BaseHook
Hook for Looker APIs.
- start_pdt_build(model, view, query_params=None)[source]¶
Submits a PDT materialization job to Looker.
- check_pdt_build(materialization_id)[source]¶
Gets the PDT materialization job status from Looker.
- Parameters
materialization_id (str) – Required. The materialization id to check status for.
- pdt_build_status(materialization_id)[source]¶
Gets the PDT materialization job status.
- Parameters
materialization_id (str) – Required. The materialization id to check status for.
- stop_pdt_build(materialization_id)[source]¶
Starts a PDT materialization job cancellation request.
- Parameters
materialization_id (str) – Required. The materialization id to stop.
- class airflow.providers.google.cloud.hooks.looker.LookerApiSettings(conn)[source]¶
Bases:
looker_sdk.rtl.api_settings.ApiSettings
Custom implementation of Looker SDK’s ApiSettings class.