Abstract class to aggregate common methods for resource downloader tasks
config_specs: Dict
file_downloader: FileDownloader
input_specs: InputSpecs
message_dispatcher: MessageDispatcher
output_specs: OutputSpecs
resource_loader: ResourceLoader
style: TypingStyle
Constructor, 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
ConfigParams
TaskInputs
CheckBeforeTaskResult
Methode to create the resource from a file (once downloaded) and return it as a task output
str
Literal
ShareEntityCreateMode
Resource
Create 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.
str
str
Type
str
str
This 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
str
str
str
Store a message in the progress
str
MessageLevel
str
str
This must be overiwritten to perform the task of the task.
This is where most of your code must go
ConfigParams
TaskInputs
Dict
Save share info, clean temp files, etc
Update the progress value
float
str
Returns the name of the class
bool
- False
bool
- False
bool
- False
str
Returns the full name of the class
bool
- False
bool
- False
str
str
Dict
Get the human name of the resource
str
Returns the input specs of the process
InputSpecs
Returns the input specs of the process
OutputSpecs
Get the short description of the resource
str
Get the style of the resource
TypingStyle
Get the typing name of the resource
str
bool
Get all the classes that inherit this class
List