def connected(self, publisher):
        """I've connected to a publisher; I'll now send all my requests.
        """
        self._log.info('connected to publisher')
        publisher.broker.notifyOnDisconnect(self.booted)
        self.publisher = publisher
        self.waiting = 0
        for request in self.pending:
            self.render(request)
        self.pending = []
I've connected to a publisher; I'll now send all my requests.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/distrib.py