apache/airflow

Add test to verify parameters match between operator and decorator

Open

#48.448 geöffnet am 27. März 2025

Auf GitHub ansehen
 (9 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (16.781 Forks)batch import
area:providersgood first issuekind:metaprovider:cncf-kubernetes

Repository-Metriken

Stars
 (44.809 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 18h) (834 gemergte PRs in 30 T)

Beschreibung

Body

We shouldn't have notes like: https://github.com/apache/airflow/blob/6508f1242c1b336728d7a256ebb8597214bbcf90/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py#L236-L237

this is very easy to miss both by PR author and the reviewer

The task: Add tests to all existed decorators to make sure the parameter list they accept match to the operator.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor Guide