Class: QgsProcessingParameterFieldMapping¶
A parameter for “field mapping” configurations, which consist of a definition of desired output fields, types, and expressions used to populate them.
Designed for use with the “Refactor fields” algorithm.
Added in version 3.14.
Class Hierarchy¶
Base classes¶
Base class for the definition of processing parameters. |
- class qgis.core.QgsProcessingParameterFieldMapping[source]¶
Bases:
QgsProcessingParameterDefinition- __init__(name: str | None, description: str | None = '', parentLayerParameterName: str | None = '', optional: bool = False)
Constructor for QgsProcessingParameterFieldMapping.
- Parameters:
name (Optional[str])
description (Optional[str] = '')
parentLayerParameterName (Optional[str] = '')
optional (bool = False)
- __init__(a0: QgsProcessingParameterFieldMapping)
- Parameters:
- parentLayerParameterName(self) str[source]¶
Returns the name of the parent layer parameter, or an empty string if this is not set.
See also
- Return type:
str