ResourceDownloaderBase
Abstract class to aggregate common methods for resource downloader tasks
config_specs: ConfigSpecsinput_specs: InputSpecsmessage_dispatcher: MessageDispatcheroutput_specs: OutputSpecsresource_loader: ResourceLoaderstyle: TypingStyleConstructor, please do not overwrite this method, use the init method instead Leave the constructor without parameters
This can be overwritten to perform custom check before running task. See doc of CheckBeforeTaskResult for more information
ConfigParamsTaskInputsCheckBeforeTaskResultMethode to create the resource from a file (once downloaded) and return it as a task output
strLiteralShareEntityCreateModeResourceCreate a temporary directory. This directory will be deleted after the task is run. Output file or folder are moved out of this directory before it is deleted.
strstrTypestrstrThis can be overwritten to perform custom initialization of the task. This method is called just after the init and before the check_before_run method
strstrstrStore a message in the progress
strMessageLevelstrstrThis must be overiwritten to perform the task of the task.
This is where most of your code must go
ConfigParamsTaskInputsDictSave share info, clean temp files, etc
Update the progress value
floatstrReturns the name of the class
bool - Falsebool - Falsebool - FalsestrReturns the full name of the class
bool - Falsebool - FalsestrstrVersionGet the human name of the object
strReturns the input specs of the process
InputSpecsReturns the input specs of the process
OutputSpecsGet the short description of the object
strGet the style of the object
TypingStyleGet the typing name of the object Ex: 'RESOURCE.gws_core.Table'
strTypingNameObjGet all the classes that inherit this class
List