You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/11 02:32:12 UTC
[GH] (airflow/worktree-foamy-dazzling-boole): Workflow run "Tests" is working again!
The GitHub Actions job "Tests" on airflow.git/worktree-foamy-dazzling-boole has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).
Head commit for run:
7e96c88d7fa42d9a8a1e74daae8346838f7e87af / Kaxil Naik <ka...@gmail.com>
Validate operator arg types at decoration time in @task decorator
Previously, passing wrong types to @task kwargs (e.g.
`@task(task_id="fetch_{}".format)` or `@task(retries="three")`)
was silently accepted at decoration time. Type errors only surfaced
later when the task was invoked inside a DAG context, or not at all
if the task was never used.
Now validates all kwargs against BASEOPERATOR_ARGS_EXPECTED_TYPES
in _TaskDecorator.__attrs_post_init__, catching type mismatches
immediately at decoration time.
Closes #65028
Report URL: https://github.com/apache/airflow/actions/runs/24271236617
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org