QGIS/python/core/auto_additions/qgsaggregatecalculator.py
Nyall Dawson 989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00

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"""