eladkal commented on code in PR #23442:
URL: https://github.com/apache/airflow/pull/23442#discussion_r863583183
##########
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:
Can you please also fix it in the operator
https://github.com/apache/airflow/blob/22b49d334ef0008be7bd3d8481b55b8ab5d71c80/airflow/providers/opsgenie/operators/opsgenie.py#L209
I don't remember why I added it to begin with :/
Taking another look there are no additional parameters to pass to
`close_alert` so this will only be useful if in the future the sdk will add
more params.
--
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]