Class: QgsProcessingOutputVariant

class qgis.core.QgsProcessingOutputVariant

Bases: QgsProcessingOutputDefinition

A variant output for processing algorithms, capable of storing any QVariant value.

Added in version 3.34.

QgsProcessingOutputVariant(name: Optional[str], description: Optional[str] = ‘’) Constructor for QgsProcessingOutputVariant.

QgsProcessingOutputVariant(a0: QgsProcessingOutputVariant)

Methods

type

rtype:

str

typeName

Returns the type name for the output class.

valueAsString

param value:

type(self) str
Return type:

str

typeName() str

Returns the type name for the output class.

Return type:

str

valueAsString(self, value: Any, context: QgsProcessingContext)
Parameters: