TaskParam

class ikomia.core.task.TaskParam

Base class to manage task parameters. Inherit CWorkflowTaskParam. It includes a dict structure to store parameter values.

Variables:

cfg – parameters dict

Import

from ikomia.core.task import TaskParam

Methods

__init__()

Constructor.

get_values()

Return parameters for saving in Ikomia Studio.

set_values(params)

Generic way to set parameters of CWorkflowTask-based object.

Details

__init__()

Constructor. Initialize an empty dict structure.

get_values() dict

Return parameters for saving in Ikomia Studio.

Returns:

parameters as key-value pairs

Return type:

dict

set_values(params: dict)

Generic way to set parameters of CWorkflowTask-based object. Must be reimplemented.

Parameters:

params (dict) – parameters as key-value pairs