sanket2000 commented on PR #39823:
URL: https://github.com/apache/airflow/pull/39823#issuecomment-2130290951

   To reproduce: 
   ```python
   from airflow.models.dag import DAG
   from airflow.sensors.base import BaseSensorOperator
   
   
   class DummySensor(BaseSensorOperator):
       def __init__(self, return_value=False, **kwargs):
           super().__init__(**kwargs)
           self.return_value = return_value
   
       def poke(self, context):
           return self.return_value
   
   
   with DAG(dag_id="base_sensor_test") as d:
   
       s = DummySensor(
           task_id="sensor",
           mode="reschedule",
           exponential_backoff=True,
       )
   ```
   Task Log: 
[attempt=1.log](https://github.com/apache/airflow/files/15439386/attempt.1.log)
   
   
![image](https://github.com/apache/airflow/assets/52121362/a975e84e-b97c-4e57-9ab3-20b4f5d72d29)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to