Subgroup: Processing

Class: QgsProcessingOutputVectorLayer

class qgis.core.QgsProcessingOutputVectorLayer

Bases: qgis._core.QgsProcessingOutputDefinition

A vector layer output for processing algorithms.

New in version 3.0: Methods

dataType Returns the layer type for the output layer.
description Returns the description for the output.
name Returns the name of the output.
setDataType Sets the layer type for the output layer.
setDescription Sets the description for the output.
setName Sets the name of the output.
type
typeName Returns the type name for the output class.

Attributes

dataType(self) → QgsProcessing.SourceType

Returns the layer type for the output layer.

See also

setDataType()

setDataType(self, type: QgsProcessing.SourceType)

Sets the layer type for the output layer.

See also

dataType()

type(self) → str
typeName() → str

Returns the type name for the output class.