twinlab.Emulator.list_processes_statuses#

Emulator.list_processes_statuses(verbose=False)[source]#

List the status of all processes associated with a given emulator on the twinLab cloud.

This includes the current status of the process, the start time, the end time, and the process ID.

Parameters:

verbose (bool, optional) – Determining level of information returned to the user. Default is False.

Returns:

Dictionary containing all processes associated with the emulator.

Return type:

dict

Example

emulator = tl.Emulator("quickstart")
emulator.list_processes_statuses()
[
    {
        'method': 'sample',
        'process_id': 'sample-four-hungry-wolves',
        'run_time': '0:00:05',
        'start_time': '2024-04-09 17:10:12',
        'status': 'success'
    },
    {
        'method': 'predict',
        'process_id': 'predict-distinct-honey-milk',
        'run_time': '0:00:04',
        'start_time': '2024-04-09 18:45:48',
        'status': 'success'
    },
]