ConversionFilter - Scauting-Burgum/ScautNet-python GitHub Wiki

The ConversionFilter class can be used to easily create filters that convert data from one type to another.

Methods

__init__

Creates a new conversion filter.

Arguments

  • receiving_converter; A method which takes data from the previous filter and returns data to be sent to the next filter.
  • sending_converter; A method which takes data from the next filter and returns data to be sent to the previous filter.

Implementation

See the readme.