[ 
https://issues.apache.org/jira/browse/AIRFLOW-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957503#comment-16957503
 ] 

ASF GitHub Bot commented on AIRFLOW-5710:
-----------------------------------------

milton0825 commented on pull request #6332: [AIRFLOW-5710] Optionally raise 
exception on unused operator arguments.
URL: https://github.com/apache/airflow/pull/6332
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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)

Reply via email to