From 961f9dda7c61c56309bea03bc817e3bf1cb31688 Mon Sep 17 00:00:00 2001 From: xiangyan99 Date: Tue, 21 Jun 2022 13:27:30 -0700 Subject: [PATCH 1/2] fix type of _SansIOHTTPPolicyRunner --- sdk/core/azure-core/azure/core/pipeline/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/azure-core/azure/core/pipeline/_base.py b/sdk/core/azure-core/azure/core/pipeline/_base.py index 91e95cedde07..0d73e7e25bf9 100644 --- a/sdk/core/azure-core/azure/core/pipeline/_base.py +++ b/sdk/core/azure-core/azure/core/pipeline/_base.py @@ -43,7 +43,7 @@ PoliciesType = List[Union[HTTPPolicy, SansIOHTTPPolicy]] -class _SansIOHTTPPolicyRunner(HTTPPolicy, Generic[HTTPRequestType, HTTPResponseType]): +class _SansIOHTTPPolicyRunner(HTTPPolicy): """Sync implementation of the SansIO policy. Modifies the request and sends to the next policy in the chain. From 8d671a75541cb8758fac5702563f50413a209ecf Mon Sep 17 00:00:00 2001 From: xiangyan99 Date: Wed, 22 Jun 2022 09:14:30 -0700 Subject: [PATCH 2/2] update changelog --- sdk/core/azure-core/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index 152a74ef822d..a30b50f2d6b1 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bugs Fixed +- Fixed the bug that azure-core could not be imported under Python 3.11.0b3 #24928 + ### Other Changes ## 1.24.1 (2022-06-01)