Subgroup: Processing

Class: QgsProcessingOutputDefinition

class qgis.core.QgsProcessingOutputDefinition(name: str, description: str = '')

Bases: sip.wrapper

Constructor for QgsProcessingOutputDefinition.

QgsProcessingOutputDefinition(QgsProcessingOutputDefinition)

Base class for the definition of processing outputs.

Output definitions encapsulate the properties regarding the outputs from algorithms, such as generated layers or calculated values.

New in version 3.0: Methods

description Returns the description for the output.
name Returns the name of the output.
setDescription Sets the description for the output.
setName Sets the name of the output.
type Unique output type name.

Signals

Attributes

description(self) → str

Returns the description for the output. This is the user-visible string used to identify this output.

See also

setDescription()

name(self) → str

Returns the name of the output. This is the internal identifier by which algorithms access this output.

See also

setName()

setDescription(self, description: str)

Sets the description for the output. This is the user-visible string used to identify this output.

See also

description()

setName(self, name: str)

Sets the name of the output. This is the internal identifier by which algorithms access this output.

See also

name()

type(self) → str

Unique output type name.