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: str, description: str = ‘’) Constructor for QgsProcessingOutputVariant.

QgsProcessingOutputVariant(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) Tuple[str, bool]
Parameters:
Return type:

Tuple[str, bool]