DashAI.back.job.DatasetJob
- class DatasetJob(**kwargs)[source]
Job for processing and uploading datasets using streaming data processing.
- Parameters:
kwargs (Dict[str, Any]) – A dictionary containing the parameters for the job, including: - name: Name of the dataset - datatype_name: Name of the datatype - params: Parameters for the datatype - file_path: Path to the temporarily saved file - temp_dir: Directory containing the temporary file - filename: Name of the uploaded file - db: Database session
- __init__(**kwargs)
Constructor of the ModelJob class.
- Parameters:
kwargs (dict) – dictionary containing the parameters of the job.
Methods
__init__
(**kwargs)Constructor of the ModelJob class.
get_job_name
()Get a descriptive name for the job.
run
()Run the job.
set_status_as_delivered
([session_factory])Set the status of the dataset as delivered.
set_status_as_error
([session_factory])Set the job status as error.
Attributes
TYPE