Skip to content

Commit e0076ce

Browse files
necusjznaga-nandyala
authored andcommitted
{Core} aaz: Remove requests in main thread (#32824)
1 parent eb6e6dc commit e0076ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/azure-cli-core/azure/cli/core/aaz/_poller.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
from azure.core.polling.base_polling import LROBasePolling
1313
from azure.core.tracing.common import with_current_context
1414
from azure.core.tracing.decorator import distributed_trace
15-
# import requests in main thread to resolve import deadlock between threads in python
16-
# reference https://github.com/psf/requests/issues/2925 and https://github.com/Azure/azure-cli/issues/26272
17-
import requests # pylint: disable=unused-import
1815

1916
_LOGGER = logging.getLogger(__name__)
2017

0 commit comments

Comments
 (0)