twinlab.list_emulators_statuses#
- twinlab.list_emulators_statuses(project_name='personal', project_owner=None, verbose=False)[source]#
List the statuses of training and trained emulators in a project, as well as those that have failed to train If no project is specified, the default project is the user’s “personal” project.
This includes the start and end times of training, the status of the emulator, and any error messages if the emulator failed to train.
- Parameters:
project_name (str) – The project for which you would like to list the emulators statuses. This will default to your “personal” project.
project_owner (str, optional) – The email of the owner of the project that you want to list the datasets of.
verbose (bool, optional) – Display information about the operation while running.
- Returns:
Statuses of emulators on the twinLab cloud.
- Return type:
Example
statuses = tl.list_emulators_statuses() print(statuses)
[ { "status": "success", "start_time": "2024-08-20 12:28:05", "end_time": "2024-08-20 12:28:07", "emulator_name": "biscuits", }, { "status": "processing", "start_time": "2024-08-20 12:19:16", "emulator_name": "gardening", }, { "status": "failure", "start_time": "2024-08-06 13:07:06", "end_time": "2024-08-06 13:07:07", "error": "KeyError: DataFrame must contain columns: ['X,y']", "emulator_name": "new-emulator", }, ]