twinlab.Emulator.status#

Emulator.status(process_id, verbose=False)[source]#

Check the status of a training process on the twinLab cloud.

Parameters:
  • process_id (str) – The process ID of the training process to check the status of.

  • verbose (bool, optional) – Display information about the operation while running.

Returns:

A tuple containing the status code and the response body.

Return type:

Tuple[int, dict]

Example

emulator = tl.Emulator("beb7f97f")
emulator.status()
{
    'process_status': 'Your job has finished and is on its way back to you.',
    'process_id': 'beb7f97f',
}