apache/airflow

Add test to verify parameters match between operator and decorator

開放

#48,448 建立於 2025年3月27日

 (9 則留言) (0 個反應) (0 位負責人)Python (16,781 個分叉)batch import
area:providersgood first issuekind:metaprovider:cncf-kubernetes

倉庫指標

星標
 (44,809 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南