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] [Updated] (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 updated AIRFLOW-5710:
-----------------------------------
Fix Version/s: 1.10.6
> 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
> Fix For: 1.10.6
>
>
> 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)