airflow
airflow copied to clipboard
Add missing unit tests for Task SDK EventsTimetable
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_eventsanddescription - Custom
restrict_to_eventsanddescriptionoptions - Empty
event_dates=[] - Passing a non-list
Iterable[DateTime](e.g. a generator) toevent_dates
Related
- #77935
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.