Share via


Context Class

Function invocation context.

Constructor

Context()

Attributes

function_directory

Function directory.

abstract property function_directory: str

function_name

Function name.

abstract property function_name: str

invocation_id

Function invocation ID.

abstract property invocation_id: str

retry_context

Context for retries to the function.

abstract property retry_context: RetryContext

thread_local_storage

Thread local storage.

abstract property thread_local_storage: Type[_local]

trace_context

Context for distributed tracing.

abstract property trace_context: TraceContext