def run(self): logger.info("Running AMQP consumer") with Connection(self._bus_url) as connection: self.connection = connection super(CoreBusConsumer, self).run()