Kaxil Naik created AIRFLOW-6889:
-----------------------------------

             Summary: 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


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