airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Add missing unit tests for Task SDK EventsTimetable

Open kavix opened this issue 2 days ago • 1 comments

Description

task-sdk/src/airflow/sdk/definitions/timetables/events.py (EventsTimetable) currently has no dedicated unit tests in task-sdk/tests/task_sdk/definitions/timetables/ covering:

  • Default values for restrict_to_events and description
  • Custom restrict_to_events and description options
  • Empty event_dates=[]
  • Passing a non-list Iterable[DateTime] (e.g. a generator) to event_dates

Related

  • #77935

kavix avatar Dec 02 '26 13:12 kavix

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

boring-cyborg[bot] avatar Dec 02 '26 13:12 boring-cyborg[bot]