pcdsdevices.utils.format_status_table
- pcdsdevices.utils.format_status_table(status_info, row_to_key, column_to_key, row_identifier='Index')
Create a PrettyTable based on status information.
- Parameters:
status_info (dict) – The status information dictionary.
row_to_key (dict) – Dictionary of the form
{'display_text': 'status_key'}
.column_to_key (dict) – Dictionary of the form
{'display_text': 'status_key'}
.row_identifier (str, optional) – What to show for the first column, likely an ‘Index’ or ‘Component’.