src/sammie/py/ModuleConnector.py
def initializeModule(self, moduleID: str, moduleName: str, params: Dict, session: SessionData) -> ModuleBase:
        """
        creates an instance of module given its id.
        Args:
            moduleID (str): The ID the module has been given in the pipeline settings on JS side.
            moduleName (str): Name of the module, defined in the params file of the module on JS side. This identifies the class to be instantiated on py side.
            params (Dict): A dictionary with parameters passed from JS. They are defined in the serverParameters field of the PipelineStep type in the pipeline definition.
            Useful especially if you have multiple modules with different IDs but same name. That is you are using the same class but different instances on py side. Parameters allow
            you to configure these somehow.
            session (SessionData): The SessionData object, storing and receiving inputs/outputs of the whole pipeline.

        Returns:
            A new instance of a Module (subclass of ModuleBase)
        """
        pass

        creates an instance of module given its id.
        Args:
            moduleID (str): The ID the module has been given in the pipeline settings on JS side.
            moduleName (str): Name of the module, defined in the params file of the module on JS side. This identifies the class to be instantiated on py side.
            params (Dict): A dictionary with parameters passed from JS. They are defined in the serverParameters field of the PipelineStep type in the pipeline definition.
            Useful especially if you have multiple modules with different IDs but same name. That is you are using the same class but different instances on py side. Parameters allow
            you to configure these somehow.
            session (SessionData): The SessionData object, storing and receiving inputs/outputs of the whole pipeline.

        Returns:
            A new instance of a Module (subclass of ModuleBase)
        
creates an instance of module given its id.
Args:
moduleID (str): The ID the module has been given in the pipeline settings on JS side.
moduleName (str): Name of the module, defined in the params file of the module on JS side. This identifies the class to be instantiated on py side.
params (Dict): A dictionary with parameters passed from JS. They are defined in the serverParameters field of the PipelineStep type in the pipeline definition.
Useful especially if you have multiple modules with different IDs but same name. That is you are using the same class but different instances on py side. Parameters allow
you to configure these somehow.
session (SessionData): The SessionData object, storing and receiving inputs/outputs of the whole pipeline.

A new instance of a Module (subclass of ModuleBase)
creates an instance of module given its id . Args : moduleID ( str ) : The ID the module has been given in the pipeline settings on JS side . moduleName ( str ) : Name of the module defined in the params file of the module on JS side . This identifies the class to be instantiated on py side . params ( Dict ) : A dictionary with parameters passed from JS . They are defined in the serverParameters field of the PipelineStep type in the pipeline definition . Useful especially if you have multiple modules with different IDs but same name . That is you are using the same class but different instances on py side . Parameters allow you to configure these somehow . session ( SessionData ) : The SessionData object storing and receiving inputs / outputs of the whole pipeline . A new instance of a Module ( subclass of ModuleBase )
def initializeModule(self, moduleID: str, moduleName: str, params: Dict, session: SessionData) -> ModuleBase:
        pass
def initializeModule ( self , moduleID : str , moduleName : str , params : Dict , session : SessionData ) -> ModuleBase : pass
creates an instance of module given its id.
creates an instance of module given its id .
"""
        creates an instance of module given its id.
        Args:
            moduleID (str): The ID the module has been given in the pipeline settings on JS side.
            moduleName (str): Name of the module, defined in the params file of the module on JS side. This identifies the class to be instantiated on py side.
            params (Dict): A dictionary with parameters passed from JS. They are defined in the serverParameters field of the PipelineStep type in the pipeline definition.
            Useful especially if you have multiple modules with different IDs but same name. That is you are using the same class but different instances on py side. Parameters allow
            you to configure these somehow.
            session (SessionData): The SessionData object, storing and receiving inputs/outputs of the whole pipeline.

        Returns:
            A new instance of a Module (subclass of ModuleBase)
        """
self
moduleID
str
moduleName
str
params
Dict
session
SessionData