Skip to content

← utilities package

TaskNumber

Retrieve the number of this task if run as part of a parallel collection of tasks.

This is 0-based and is -1 if not running as part of a parallel run. Note that even if a parallel run is configured to run in serial, this will still return the corresponding 0-based task number. Version 1.0.0

Ports/Properties

data

Current task number.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: int (can be None)
  • data direction: OUT

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)