We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3b15be commit f160847Copy full SHA for f160847
python/plugins/processing/algs/qgis/Aggregate.py
@@ -34,6 +34,7 @@
34
QgsField,
35
QgsFields,
36
QgsGeometry,
37
+ QgsProcessing,
38
QgsProcessingParameterDefinition,
39
QgsProcessingParameterExpression,
40
QgsProcessingParameterFeatureSink,
@@ -68,7 +69,8 @@ def displayName(self):
68
69
70
def initAlgorithm(self, config=None):
71
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT,
- self.tr('Input layer')))
72
+ self.tr('Input layer'),
73
+ types=[QgsProcessing.TypeVector]))
74
self.addParameter(QgsProcessingParameterExpression(self.GROUP_BY,
75
self.tr('Group by expression (NULL to group all features)'),
76
defaultValue='NULL',
0 commit comments