擅长:python、mysql、java
<p>您可以在发布时使用<a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python#publishing-to-azure" rel="nofollow noreferrer"><strong>^{<cd1>}</strong></a>来缓解此问题。在</p>
<p>这是<a href="https://github.com/Azure/azure-functions-core-tools/issues/1092#issuecomment-468852243" rel="nofollow noreferrer">^{<cd2>}</a>。在</p>
<blockquote>
<p>during a general publish using build-native-deps, we try to use
Pyinstaller to bundle all the custom dependencies specified in your
requirements.txt together with our runner (worker). We started to do
this in an effort to improve startup performance that you get after
publishing to Azure Functions. Although, this process has been flaky
and we are planning on moving away from it.</p>
<p> no-bundler flag bypasses that bundling process. So, we do not use Pyinstaller or any such module to do temporary optimizations. The
caveat is that you may experience slight linger delay (cold start)
when hitting your API end-point.</p>
</blockquote>