ashb commented on code in PR #73116:
URL: https://github.com/apache/airflow/pull/73116#discussion_r4193609088
##########
task-sdk/src/airflow/sdk/api/client.py:
##########
@@ -1336,18 +1336,19 @@ def __repr__(self):
return repr(self.detail)
-class ServerResponseError(httpx.HTTPStatusError):
- def __init__(self, message: str, *, request: httpx.Request, response:
httpx.Response):
+class ServerResponseError(httpx2.HTTPStatusError):
Review Comment:
Yeah, I think this is fine as you have it. As you say, this isn't really
meant to be consumed directly (we probably should have called this
`airflow.sdk._internal.api.client` in hindsight.
--
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]