Joshua Carp created AIRFLOW-5710: ------------------------------------ Summary: Optionally error on unused operator arguments Key: AIRFLOW-5710 URL: https://issues.apache.org/jira/browse/AIRFLOW-5710 Project: Apache Airflow Issue Type: Improvement Components: core Affects Versions: 1.10.5 Reporter: Joshua Carp Assignee: Joshua Carp
Airflow 2.0 will error when operators are instantiated with unused keyword arguments, but for now unused arguments just raise a warning. My team has passed unused arguments to operators and not noticed the warning a few times, and it would be useful to be able to opt in to airflow 2.0 validation early. I propose adding a configuration flag that causes tasks to error on unused arguments. -- This message was sent by Atlassian Jira (v8.3.4#803005)