src/sammie/py/ModuleConnector.py
def runLoader(self, loaderName: str, asPreview:bool, key:str, filePath:str, loaderArgs:Dict) -> LoaderResult:
        """
        Loads a file and returns data and previews. Should throw an error if anything goes wrong.
        Args:
            loaderName (str): ID for the loader, usually a function name. Provided by JS see PipelineInput.loaders in JS.
            asPreview (bool): A file is loaded as preview during DataInput on JS side. If for example the content is parsed in a time intensive manner, it can be skipped when just loading the preview. The loader is ran again with preview disabled once the data is actually loaded and pipeline started.
            The size of preview images needs not to be larger than 300x300px.
            key (str): The Key for this datafile. This is a unique key that should be used for generating filenames for preview images. Will depend on pipeline step, batchnumber and such.
            filePath (str): The path to load the data from.
            loaderArgs (Dict): List of arguments the caller wishes to pass to the loader function.

        Returns:
            A LoaderResult containing metadata,previewURL and data for session
        """
        pass

        Loads a file and returns data and previews. Should throw an error if anything goes wrong.
        Args:
            loaderName (str): ID for the loader, usually a function name. Provided by JS see PipelineInput.loaders in JS.
            asPreview (bool): A file is loaded as preview during DataInput on JS side. If for example the content is parsed in a time intensive manner, it can be skipped when just loading the preview. The loader is ran again with preview disabled once the data is actually loaded and pipeline started.
            The size of preview images needs not to be larger than 300x300px.
            key (str): The Key for this datafile. This is a unique key that should be used for generating filenames for preview images. Will depend on pipeline step, batchnumber and such.
            filePath (str): The path to load the data from.
            loaderArgs (Dict): List of arguments the caller wishes to pass to the loader function.

        Returns:
            A LoaderResult containing metadata,previewURL and data for session
        
Loads a file and returns data and previews. Should throw an error if anything goes wrong.
Args:
loaderName (str): ID for the loader, usually a function name. Provided by JS see PipelineInput.loaders in JS.
asPreview (bool): A file is loaded as preview during DataInput on JS side. If for example the content is parsed in a time intensive manner, it can be skipped when just loading the preview. The loader is ran again with preview disabled once the data is actually loaded and pipeline started.
The size of preview images needs not to be larger than 300x300px.
key (str): The Key for this datafile. This is a unique key that should be used for generating filenames for preview images. Will depend on pipeline step, batchnumber and such.
filePath (str): The path to load the data from.
loaderArgs (Dict): List of arguments the caller wishes to pass to the loader function.

A LoaderResult containing metadata,previewURL and data for session
Loads a file and returns data and previews . Should throw an error if anything goes wrong . Args : loaderName ( str ) : ID for the loader usually a function name . Provided by JS see PipelineInput . loaders in JS . asPreview ( bool ) : A file is loaded as preview during DataInput on JS side . If for example the content is parsed in a time intensive manner it can be skipped when just loading the preview . The loader is ran again with preview disabled once the data is actually loaded and pipeline started . The size of preview images needs not to be larger than 300x300px . key ( str ) : The Key for this datafile . This is a unique key that should be used for generating filenames for preview images . Will depend on pipeline step batchnumber and such . filePath ( str ) : The path to load the data from . loaderArgs ( Dict ) : List of arguments the caller wishes to pass to the loader function . A LoaderResult containing metadata previewURL and data for session
def runLoader(self, loaderName: str, asPreview:bool, key:str, filePath:str, loaderArgs:Dict) -> LoaderResult:
        pass
def runLoader ( self , loaderName : str , asPreview : bool , key : str , filePath : str , loaderArgs : Dict ) -> LoaderResult : pass
Loads a file and returns data and previews.
Loads a file and returns data and previews .
"""
        Loads a file and returns data and previews. Should throw an error if anything goes wrong.
        Args:
            loaderName (str): ID for the loader, usually a function name. Provided by JS see PipelineInput.loaders in JS.
            asPreview (bool): A file is loaded as preview during DataInput on JS side. If for example the content is parsed in a time intensive manner, it can be skipped when just loading the preview. The loader is ran again with preview disabled once the data is actually loaded and pipeline started.
            The size of preview images needs not to be larger than 300x300px.
            key (str): The Key for this datafile. This is a unique key that should be used for generating filenames for preview images. Will depend on pipeline step, batchnumber and such.
            filePath (str): The path to load the data from.
            loaderArgs (Dict): List of arguments the caller wishes to pass to the loader function.

        Returns:
            A LoaderResult containing metadata,previewURL and data for session
        """
self
loaderName
str
asPreview
bool
key
str
filePath
str
loaderArgs
Dict