Source code for kappa_sdk.user_tasks.parameters
from .input_parameters import InputParameters
from .output_parameters import OutputParameters
[docs]
class Parameters:
"""User task parameters.
Provides access to input and output parameters of the user task.
.. note:: Should not be instantiated directly.
"""
def __init__(self, input_parameters: InputParameters, output_parameters: OutputParameters):
self.__input = input_parameters
self.__output = output_parameters
@property
def input(self) -> InputParameters:
""" Gets the container for input :class:`Parameters`.
"""
return self.__input
@property
def output(self) -> OutputParameters:
""" Gets the container for output :class:`Parameters`.
"""
return self.__output