(self, topicMgr: TopicManager)
Create the notification topics. The root of the topics created
        is self.topicRoot. The topicMgr is (usually) pub.topicMgr.
Create the notification topics. The root of the topics created
        is self.topicRoot. The topicMgr is (usually) pub.topicMgr.
Create the notification topics . The root of the topics created is self . topicRoot . The topicMgr is ( usually ) pub . topicMgr .
def createNotificationTopics(self, topicMgr: TopicManager):
        """
        Create the notification topics. The root of the topics created
        is self.topicRoot. The topicMgr is (usually) pub.topicMgr.
        """
        # see if the special topics have already been defined
        try:
            topicMgr.getTopic(self.topicRoot)

        except ValueError:
            # no, so create them
            self._pubTopic = topicMgr.getOrCreateTopic(self.topicRoot)
            self._pubTopic.setDescription('root of all pubsub-specific topics')

            _createTopics(self.topics, topicMgr)
def createNotificationTopics ( self , topicMgr : TopicManager ) : # see if the special topics have already been defined try : topicMgr . getTopic ( self . topicRoot ) except ValueError : # no, so create them self . _pubTopic = topicMgr . getOrCreateTopic ( self . topicRoot ) self . _pubTopic . setDescription ( 'root of all pubsub-specific topics' ) _createTopics ( self . topics , topicMgr )