Class: QgsProcessingContextFactory

A factory for creating Processing contexts, aware of the GUI components which may influence this.

Warning

This is not stable API, it is in place for temporary compatibility with Python code only.

Added in version 4.4.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: createContext()

List of all members, including inherited members

Abstract Methods

createContext

Creates a new Processing context.

class qgis.gui.QgsProcessingContextFactory[source]

Bases: object

abstract createContext(self, feedback: QgsProcessingFeedback | None = None) → QgsProcessingContext | None[source]

Creates a new Processing context.

Parameters:

feedback (QgsProcessingFeedback|None = None)

Return type:

QgsProcessingContext|None