You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chao-Han Tsai (Jira)" <ji...@apache.org> on 2019/10/23 02:53:00 UTC
[jira] [Resolved] (AIRFLOW-5710) Optionally error on unused
operator arguments
[ https://issues.apache.org/jira/browse/AIRFLOW-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao-Han Tsai resolved AIRFLOW-5710.
------------------------------------
Resolution: Fixed
> 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)