QGIS/python/core/auto_additions/qgsprojectservervalidator.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

9 lines
651 B
Python

# The following has been generated automatically from src/core/project/qgsprojectservervalidator.h
try:
QgsProjectServerValidator.__attribute_docs__ = {'error': 'Error which occurred during the validation process.', 'identifier': 'Identifier related to the error. It can be a layer/group name.'}
except NameError:
pass
QgsProjectServerValidator.displayValidationError = staticmethod(QgsProjectServerValidator.displayValidationError)
QgsProjectServerValidator.validate = staticmethod(QgsProjectServerValidator.validate)
QgsProjectServerValidator.ValidationResult.__doc__ = """Contains the parameters describing a project validation failure."""