Azure / msrest-for-python

The runtime library "msrest" for AutoRest generated Python clients.
MIT License
41 stars 64 forks source link

Importing msrest.exceptions is expensive #23

Closed johanste closed 7 years ago

johanste commented 7 years ago

Importing msrest pulls in quite a few modules (indirectly), including, but not limited to, requests, in its init.py. The azure-cli is working on startup performance, and are looking at delay loading modules as much as we can.

Being able to at least use the exception classes from msrest without taking the module load hit would be a very welcome improvement.