def __init__(self, _upstream, _enviroinment): BaseProcessor.__init__(self, _upstream, _enviroinment) self._collection = None
def __init__(self, _upstream, _feedname, _savepath): BaseProcessor.__init__(self, _upstream) self.savepath = _savepath self.feedName = _feedname self.timeStart = time.gmtime(time.time())
def __init__(self, _upstream, _environment): BaseProcessor.__init__(self, _upstream, _environment)
def print_stream_processor(): client = setup_client() processor = BaseProcessor(client.queue(), environment()) run_processor(client, processor) print "\n\n\nWhew! That was a lot of JSON!"