kappa_sdk.user_tasks.InputParameters#

class kappa_sdk.user_tasks.InputParameters(parameters_dictionary)[source]#

Input parameters container.

Provides access to input (read-only) parameters of the user task.

Note

Should not be instantiated directly.

Parameters:

parameters_dictionary (ParametersDictionary)

__getitem__(parameter_name)[source]#

Gets the value of the user task parameter identified by its name.

Parameters:

parameter_name (str) – The name of the User Task parameter.

Return type:

bool | UUID | datetime | float | int | str | None

Methods

InputParameters.items()

Access to the class like a real dictionary :returns: key, values of the class

InputParameters.keys()

Get only the keys (parameter names) of the parameters :returns: Keys of the parameters

InputParameters.values()

Get only the values of the parameters :returns: Values of the parameters

__init__(parameters_dictionary)[source]#
Parameters:

parameters_dictionary (ParametersDictionary)

Return type:

None

__getitem__(parameter_name)[source]#

Gets the value of the user task parameter identified by its name.

Parameters:

parameter_name (str) – The name of the User Task parameter.

Return type:

bool | UUID | datetime | float | int | str | None

items()[source]#

Access to the class like a real dictionary :returns: key, values of the class

Return type:

ItemsView[str, Any]

keys()[source]#

Get only the keys (parameter names) of the parameters :returns: Keys of the parameters

Return type:

KeysView[str]

values()[source]#

Get only the values of the parameters :returns: Values of the parameters

Return type:

List[Any]