Class: QgsExpressionContextScopeGenerator

class qgis.core.QgsExpressionContextScopeGenerator

Bases: sip.wrapper

Abstract interface for generating an expression context scope.

Added in version 3.0:

Methods

createExpressionContextScope

This method needs to be reimplemented in all classes which implement this interface and return an expression context scope.

createExpressionContextScope(self) QgsExpressionContextScope | None

This method needs to be reimplemented in all classes which implement this interface and return an expression context scope.

Added in version 3.0.

Return type:

Optional[QgsExpressionContextScope]