eladkal commented on code in PR #23442:
URL: https://github.com/apache/airflow/pull/23442#discussion_r866990971


##########
airflow/providers/opsgenie/hooks/opsgenie.py:
##########
@@ -126,7 +126,7 @@ def close_alert(
                 identifier=identifier,
                 identifier_type=identifier_type,
                 close_alert_payload=close_alert_payload,
-                kwargs=kwargs,
+                **kwargs,

Review Comment:
   OK I took a deeper look
   According to the source code the function accepts kwargs
   
   
https://github.com/opsgenie/opsgenie-python-sdk/blob/0d20d2314522fc0fd8ca5f0faa16f7c96387e123/opsgenie_sdk/api/alert/__init__.py#L913
   
   and it does allow to set `async_req`
   
   
https://github.com/opsgenie/opsgenie-python-sdk/blob/0d20d2314522fc0fd8ca5f0faa16f7c96387e123/opsgenie_sdk/api/alert/__init__.py#L931
   
   Am I missing something here?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to