Class: QgsProcessingModelChildAlgorithmResult

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.

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])