Class: QgsProcessingModelResult¶
Encapsulates the results of running a Processing model.
Added in version 3.38.
Methods
Returns the map of child algorithm results. |
|
Clears any existing results. |
|
Returns the set of child algorithm IDs which were executed during the model execution. |
|
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]
- 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)