Login
Back to bricks list
Introduction Version

IProcess

Functions

__INIT__

Initialize self. See help(type(self)) for accurate signature.

Parameters:
NameTypeDefault valueDescription
process_modelProcessModel
GET_FIRST_INPORT
Return type:
InPort
GET_FIRST_OUTPORT
Return type:
OutPort
GET_INPUT

retrieve the resource of the input

Parameters:
NameTypeDefault valueDescription
namestr [description]
Return type:
Resource
GET_INPUT_RESOURCE_MODEL

retrieve the resource model of the input

Parameters:
NameTypeDefault valueDescription
namestr [description]
Return type:
ResourceModel
GET_MODEL
Return type:
ProcessModel
GET_OUTPUT

retrieve the resource of the output

Parameters:
NameTypeDefault valueDescription
namestr [description]
Return type:
Resource
GET_OUTPUT_RESOURCE_MODEL

retrieve the resource model of the output

Parameters:
NameTypeDefault valueDescription
namestr [description]
Return type:
ResourceModel
GET_PARAM
Parameters:
NameTypeDefault valueDescription
namestr
Return type:
Any
GET_PROCESS_TYPE
Return type:
Type[Process]
REFRESH
Return type:
IProcess
RESET_CONFIG
SET_CONFIG_PARAMS

Set the config param values

Parameters:
NameTypeDefault valueDescription
config_paramsConfigParamsDict
SET_INPUT

Set the resource of an input. If you want to manually set the input resource of a process

Parameters:
NameTypeDefault valueDescription
namestr [description]
resourceResource [description]
SET_PARAM

Set the param value

Parameters:
NameTypeDefault valueDescription
param_namestr
valueParamValue