Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 918 Bytes

41393.significant.rst

File metadata and controls

34 lines (24 loc) · 918 Bytes

The use_task_execution_day parameter has been removed from the DayOfWeekSensor class. This parameter was previously deprecated in favor of use_task_logical_date.

If your code still uses use_task_execution_day, you should update it to use use_task_logical_date instead to ensure compatibility with future Airflow versions.

Example update:

sensor = DayOfWeekSensor(
    task_id="example",
    week_day="Tuesday",
    use_task_logical_date=True,
    dag=dag,
)
  • Types of change
    • [x] Dag changes
    • [ ] Config changes
    • [ ] API changes
    • [ ] CLI changes
    • [ ] Behaviour changes
    • [ ] Plugin changes
    • [ ] Dependency changes
    • [ ] Code interface changes
  • Migration rules needed
    • ruff
      • AIR302
        • [x] arguments use_task_execution_dayuse_task_logical_date in airflow.operators.weekday.DayOfWeekSensor