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

ASF subversion and git services commented on AIRFLOW-6889:
----------------------------------------------------------

Commit 305053cb7c72220fbe32e4fab7cb1da49d5a14e2 in airflow's branch 
refs/heads/master from Kaxil Naik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=305053c ]

[AIRFLOW-6889] Change mutable argument value in OpsgenieAlertHook (#7512)



> 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