Saltar al contenido principal

ConverterJob

Job
DashAI.back.job.ConverterJob

ConverterJob class to modify a dataset by applying a sequence of converters.

Methods

get_job_name(self) -> str

Defined on ConverterJob

Get a descriptive name for the job.

run(self) -> None

Defined on ConverterJob

Run the job.

set_status_as_delivered(self, session_factory: 'sessionmaker' = <function ConverterJob.<lambda> at 0x7f26c41fdab0>) -> None

Defined on ConverterJob

Set the status of the converter as delivered.

set_status_as_error(self, session_factory: 'sessionmaker' = <function ConverterJob.<lambda> at 0x7f26c41fdbd0>) -> None

Defined on ConverterJob

Set the status of the converter as error.

report_progress(self, fraction: Optional[float], message: Optional[str] = None) -> None

Defined on BaseJob

Report the job's progress to the job queue.

Parameters

fraction: Optional float
Completion in the range 0-1, or None when the total work is unknown (the frontend then shows an indeterminate bar).
message: Optional str
Short description of the current phase.