Class: QgsProcessingModelChildDependency

class qgis.core.QgsProcessingModelChildDependency(childId: str = '', conditionalBranch: str = '')

Bases: sip.wrapper

Constructor for QgsProcessingModelChildDependency, with the specified childId.

QgsProcessingModelChildDependency(QgsProcessingModelChildDependency)

Contains details of a child algorithm dependency.

Methods

loadVariant

Loads this dependency from a QVariantMap.

toVariant

Saves this dependency to a QVariant.

Attributes

childId
conditionalBranch
loadVariant(self, map: Dict[str, Any])bool

Loads this dependency from a QVariantMap.

See also

toVariant()

Parameters

map (Dict[str) –

Return type

bool

toVariant(self)Any

Saves this dependency to a QVariant.

See also

loadVariant()

Return type

Any