# Source code for stetl.filter

    # Author: Just van den Broecke
    #
    from .component import Component

    class Filter(Component):
        """
        Maps input to output. Abstract base class for specific Filters.

        """

        def __init__(self, configdict, section, consumes, produces):
            Component.__init__(self, configdict, section, consumes, produces)

        def invoke(self, packet):
            return packet