Class: QgsProcessingModelResult

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.

class qgis.core.QgsProcessingModelResult[source]

Bases: object

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

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

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

Conflicting results from other will replace results in this object.

Parameters:

other (QgsProcessingModelResult)