forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
5.2 KiB
5.2 KiB
Creating a Function Using a Template
Overview
FunctionGraph provides templates to automatically complete code, and running environment configurations when you create a function, helping you quickly build applications.
Creating a Function
- Log in to the FunctionGraph console. In the navigation pane, choose Templates.
- On the page that is displayed, select the FunctionGraph service, select the context-class-introduction template for Python 2.7, and click Configure.
- After you select a function template, the built-in code and configurations of the template are automatically loaded. The Create Function page is displayed.
- Set Function Name to context, select a created agency, retain default values for other parameters, and click Create Function.
- Set the parameters based for your service requirements.
Parent topic: Building Functions