code: def queue(self, project):
          
          queue = NotificationQueue()
          self._listeners.setdefault(project.id, set())
          self._listeners[project.id].add(queue)
          yield queue
          self._listeners[project.id].remove(queue)
docs: Get a queue of notifications
  
          Use it with Python with