Function: createContext

qgis.processing.createContext(feedback: QgsProcessingFeedback | None = None) QgsProcessingContext

Creates a default processing context

Parameters:

feedback (Optional[QgsProcessingFeedback]) – Optional existing QgsProcessingFeedback object, or None to use a default feedback object

Returns:

New QgsProcessingContext object

Raises:

QgsNotSupportedException if the Processing plugin has not been loaded