mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
sip doesn't support the docstring directive for structs (only classes), so patch these back in via sipify magic
11 lines
1.3 KiB
Python
11 lines
1.3 KiB
Python
# The following has been generated automatically from src/core/qgsaggregatecalculator.h
|
|
try:
|
|
QgsAggregateCalculator.__attribute_docs__ = {'function': 'The expression function', 'name': 'A translated, human readable name', 'supportedTypes': 'This aggregate function can only be used with these datatypes', 'filter': 'Optional filter for calculating aggregate over a subset of features, or an\nempty string to use all features.\n\n.. seealso:: :py:func:`QgsAggregateCalculator.setFilter`\n\n.. seealso:: :py:func:`QgsAggregateCalculator.filter`', 'delimiter': 'Delimiter to use for joining values with the StringConcatenate aggregate.\n\n.. seealso:: :py:func:`QgsAggregateCalculator.setDelimiter`\n\n.. seealso:: :py:func:`QgsAggregateCalculator.delimiter`', 'orderBy': 'Optional order by clauses.\n\n.. versionadded:: 3.8'}
|
|
except NameError:
|
|
pass
|
|
QgsAggregateCalculator.stringToAggregate = staticmethod(QgsAggregateCalculator.stringToAggregate)
|
|
QgsAggregateCalculator.displayName = staticmethod(QgsAggregateCalculator.displayName)
|
|
QgsAggregateCalculator.aggregates = staticmethod(QgsAggregateCalculator.aggregates)
|
|
QgsAggregateCalculator.AggregateInfo.__doc__ = """Structured information about the available aggregates."""
|
|
QgsAggregateCalculator.AggregateParameters.__doc__ = """A bundle of parameters controlling aggregate calculation"""
|