Skip to content

← programming package

DictIterator

Iterate over a key/value pairs in a dictionary.

This node accepts a dictionary of items. On each successive update this node will then output a two-element list consisting of the key and associated value at a time, until the dict is exhausted. Version 1.0.0

Ports/Properties

curkey

Current key.

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

curvalue

Current value.

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

dict

Dictionary to iterate over. This node will output one key/value pair on each update, until the dict is exhausted.

  • verbose name: Dict To Iterate Over
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)

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)

verbose

Whether to print the current item to the console.

  • verbose name: Verbose
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)