Class: QgsNativeMetadataBaseValidator

class qgis.core.QgsNativeMetadataBaseValidator

Bases: QgsAbstractMetadataBaseValidator

A validator for the native base QGIS metadata schema definition.

New in version 3.2.

QgsNativeMetadataBaseValidator() Constructor for QgsNativeMetadataBaseValidator.

QgsNativeMetadataBaseValidator(QgsNativeMetadataBaseValidator)

Methods

validate

param metadata

validate(self, metadata: QgsAbstractMetadataBase)Tuple[bool, List[QgsAbstractMetadataBaseValidator.ValidationResult]]
Parameters

metadata (QgsAbstractMetadataBase) –

Return type

Tuple[bool, List[QgsAbstractMetadataBaseValidator.ValidationResult]]