Functions

Catalyst Serverless Functions are custom-built coding structures that contain the business logic of your Catalyst application. They can be created either using the Catalyst console or the CLI. This section covers the various SDK methods that can be used to implement functions in your Catalyst application.

Get a Component Instance

A component instance is an object that can be used to access the pre-defined configurations specific to a particular component. This process will not fire a server-side call.

The app reference used in the code below is the Python object returned as a response during SDK initialization. You can create a new function_serviceinstance as shown below. This component instance will be used in the next section while executing the function.

    
copy
#Get function component instance function_service = app.functions()

Last Updated 2023-12-18 16:20:08 +0530 +0530

ON THIS PAGE

RELATED LINKS

Functions