neural_compressor.ux.utils.processes

Execution common process module.

Module Contents

Classes

NCProcesses

Processes class aggregates Process list.

class neural_compressor.ux.utils.processes.NCProcesses

Bases: list

Processes class aggregates Process list.

Provide helper methods to retrieve information about all executed processes.

property is_ok: bool

Property provide information if all executed process during one call executed properly.

:rtype : bool :return: return False if at least one of processes failed, in other case return True

return_code_all() None

Provide list of return codes of all Process.

:rtype : list :return: List of int with process return codes.

remove_successful_logs() None

Remove call logs if all statuses are successful.