Class: QgsProcessingModelChildDependency

class qgis.core.QgsProcessingModelChildDependency

Bases: sip.wrapper

Contains details of a child algorithm dependency.

Added in version 3.14.

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

QgsProcessingModelChildDependency(a0: QgsProcessingModelChildDependency)

Methods

loadVariant

Loads this dependency from a QVariantMap.

toVariant

Saves this dependency to a QVariant.

Signals

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