airflow.providers.microsoft.azure.operators.powerbi

Module Contents

Classes

PowerBILink

Construct a link to monitor a dataset in Power BI.

PowerBIDatasetRefreshOperator

Refreshes a Power BI dataset.

Bases: airflow.models.BaseOperatorLink

Construct a link to monitor a dataset in Power BI.

name = 'Monitor PowerBI Dataset'[source]

Link to external system.

Note: The old signature of this function was (self, operator, dttm: datetime). That is still supported at runtime but is deprecated.

Parameters
Returns

link to external system

class airflow.providers.microsoft.azure.operators.powerbi.PowerBIDatasetRefreshOperator(*, dataset_id, group_id, conn_id=PowerBIHook.default_conn_name, timeout=60 * 60 * 24 * 7, proxies=None, api_version=None, check_interval=60, **kwargs)[source]

Bases: airflow.models.BaseOperator

Refreshes a Power BI dataset.

See also

For more information on how to use this operator, take a look at the guide: PowerBIDatasetRefreshOperator

Parameters
  • dataset_id (str) – The dataset id.

  • group_id (str) – The workspace id.

  • conn_id (str) – Airflow Connection ID that contains the connection information for the Power BI account used for authentication.

  • timeout (float) – Time in seconds to wait for a dataset to reach a terminal status for asynchronous waits. Used only if wait_for_termination is True.

  • check_interval (int) – Number of seconds to wait before rechecking the refresh status.

property proxies: dict | None[source]
property api_version: str | None[source]
template_fields: Sequence[str] = ('dataset_id', 'group_id')[source]
template_fields_renderers[source]
execute(context)[source]

Refresh the Power BI Dataset.

execute_complete(context, event)[source]

Return immediately - callback for when the trigger fires.

Relies on trigger to throw an exception, otherwise it assumes execution was successful.

Was this entry helpful?