Skip to content

Commit 423a0ae

Browse files
authored
fix type of _SansIOHTTPPolicyRunner (Azure#24932)
* fix type of _SansIOHTTPPolicyRunner * update changelog
1 parent 7058612 commit 423a0ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

sdk/core/azure-core/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
### Bugs Fixed
1010

11+
- Fixed the bug that azure-core could not be imported under Python 3.11.0b3 #24928
12+
1113
### Other Changes
1214

1315
## 1.24.1 (2022-06-01)

sdk/core/azure-core/azure/core/pipeline/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
PoliciesType = List[Union[HTTPPolicy, SansIOHTTPPolicy]]
4444

4545

46-
class _SansIOHTTPPolicyRunner(HTTPPolicy, Generic[HTTPRequestType, HTTPResponseType]):
46+
class _SansIOHTTPPolicyRunner(HTTPPolicy):
4747
"""Sync implementation of the SansIO policy.
4848
4949
Modifies the request and sends to the next policy in the chain.

0 commit comments

Comments
 (0)