Class: QgsProcessingOutputMultipleLayers¶
- class qgis.core.QgsProcessingOutputMultipleLayers¶
Bases:
QgsProcessingOutputDefinition
A multi-layer output for processing algorithms which create map layers, when the number and nature of the output layers is not predefined.
Note
Always prefer to explicitly define
QgsProcessingOutputVectorLayer
,QgsProcessingOutputRasterLayer
orQgsProcessingOutputMapLayer
where possible.QgsProcessingOutputMultipleLayers
should only ever be used when the number of output layers is not fixed - e.g. as a result of processing all layers in a specified folder.QgsProcessingOutputMultipleLayers(name: str, description: str = ‘’) Constructor for QgsProcessingOutputMultipleLayers.
QgsProcessingOutputMultipleLayers(
QgsProcessingOutputMultipleLayers
)Methods
- rtype:
str
Returns the type name for the output class.
- param value:
- type(self) str ¶
- Return type:
str
- typeName() str ¶
Returns the type name for the output class.
- Return type:
str
- valueAsString(self, value: Any, context: QgsProcessingContext) Tuple[str, bool] ¶
- Parameters:
value (Any) –
context (QgsProcessingContext) –
- Return type:
Tuple[str, bool]