bperson opened a new pull request, #23442:
URL: https://github.com/apache/airflow/pull/23442

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   Currently, using the Opsgenie provider `close` feature will fail:
   ```
   Traceback (most recent call last):
     File 
"/opt/airflow/lib/python3.9/site-packages/airflow/providers/opsgenie/hooks/opsgenie.py",
 line 125, in close_alert
       api_response = self.alert_api_instance.close_alert(
     File 
"/opt/airflow/lib/python3.9/site-packages/opsgenie_sdk/api/alert/__init__.py", 
line 934, in close_alert
       (data) = self.close_alert_with_http_info(identifier, **kwargs)  # noqa: 
E501
     File 
"/opt/airflow/lib/python3.9/site-packages/opsgenie_sdk/api/alert/__init__.py", 
line 965, in close_alert_with_http_info
       raise ApiTypeError(
   opsgenie_sdk.exceptions.ApiTypeError: Got an unexpected keyword argument 
'kwargs' to method close_alert
   ```


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