You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow using non-row panels in dashboard's panels (#684)
As discussed in grafana/grafana#50855 (comment), panels of rows with collapsed=False should be added to the list of panels that contains that row.
Adding non-row panels makes auto_panel_ids() fail with
```
File ".../grafanalib/core.py", line 1751, in auto_panel_ids
ids = set([panel.id for panel in self._iter_panels() if panel.id])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../grafanalib/core.py", line 1731, in _iter_panels
for row_panel in panel._iter_panels():
^^^^^^^^^^^^^^^^^^
AttributeError: 'TimeSeries' object has no attribute '_iter_panels'
```
This change fixes this exception.
0 commit comments