Python scripting uploader - Scripts

uploader

Previous  Chapter  Next

 

In downloader.py the base class for all python downloaders is defined. For customization, one must derive from this class.


UPLOAD_CLASS_NAME = "Uploader"

 

class Uploader():

 

   def __init__(self) -> None:

       pass

 

   def Initialize(self, operator):

       logger = operator.GetLogOperator()

       logger.LogDebug("Default Initialize called")

 

   def ParseFile(self, operator, fileObject):

       logger = operator.GetLogOperator()

       logger.LogDebug("Default ParseFile called")

       

   def Finalize(self, operator):

       logger = operator.GetLogOperator()

       logger.LogDebug("Default Finalize called")


Previous
Previous page
Chapter
Chapter page
Next
Next page