Importing GraphServiceClient is extremely slow
from msgraph import GraphServiceClient
This line can sometimes take 3.4s. Is it possible to optimize this? I'm not sure if this is a bug or a feature request.
msgraph-sdk 1.8.0
Thanks @michaelmesser for using the SDK and for raising this.
I can confirm that this is true to some extent as I have experienced it too.
Importing the GraphService client could be taking long because it entails imports to all request builders to enable auto-complete experience when building requests.
I believe we could put some effort to imrove this though
Can this be prioritized higher? It makes any application using this library start very slowly.
Is there a solution or work around?
@michaelmesser no solution or workaround is in place for this. Do you have any in mind we can consider? The team is reduced on the project therefore the priority on issues is on only production breaking experiences,