Class: PyProviderMetadata

class qgis.core.PyProviderMetadata(key, description, library_or_create_func=None)

Bases: qgis._core.QgsProviderMetadata

wrapper around QgsProviderMetadata to keep the existing Python code running which registers data providers by passing a custom python createProvider() function to QgsProviderMetadata constructor. The proper new way of doing it is to subclass QgsProviderMetadata and implement its virtual functions.

TODO: QGIS 4 - remove this wrapper (only subclassing of QgsProviderMetadata should be used)

Enums

Methods

Signals

Attributes