eladkal commented on code in PR #48919:
URL: https://github.com/apache/airflow/pull/48919#discussion_r2048102024
##########
providers/pagerduty/src/airflow/providers/pagerduty/hooks/pagerduty.py:
##########
@@ -95,23 +95,20 @@ def __init__(self, token: str | None = None,
pagerduty_conn_id: str | None = Non
if self.token is None:
raise AirflowException("Cannot get token: No valid api token nor
pagerduty_conn_id supplied.")
- def get_session(self) -> pdpyras.APISession:
+ def client(self) -> pagerduty.RestApiV2Client:
Review Comment:
Just do the changes you need to the code.
In the changelog.rst place a section at the top of the file that explain
what was broken and how users should modify the code to migrate. You can see
examples in google/aws peoviders changelog
--
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]