Class: QgsProcessingModelChildAlgorithmResult

class qgis.core.QgsProcessingModelChildAlgorithmResult

Bases: sip.wrapper

Encapsulates the results of running a child algorithm within a model

Added in version 3.38:

Methods

executionStatus

Returns the status of executing the child algorithm.

htmlLog

Returns the HTML formatted contents of logged messages which occurred while running the child.

inputs

Returns the inputs used for the child algorithm.

outputs

Returns the outputs generated by the child algorithm.

setExecutionStatus

Sets the status of executing the child algorithm.

setHtmlLog

Sets the HTML formatted contents of logged messages which occurred while running the child.

setInputs

Sets the inputs used for the child algorithm.

setOutputs

Sets the outputs generated by child algorithm.

executionStatus(self) Qgis.ProcessingModelChildAlgorithmExecutionStatus

Returns the status of executing the child algorithm.

Return type:

Qgis.ProcessingModelChildAlgorithmExecutionStatus

htmlLog(self) str

Returns the HTML formatted contents of logged messages which occurred while running the child.

See also

setHtmlLog()

Return type:

str

inputs(self) Dict[str, Any]

Returns the inputs used for the child algorithm.

See also

setInputs()

Return type:

Dict[str, Any]

outputs(self) Dict[str, Any]

Returns the outputs generated by the child algorithm.

See also

setOutputs()

Return type:

Dict[str, Any]

setExecutionStatus(self, status: Qgis.ProcessingModelChildAlgorithmExecutionStatus)

Sets the status of executing the child algorithm.

Parameters:

status (Qgis.ProcessingModelChildAlgorithmExecutionStatus)

setHtmlLog(self, log: str)

Sets the HTML formatted contents of logged messages which occurred while running the child.

See also

htmlLog()

Parameters:

log (str)

setInputs(self, inputs: Dict[str, Any])

Sets the inputs used for the child algorithm.

See also

inputs()

Parameters:

inputs (Dict[str)

setOutputs(self, outputs: Dict[str, Any])

Sets the outputs generated by child algorithm.

See also

outputs()

Parameters:

outputs (Dict[str)