pierrejeambrun commented on a change in pull request #20263:
URL: https://github.com/apache/airflow/pull/20263#discussion_r772575373



##########
File path: UPDATING.md
##########
@@ -2089,6 +2089,10 @@ Remove unnecessary parameter ``open`` in PostgresHook 
function ``copy_expert`` f
 
 Change parameter name from ``visibleTo`` to ``visible_to`` in 
OpsgenieAlertOperator for pylint compatible
 
+`OpsgenieAlertHook` constructor does not take additional arguments or keyword 
arguments anymore.
+Changed the return type of `OpsgenieAlertHook.get_conn` to return a 
`opsgenie_sdk.AlertApi` object instead of a `requests.Session` object.
+Changed the return type of `OpsgenieAlertHook.execute` to return a 
`opsgenie_sdk.SuccessResponse` object instead of a `Any` type.
+

Review comment:
       As requested I moved this section to the top of 
`/airflow/providers/opsgenie/CHANGELOG.rst`. I have put that in a [breaking 
change 
section](https://github.com/apache/airflow/pull/20263/files#diff-58c14e916c12a35f7fa03cd5e28ce661151c914c0786dfac7c3c0a1a8b96aa69R22)
 for now.
   
   @potiuk  let me know if this looks good to you. 




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