[ 
https://issues.apache.org/jira/browse/AIRFLOW-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaxil Naik resolved AIRFLOW-6889.
---------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> Change mutable argument value in OpsgenieAlertHook
> --------------------------------------------------
>
>                 Key: AIRFLOW-6889
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6889
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib
>    Affects Versions: 2.0.0
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> OpsgenieAlertHook contains the following code which uses a mutable argument 
> value.
> {noformat}
> def execute(self, payload={}):
> {noformat}
> Reference: 
> https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to