shashbha14 opened a new pull request, #66102: URL: https://github.com/apache/airflow/pull/66102
Closes #66101 `CronMixin` in the task-sdk (`@attrs.define` version introduced in 3.2.1) calls `croniter(self.expression)` directly without first resolving cron presets like `@quarterly` → `0 0 1 */3 *`. Croniter does not recognise `@quarterly` and raises `CroniterBadCronError`, which is re-raised as `AirflowTimetableInvalid`. Added `__attrs_post_init__` to resolve presets before use, and a `CRON_PRESETS` dict in the SDK (mirroring `airflow.utils.dates.cron_presets` from airflow-core, which the SDK cannot import). --- > I used Claude (claude.ai) as an AI assistant for parts of this implementation. -- 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]
