Skip to content

← utilities package

StripMetadata

Strip all except for a desired subset of meta-data fields from the packet.

This can be used to deidentify data before recording to a file or database. Version 1.0.0

Ports/Properties

data

Data to process.

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

retain_properties

Meta-data properties to retain. All other chunk meta-data will be dropped. An empty list will drop all meta-data. If this is set to None, no meta-data is stripped.

  • verbose name: Retain Properties
  • default value: ['source_id', 'source_url', 'source_paths', 'stream_name', 'subject_id', 'session_id']
  • port type: ListPort
  • value type: list (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)