pcdsdevices.utils.combine_status_info

pcdsdevices.utils.combine_status_info(obj, status_info, attrs, separator='\n= {attr} =')

Combine status information from the given attributes.

Parameters:
  • obj (OphydObj) – The parent ophyd object.

  • status_info (dict) – The status information dictionary.

  • attrs (sequence of str) – The attribute names.

  • separator (str, optional) – The separator line between the statuses. May be formatted with variables attr, parent, or child.