mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-06 12:36:56 +00:00
Bug: TypeError when dashboards field is not present in a workspace response (#10568)
This commit is contained in:
parent
f8ce1a6b75
commit
ffdd911785
@ -141,7 +141,7 @@ class PowerbiSource(DashboardServiceSource):
|
||||
"""
|
||||
Get List of all dashboards
|
||||
"""
|
||||
return self.context.workspace.get("dashboards")
|
||||
return self.context.workspace.get("dashboards", [])
|
||||
|
||||
def get_dashboard_name(self, dashboard: dict) -> str:
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user