Source code for sarracenia.flow.report

from sarracenia.flow import Flow
import logging

logger = logging.getLogger(__name__)

default_options = {'acceptUnmatched': True, 'nodupe_ttl': 0}


[docs] class Report(Flow): """ forward report messages. Not really implemented at the moment. It is just a shovel synonym for now. more logic should be added. """
[docs] def __init__(self, options): super().__init__(options) self.plugins['load'].insert( 0, 'sarracenia.flowcb.gather.message.Message') if hasattr(self.o, 'post_exchange'): self.plugins['load'].insert( 0, 'sarracenia.flowcb.post.message.Message')