What Is a Public Dependency?
Public dependencies are provided by Huawei Cloud. You can import them to your code on the function details page to implement service logic.
Public dependencies have the following advantages:
- They provide an out-of-the-box ecosystem, eliminating the need to build and upload dependencies. You can focus on your code and service logic without worrying about the running environment.
- FunctionGraph caches public dependencies for fast access. No network latency will be involved during cold start for accessing dependency files in storage services.
- Public dependencies either smaller or larger than 300 MB can be easily imported and deleted, while private dependencies larger than 300 MB must be split for upload.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.