Skip to content

hertzforge.service.run_files

run_files

runs.*: the data folder control runs are kept in, and deleting a run.

The verbs are the analysis service's because a run's converted project file is its: it knows which file is open and which files an open project maps, and a run holding one is not deleted. The checks and the delete itself are hertzforge.io.data_folder's, the one place a run is deleted.

Functions:

Name Description
data_folder

runs.data_folder: where runs are kept, as this service resolves

delete

runs.delete: the run folder folder names deleted with its

request

Answer one runs.* request.

Classes

Functions:

data_folder

data_folder() -> dict[str, Any]

runs.data_folder: where runs are kept, as this service resolves it, whether it exists, and whether a run's record can be written there now (and when not, why).

delete

delete(params: Mapping[str, Any], open_files: Iterable[str]) -> dict[str, Any]

runs.delete: the run folder folder names deleted with its converted project file; with dry_run, only what would be deleted, after the same checks. A run that did not end cleanly is deleted only with not_live, the caller's word that the control service reports no live run recording into it. A refusal says why in its message and deletes nothing.

request

request(method: str, params: Any, open_files: Iterable[str]) -> dict[str, Any]

Answer one runs.* request.