Closed
Description
BaseSensorOperator
has some logic to use max_tries
from Context as well as access DB directly. This won't work with Task SDK and as such DAGs like example_sensor_decorator
will fail.
airflow/airflow/sensors/base.py
Lines 219 to 243 in 6844cce


The max_tries
is easier since we can pass it we can in the following code and re-generate the API client.
airflow/airflow/executors/workloads.py
Lines 42 to 52 in 168f765
Replacing direct DB access in that BaseSensorOperator
, on the other hand, needs to be figured out!