(self)
Finalize the topic specification, which currently means
        creating the listener validator for this topic. This allows
        calls to subscribe() to validate that listener adheres to
        topic's message data specification (MDS).
Finalize the topic specification, which currently means
        creating the listener validator for this topic. This allows
        calls to subscribe() to validate that listener adheres to
        topic's message data specification (MDS).
Finalize the topic specification which currently means creating the listener validator for this topic . This allows calls to subscribe () to validate that listener adheres to topic s message data specification ( MDS ) .
def __finalize(self):
        """
        Finalize the topic specification, which currently means
        creating the listener validator for this topic. This allows
        calls to subscribe() to validate that listener adheres to
        topic's message data specification (MDS).
        """
        assert self.__msgArgs.isComplete()
        assert not self.hasMDS()

        # must make sure can adopt a validator
        required = self.__msgArgs.allRequired
        optional = self.__msgArgs.allOptional
        self.__validator = ListenerValidator(required, list(optional))
        assert not self.__listeners
def __finalize ( self ) : assert self . __msgArgs . isComplete ( ) assert not self . hasMDS ( ) # must make sure can adopt a validator required = self . __msgArgs . allRequired optional = self . __msgArgs . allOptional self . __validator = ListenerValidator ( required , list ( optional ) ) assert not self . __listeners