Skip to main content

InputReader

This class provides a method to access the inputs for a task execution within the plugin's Task Context. It allows retrieval of inputs as a literal map, returning an error only for systemic issues.

Methods


Get()

@classmethod
def Get(
ctx: context.Context
) - > *core.LiteralMap, error

Get the inputs for this task as a literal map, an error is returned only in case of systemic errors. No outputs or void is indicated using *core.LiteralMap - > nil

Parameters

NameTypeDescription
ctxcontext.ContextThe context for the operation, used for cancellation and deadlines.

Returns

TypeDescription
*core.LiteralMap, errorThe inputs for the task as a literal map, or an error if a systemic issue occurs.