Skip to content

Commit 59801b0

Browse files
committed
Consolidate imports from airflow.providers.common.compat.sdk
1 parent cba7c54 commit 59801b0

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

  • providers/dbt/cloud/src/airflow/providers/dbt/cloud

providers/dbt/cloud/src/airflow/providers/dbt/cloud/operators/dbt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
from pathlib import Path
2424
from typing import TYPE_CHECKING, Any
2525

26-
from airflow.providers.common.compat.sdk import conf
27-
from airflow.providers.common.compat.sdk import BaseOperator, BaseOperatorLink, XCom
26+
from airflow.providers.common.compat.sdk import BaseOperator, BaseOperatorLink, XCom, conf
2827
from airflow.providers.dbt.cloud.hooks.dbt import (
2928
DbtCloudHook,
3029
DbtCloudJobRunException,

providers/dbt/cloud/src/airflow/providers/dbt/cloud/sensors/dbt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
from functools import cached_property
2121
from typing import TYPE_CHECKING, Any
2222

23-
from airflow.providers.common.compat.sdk import conf
24-
from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
23+
from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator, conf
2524
from airflow.providers.dbt.cloud.hooks.dbt import DbtCloudHook, DbtCloudJobRunException, DbtCloudJobRunStatus
2625
from airflow.providers.dbt.cloud.triggers.dbt import DbtCloudRunJobTrigger
2726
from airflow.providers.dbt.cloud.utils.openlineage import generate_openlineage_events_from_dbt_cloud_run

0 commit comments

Comments
 (0)