(self, pyClassObj: type, parentNameTuple: Sequence[str] = ())
return topicClasses
Returns a list of pairs, (topicNameTuple, memberClassObj)
Returns a list of pairs, (topicNameTuple, memberClassObj)
Returns a list of pairs ( topicNameTuple memberClassObj )
def __getTopicClasses(self, pyClassObj: type, parentNameTuple: Sequence[str] = ()):
        """Returns a list of pairs, (topicNameTuple, memberClassObj)"""
        memberNames = dir(pyClassObj)
        topicClasses = []
        for memberName in memberNames:
            if memberName.startswith('_'):
                continue  # ignore special and non-public methods
            member = getattr(pyClassObj, memberName)
            if inspect.isclass(member):
                topicNameTuple = parentNameTuple + (memberName,)
                topicClasses.append((topicNameTuple, member))
        return topicClasses
def __getTopicClasses ( self , pyClassObj : type , parentNameTuple : Sequence [ str ] = ( ) ) : memberNames = dir ( pyClassObj ) topicClasses = [ ] for memberName in memberNames : if memberName . startswith ( '_' ) : continue # ignore special and non-public methods member = getattr ( pyClassObj , memberName ) if inspect . isclass ( member ) : topicNameTuple = parentNameTuple + ( memberName , ) topicClasses . append ( ( topicNameTuple , member ) ) return topicClasses