Welcome to the new DOCS.vastdata.com. We've added new menus and a version selector, plus new persona and resource pages to help customers get started. Looking for a previous article? Use the docs search.

Initializing the Runtime

Prev Next

init()

def init()

The init() function:

  • Is invoked once when the container pod that deploys the function starts.

  • Enables you to pass custom attributes to be accessible in the event handler path.

Parameters

  • ctx (required). Passes custom attributes to the ctx class. This enables the attributes to be accessed in the event handler path.