Skip to content

Move BaseSensor out of core and in to TaskSDK definitions #45743

@ashb

Description

@ashb

airflow.sensors.base.BaseSensor needs to live in the Task SDK as airflow.sdk.definitions.sensors.BaseSensor, and all of the providers need to be adjusted to conditionally import from TaskSDK if they can.

(I'm not sure if we've done the equivalent of this second part yet for BaseOperator etc. If we haven't they we shouldn't do it for base sensor, but instead make airflow.sensors.base "re-export" the BaseSensor from the TaskSDK module for now)

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions