Skip to content

← Back to workers

FileLoaderWorker

Source: Distributed_Design_Optimizer/postprocess/workers/FileLoaderWorker.py

Background worker for loading .dill history files.

Classes

FileLoaderWorker

Inherits from: QThread

Background worker that loads .dill files without blocking the UI.

Methods

init(self, source: DataSource, file_paths: list[str], parent: QObject | None) → None

Initialize the file loader worker.

Args:

source: The data source that handles deserialization.
file_paths: List of file paths to load.
parent: Optional parent QObject.

run(self) → None

Load each file, emitting progress and results as signals.