[
https://issues.apache.org/jira/browse/AIRFLOW-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957504#comment-16957504
]
ASF subversion and git services commented on AIRFLOW-5710:
----------------------------------------------------------
Commit e9d65e3d21f2aa6eaeb557b2960730628540127f in airflow's branch
refs/heads/master from Joshua Carp
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=e9d65e3 ]
[AIRFLOW-5710] Optionally raise exception on unused operator arguments. (#6332)
> 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
> Priority: Trivial
>
> 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)