Slow import of googleapiclient

I can’t say whether that’s normal for that particular import, but some imports are time consuming. For optimization, you can move the import away from the global scope and only into the server functions that actually use it. That would at least keep the other server functions from being delayed by an import they don’t use.

2 Likes