airflow.providers.microsoft.azure.hooks.powerbi
¶
Module Contents¶
Classes¶
Power BI refresh dataset details. |
|
Power BI refresh dataset statuses. |
|
A async hook to interact with Power BI. |
- class airflow.providers.microsoft.azure.hooks.powerbi.PowerBIDatasetRefreshFields[source]¶
Bases:
enum.Enum
Power BI refresh dataset details.
- class airflow.providers.microsoft.azure.hooks.powerbi.PowerBIDatasetRefreshStatus[source]¶
Power BI refresh dataset statuses.
- exception airflow.providers.microsoft.azure.hooks.powerbi.PowerBIDatasetRefreshException[source]¶
Bases:
airflow.exceptions.AirflowException
An exception that indicates a dataset refresh failed to complete.
- class airflow.providers.microsoft.azure.hooks.powerbi.PowerBIHook(conn_id=default_conn_name, proxies=None, timeout=60 * 60 * 24 * 7, api_version=None)[source]¶
Bases:
airflow.providers.microsoft.azure.hooks.msgraph.KiotaRequestAdapterHook
A async hook to interact with Power BI.
- Parameters
conn_id (str) – The Power BI connection id.
- classmethod get_connection_form_widgets()[source]¶
Return connection widgets to add to connection form.
- async get_refresh_history(dataset_id, group_id)[source]¶
Retrieve the refresh history of the specified dataset from the given group ID.
- classmethod raw_to_refresh_details(refresh_details)[source]¶
Convert raw refresh details into a dictionary containing required fields.
- Parameters
refresh_details (dict) – Raw object of refresh details.
- async get_refresh_details_by_refresh_id(dataset_id, group_id, refresh_id)[source]¶
Get the refresh details of the given request Id.
- Parameters
refresh_id (str) – Request Id of the Dataset refresh.