Class: QgsProcessingModelChildAlgorithmResult

Encapsulates the results of running a child algorithm within a model.

Added in version 3.38.

class qgis.core.QgsProcessingModelChildAlgorithmResult[source]

Bases: object

executionStatus(self) Qgis.ProcessingModelChildAlgorithmExecutionStatus[source]

Returns the status of executing the child algorithm.

Return type:

Qgis.ProcessingModelChildAlgorithmExecutionStatus

htmlLog(self) str[source]

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][source]

Returns the inputs used for the child algorithm.

See also

setInputs()

Return type:

Dict[str, Any]

outputs(self) Dict[str, Any][source]

Returns the outputs generated by the child algorithm.

See also

setOutputs()

Return type:

Dict[str, Any]

setExecutionStatus(self, status: Qgis.ProcessingModelChildAlgorithmExecutionStatus)[source]

Sets the status of executing the child algorithm.

Parameters:

status (Qgis.ProcessingModelChildAlgorithmExecutionStatus)

setHtmlLog(self, log: str | None)[source]

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

See also

htmlLog()

Parameters:

log (Optional[str])

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

Sets the inputs used for the child algorithm.

See also

inputs()

Parameters:

inputs (Dict[str, Any])

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

Sets the outputs generated by child algorithm.

See also

outputs()

Parameters:

outputs (Dict[str, Any])