Skip to content

Commit 79d94c8

Browse files
chore: Update docs, tests for DashboardList
1 parent 152f6e8 commit 79d94c8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

grafanalib/core.py

+1
Original file line numberDiff line numberDiff line change
@@ -3934,6 +3934,7 @@ class DashboardList(Panel):
39343934
:param searchQuery: Enter the query you want to search by
39353935
:param searchTags: List of tags you want to search by
39363936
:param overrides: To override the base characteristics of certain data
3937+
:param folderUID: Display dashboards from the specified folder only
39373938
"""
39383939
showHeadings = attr.ib(default=True, validator=instance_of(bool))
39393940
showSearch = attr.ib(default=False, validator=instance_of(bool))

grafanalib/tests/test_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def test_dashboard_list():
506506
assert data['targets'] == []
507507
assert data['datasource'] is None
508508
assert data['title'] == title
509-
assert data['starred'] is True
509+
assert data['options']['showStarred'] is True
510510

511511

512512
def test_logs_panel():

0 commit comments

Comments
 (0)