Class: QgsProcessingModelResult

class qgis.core.QgsProcessingModelResult

Bases: sip.wrapper

Encapsulates the results of running a Processing model

Added in version 3.38:

Methods

childResults

Returns the map of child algorithm results.

clear

Clears any existing results.

executedChildIds

Returns the set of child algorithm IDs which were executed during the model execution.

mergeWith

Merges this set of results with an other set of results.

childResults(self) Dict[str, QgsProcessingModelChildAlgorithmResult]

Returns the map of child algorithm results.

Map keys refer to the child algorithm IDs.

Return type:

Dict[str, QgsProcessingModelChildAlgorithmResult]

clear(self)

Clears any existing results.

executedChildIds(self) Set[str]

Returns the set of child algorithm IDs which were executed during the model execution.

Return type:

Set[str]

mergeWith(self, other: QgsProcessingModelResult)

Merges this set of results with an other set of results.

Conflicting results from other will replace results in this object.

Parameters:

other (QgsProcessingModelResult)