Class: QgsProcessingModelResult

Encapsulates the results of running a Processing model.

Added in version 3.38.

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)