Class: QgsProcessingModelChildDependency

class qgis.core.QgsProcessingModelChildDependency

Bases: sip.wrapper

Contains details of a child algorithm dependency.

New in version 3.14.

QgsProcessingModelChildDependency(childId: str = ‘’, conditionalBranch: str = ‘’) Constructor for QgsProcessingModelChildDependency, with the specified childId.

QgsProcessingModelChildDependency(QgsProcessingModelChildDependency)

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