Skip to content

Commit

Permalink
chore: Update docs, tests for DashboardList
Browse files Browse the repository at this point in the history
  • Loading branch information
padraic-padraic committed Jul 31, 2024
1 parent 152f6e8 commit 79d94c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions grafanalib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3934,6 +3934,7 @@ class DashboardList(Panel):
:param searchQuery: Enter the query you want to search by
:param searchTags: List of tags you want to search by
:param overrides: To override the base characteristics of certain data
:param folderUID: Display dashboards from the specified folder only
"""
showHeadings = attr.ib(default=True, validator=instance_of(bool))
showSearch = attr.ib(default=False, validator=instance_of(bool))
Expand Down
2 changes: 1 addition & 1 deletion grafanalib/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def test_dashboard_list():
assert data['targets'] == []
assert data['datasource'] is None
assert data['title'] == title
assert data['starred'] is True
assert data['options']['showStarred'] is True


def test_logs_panel():
Expand Down

0 comments on commit 79d94c8

Please sign in to comment.