[QGIS-Developer] QgsProcessingAlgorithm createInstance

Caio Hamamura caiohamamura at gmail.com
Wed Feb 20 13:29:43 PST 2019


QgsProcessingAlgorithm needs to implement this useless method
(createInstance) in my view of point.

Why do we even need the createInstance method? Couldn’t it be generic:

def createInstance(self):
    return self.__class__()

Greetings,
Caio Hamamura
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190220/bb0313a9/attachment.html>


More information about the QGIS-Developer mailing list