diff --git a/python/core/__init__.py.in b/python/core/__init__.py.in index 7f2df17c5a2..3c5f91a189c 100644 --- a/python/core/__init__.py.in +++ b/python/core/__init__.py.in @@ -84,6 +84,11 @@ QgsVectorLayer.NoMarker = Qgis.VertexMarkerType.NoMarker QgsVectorLayer.NoMarker.is_monkey_patched = True QgsVectorLayer.NoMarker.__doc__ = "No marker" +QgsSymbol.RenderHints = Qgis.SymbolRenderHints +QgsSymbol.PreviewFlags = Qgis.SymbolPreviewFlags +QgsDataItem.Capabilities = Qgis.BrowserItemCapabilities +QgsGeometry.ValidityFlags = Qgis.GeometryValidityFlags + # Monkey patch static const "QgsDataProvider.SUBLAYER_SEPARATOR" which was removed for QGIS 3.12 QgsDataProvider.SUBLAYER_SEPARATOR = QgsDataProvider.sublayerSeparator()