(self, moduleName: str, searchPath: Sequence[str] = None)
Load the given named module, searched for in searchPath or, if not
        specified, in sys.path. Give it to a TopicDefnDeserialClass.
Load the given named module, searched for in searchPath or, if not
        specified, in sys.path. Give it to a TopicDefnDeserialClass.
Load the given named module searched for in searchPath or if not specified in sys . path . Give it to a TopicDefnDeserialClass .
def __init__(self, moduleName: str, searchPath: Sequence[str] = None):
        """
        Load the given named module, searched for in searchPath or, if not
        specified, in sys.path. Give it to a TopicDefnDeserialClass.
        """
        if searchPath is not None:
            old_path = sys.path
            sys.path = searchPath

        try:
            from importlib import import_module
            module = import_module(moduleName)

        finally:
            if searchPath is not None:
                sys.path = old_path

        self.__classDeserial = TopicDefnDeserialClass(module)
def __init__ ( self , moduleName : str , searchPath : Sequence [ str ] = None ) : if searchPath is not None : old_path = sys . path sys . path = searchPath try : from importlib import import_module module = import_module ( moduleName ) finally : if searchPath is not None : sys . path = old_path self . __classDeserial = TopicDefnDeserialClass ( module )