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.

New in version 3.14.

Parameters
  • childId (str = '') –

  • conditionalBranch

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