code: def _cleaned(_dashboard):
      '''Return a copy without fields that can differ.'''
      dashboard = copy.deepcopy(_dashboard)
  
      for ignored_dashboard_field in _IGNORED_DASHBOARD_FIELDS:
          dashboard.pop(ignored_dashboard_field, None)
      for row in dashboard.get('rows', []):
          for ignored_row_field in _IGNORED_ROW_FIELDS:
              row.pop(ignored_row_field, None)
          for i, panel in enumerate(row.get('panels', [])):
              for ignored_panel_field in _IGNORED_PANEL_FIELDS:
                  panel.pop(ignored_panel_field, None)
              for target in panel.get('targets', []):
                  for ignored_target_field in _IGNORED_TARGET_FIELDS:
                      target.pop(ignored_target_field, None)
              row['panels'][i] = _stripped(panel)
  
      return dashboarf _cleaned(_dashboard):
      '''Return a copy without fields that can differ.'''
      dashboard = copy.deepcopy(_dashboard)
  
      for ignored_dashboard_field in _IGNORED_DASHBOARD_FIELDS:
          dashboard.pop(ignored_dashboard_field, None)
      for row in dashboard.get('rows', []):
          for ignored_row_field in _IGNORED_ROW_FIELDS:
              row.pop(ignored_row_field, None)
          for i, panel in enumerate(row.get('panels', [])):
              for ignored_panel_field in _IGNORED_PANEL_FIELDS:
                  panel.pop(ignored_panel_field, None)
              for target in panel.get('targets', []):
                  for ignored_target_field in _IGNORED_TARGET_FIELDS:
                      target.pop(ignored_target_field, None)
              row['panels'][i] = _stripped(panel)
  
      return dashboard
docs: Return a copy without fields that can differ.